ICEfaces
  1. ICEfaces
  2. ICE-11004

showcase & poll - mobi:cloudPush demo update required for URI cloudPush API changes

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major 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)
               ......

        Issue Links

          Activity

          Carmen Cristurean created issue -
          Carmen Cristurean made changes -
          Field Original Value New Value
          Fix Version/s EE-4.1.0.GA [ 12171 ]
          Carmen Cristurean made changes -
          Link This issue depends on PUSH-388 [ PUSH-388 ]
          Judy Guglielmin made changes -
          Assignee Jack Van Ooststroom [ jack.van.ooststroom ]
          Hide
          Carmen Cristurean added a comment -

          The poll application from ICEfaces EE4-trunk also requires updates for URI cloudpush API changes.

          Show
          Carmen Cristurean added a comment - The poll application from ICEfaces EE4-trunk also requires updates for URI cloudpush API changes.
          Hide
          Jack Van Ooststroom added a comment -

          Sending src/main/java/org/icefaces/samples/showcase/example/mobi/cloudpush/CloudPushBean.java
          Transmitting file data .
          Committed revision 48632.

          Show
          Jack Van Ooststroom added a comment - Sending src/main/java/org/icefaces/samples/showcase/example/mobi/cloudpush/CloudPushBean.java Transmitting file data . Committed revision 48632.
          Hide
          Jack Van Ooststroom added a comment -

          Fix for Showcase has been successfully tested and committed.

          Show
          Jack Van Ooststroom added a comment - Fix for Showcase has been successfully tested and committed.
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #48632 Fri Apr 15 09:20:43 MDT 2016 jack.van.ooststroom Fixed JIRA ICE-11004 : showcase - mobi:cloudPush demo update required for URI cloudPush API changes
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/cloudpush/CloudPushBean.java
          Hide
          Carmen Cristurean added a comment - - edited

          Verified showcase > cloudPush with IF4 trunk r48632/ EE4-icefaces-trunk r44945, on Chrome50.
          The cloudPush eMail notification works only on ICEfaces4 trunk, that is presumably a known issue.

          Show
          Carmen Cristurean added a comment - - edited Verified showcase > cloudPush with IF4 trunk r48632/ EE4-icefaces-trunk r44945, on Chrome50. The cloudPush eMail notification works only on ICEfaces4 trunk, that is presumably a known issue.
          Hide
          Jack Van Ooststroom added a comment -

          Sending src/main/java/com/icesoft/faces/demo/poll/ParticipantView.java
          Sending src/main/java/com/icesoft/faces/demo/poll/Poll.java
          Sending src/main/java/com/icesoft/faces/demo/poll/PollCollection.java
          Sending src/main/java/com/icesoft/faces/demo/poll/PollMessageService.java
          Transmitting file data ....
          Committed revision 44955.

          Show
          Jack Van Ooststroom added a comment - Sending src/main/java/com/icesoft/faces/demo/poll/ParticipantView.java Sending src/main/java/com/icesoft/faces/demo/poll/Poll.java Sending src/main/java/com/icesoft/faces/demo/poll/PollCollection.java Sending src/main/java/com/icesoft/faces/demo/poll/PollMessageService.java Transmitting file data .... Committed revision 44955.
          Hide
          Jack Van Ooststroom added a comment -

          Fix for Poll has been successfully tested and committed.

          Show
          Jack Van Ooststroom added a comment - Fix for Poll has been successfully tested and committed.
          Jack Van Ooststroom made changes -
          Summary showcase - mobi:cloudPush demo update required for URI cloudPush API changes showcase & poll - mobi:cloudPush demo update required for URI cloudPush API changes
          Hide
          Jack Van Ooststroom added a comment -

          Changed the JIRA's title to include Poll as well. Both fixes have a similar base.

          Show
          Jack Van Ooststroom added a comment - Changed the JIRA's title to include Poll as well. Both fixes have a similar base.
          Ken Fyten made changes -
          Assignee Priority P1 [ 10010 ]
          Ken Fyten made changes -
          Fix Version/s EE-4.1.0.BETA [ 13072 ]
          Ken Fyten made changes -
          Issue Type Bug [ 1 ] Task [ 3 ]
          Ken Fyten made changes -
          Security Private [ 10001 ]
          Ken Fyten made changes -
          Affects Version/s EE-4.1.0.GA [ 12171 ]
          Jack Van Ooststroom made changes -
          Link This issue blocks ICE-10969 [ ICE-10969 ]
          Jack Van Ooststroom made changes -
          Link This issue blocks ICE-10969 [ ICE-10969 ]
          Jack Van Ooststroom made changes -
          Link This issue depends on ICE-10969 [ ICE-10969 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #48703 Fri May 06 09:28:29 MDT 2016 jack.van.ooststroom Fixed JIRA ICE-11004 : Runtime ICEpush dependencies need to be included in samples; First part fix.
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/build.xml
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/build/common.xml
          Commit graph MODIFY /icefaces4/trunk/icefaces/build.properties
          Hide
          Jack Van Ooststroom added a comment -

          As ICE-10969 has been resolved, marking this one as FIXED as well.

          Show
          Jack Van Ooststroom added a comment - As ICE-10969 has been resolved, marking this one as FIXED as well.
          Jack Van Ooststroom made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Carmen Cristurean added a comment -

          EE4 trunk r48703: verified samples built .war files using Ant.

          Show
          Carmen Cristurean added a comment - EE4 trunk r48703: verified samples built .war files using Ant.
          Ken Fyten made changes -
          Fix Version/s EE-4.1.1.BETA [ 13079 ]
          Fix Version/s EE-4.1.0.GA [ 12171 ]
          Fix Version/s EE-4.1.0.RC1 [ 13072 ]
          Ken Fyten made changes -
          Fix Version/s EE-4.1.0.GA [ 12171 ]
          Fix Version/s EE-4.1.1.BETA [ 13079 ]
          Ken Fyten made changes -
          Fix Version/s 4.2.BETA [ 13091 ]
          Fix Version/s 4.2 [ 12870 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #50744 Mon Feb 27 09:34:56 MST 2017 jack.van.ooststroom Reverted ICE-11004 fixes to ICEfaces-layer
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/cloudpush/CloudPushBean.java
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Jack Van Ooststroom
              Reporter:
              Carmen Cristurean
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: