Re-opening because of the following issue:
Starting with ICEfaces4 Trunk Jenkins Build #458, showcase application cannot be accessed in any browser because of a server-side exception.
The same error is seen when building QA test applications for the ACE Components:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: String index out of range: -1
javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
root cause
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(String.java:1911)
org.icepush.PushID.<init>(PushID.java:42)
org.icepush.LocalPushGroupManager.newPushID(LocalPushGroupManager.java:661)
org.icepush.LocalPushGroupManager.addMember(LocalPushGroupManager.java:500)
org.icepush.LocalPushGroupManager.addMember(LocalPushGroupManager.java:123)
org.icepush.PushContext.addGroupMember(PushContext.java:131)
org.icefaces.impl.push.SessionViewManager.addView(SessionViewManager.java:51)
org.icefaces.impl.event.BridgeSetup$2.encode(BridgeSetup.java:200)
org.icefaces.impl.event.UIOutputWriter.encodeBegin(UIOutputWriter.java:27)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1854)
com.sun.faces.renderkit.html_basic.BodyRenderer.encodeEnd(BodyRenderer.java:105)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456)
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
Sending core/src/main/java/org/icepush/Browser.java
Sending core/src/main/java/org/icepush/PushID.java
Transmitting file data ..
Committed revision 41534.
Sending eps/src/main/java/com/icesoft/push/PushID.java
Transmitting file data .
Committed revision 38759.
Sending src/main/java/com/icesoft/notify/push/PushID.java
Transmitting file data .
Committed revision 38761.