Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: EE-4.1.0.GA, 4.2.BETA, 4.2
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces4 trunk r48623
Browsers: all
Server: Tomcat7/8
-
Assignee Priority:P1
Description
showcase > mobi:cloudPush:
Demo requires updates, as server errors occur when enabling cloudPush (desktop and mobile).
13-Apr-2016 10:29:52.130 SEVERE [http-apr-8080-exec-5] com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError java.lang.IllegalArgumentException: Illegal argument targetURI: 'null'. Argument cannot be null.
at org.icesoft.util.PreCondition.checkArgument(PreCondition.java:44)
at org.icefaces.application.PushMessage.setTargetURI(PushMessage.java:79)
at org.icefaces.application.PushMessage.<init>(PushMessage.java:38)
at org.icefaces.samples.showcase.example.mobi.cloudpush.CloudPushBean.sendPriorityPushMessage(CloudPushBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.el.parser.AstValue.invoke(AstValue.java:245)
....
13-Apr-2016 10:30:48.203 WARNING [http-apr-8080-exec-9] com.sun.faces.lifecycle.
InvokeApplicationPhase.execute /resources/examples/mobi/cloudpush/cloudpush-example.xhtml @106,100 actionListener="#{cloudPushBean.sendPriorityPushMessage}": java.lang.IllegalArgumentException: Illegal argument targetURI: 'null'. Argumentcannot be null.
javax.el.ELException: /resources/examples/mobi/cloudpush/cloudpush-example.xhtml @106,100 actionListener="#{cloudPushBean.sendPriorityPushMessage}":java.lang.IllegalArgumentException: Illegal argument targetURI: 'null'. Argument cannot be null.
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:111)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:147)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:814)
at javax.faces.component.UICommand.broadcast(UICommand.java:300)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
...........
Caused by: java.lang.IllegalArgumentException: Illegal argument targetURI: 'null'. Argument cannot be null.
at org.icesoft.util.PreCondition.checkArgument(PreCondition.java:44)
at org.icefaces.application.PushMessage.setTargetURI(PushMessage.java:79)
at org.icefaces.application.PushMessage.<init>(PushMessage.java:38)
at org.icefaces.samples.showcase.example.mobi.cloudpush.CloudPushBean.sendPriorityPushMessage(CloudPushBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
......
Demo requires updates, as server errors occur when enabling cloudPush (desktop and mobile).
13-Apr-2016 10:29:52.130 SEVERE [http-apr-8080-exec-5] com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError java.lang.IllegalArgumentException: Illegal argument targetURI: 'null'. Argument cannot be null.
at org.icesoft.util.PreCondition.checkArgument(PreCondition.java:44)
at org.icefaces.application.PushMessage.setTargetURI(PushMessage.java:79)
at org.icefaces.application.PushMessage.<init>(PushMessage.java:38)
at org.icefaces.samples.showcase.example.mobi.cloudpush.CloudPushBean.sendPriorityPushMessage(CloudPushBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.el.parser.AstValue.invoke(AstValue.java:245)
....
13-Apr-2016 10:30:48.203 WARNING [http-apr-8080-exec-9] com.sun.faces.lifecycle.
InvokeApplicationPhase.execute /resources/examples/mobi/cloudpush/cloudpush-example.xhtml @106,100 actionListener="#{cloudPushBean.sendPriorityPushMessage}": java.lang.IllegalArgumentException: Illegal argument targetURI: 'null'. Argumentcannot be null.
javax.el.ELException: /resources/examples/mobi/cloudpush/cloudpush-example.xhtml @106,100 actionListener="#{cloudPushBean.sendPriorityPushMessage}":java.lang.IllegalArgumentException: Illegal argument targetURI: 'null'. Argument cannot be null.
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:111)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:147)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:814)
at javax.faces.component.UICommand.broadcast(UICommand.java:300)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
...........
Caused by: java.lang.IllegalArgumentException: Illegal argument targetURI: 'null'. Argument cannot be null.
at org.icesoft.util.PreCondition.checkArgument(PreCondition.java:44)
at org.icefaces.application.PushMessage.setTargetURI(PushMessage.java:79)
at org.icefaces.application.PushMessage.<init>(PushMessage.java:38)
at org.icefaces.samples.showcase.example.mobi.cloudpush.CloudPushBean.sendPriorityPushMessage(CloudPushBean.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
......
The poll application from ICEfaces EE4-trunk also requires updates for URI cloudpush API changes.