ICEfaces
  1. ICEfaces
  2. ICE-8958

showcase - source code loading issues

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2, EE-3.2.0.BETA
    • Fix Version/s: EE-3.2.0.GA, 3.3
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces EE 3.2.0.GA - Build 10/ 11
      App Server: WebLogic 10.3 / 12.1
      Browsers: FF18/Chrome24
    • Assignee Priority:
      P2

      Description

      In showcase:
      1) ContextMenu - Multi Column & 2) Dialog - Effects and Size:
      randomly, when clicking on these links there is a NullPointerException thrown in the server terminal (cannot find it in the actual server logs), and the Source Code is not loaded:
      java.lang.NullPointerException
              at java.io.File.<init>(File.java:222)
              at org.icefaces.samples.showcase.util.SourceCodeLoaderServlet.doGet(SourceCodeLoaderServlet.java:58)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
              at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
              at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
      ....

        Activity

        Carmen Cristurean created issue -
        Carmen Cristurean made changes -
        Field Original Value New Value
        Description In showcase:
        ContextMenu - Multi Column & Dialog - Effects and Size:
        randomly, when clicking on these links there is a NullPointerException thrown in the server terminal (cannot find it in the actual server logs):
        java.lang.NullPointerException
                at java.io.File.<init>(File.java:222)
                at org.icefaces.samples.showcase.util.SourceCodeLoaderServlet.doGet(SourceCodeLoaderServlet.java:58)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
        ....
        In showcase:
        1) ContextMenu - Multi Column & 2) Dialog - Effects and Size:

        randomly, when clicking on these links there is a NullPointerException thrown in the server terminal (cannot find it in the actual server logs):
        java.lang.NullPointerException
                at java.io.File.<init>(File.java:222)
                at org.icefaces.samples.showcase.util.SourceCodeLoaderServlet.doGet(SourceCodeLoaderServlet.java:58)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
        ....
        Carmen Cristurean made changes -
        Environment ICEfaces EE 3.2.0.GA - Build 10/ 11
        App Server: WebLogic 10.3 / 12.1 / Tomcat7
        Browsers: FF18/Chrome24
        ICEfaces EE 3.2.0.GA - Build 10/ 11
        App Server: WebLogic 10.3 / 12.1
        Browsers: FF18/Chrome24
        Carmen Cristurean made changes -
        Description In showcase:
        1) ContextMenu - Multi Column & 2) Dialog - Effects and Size:

        randomly, when clicking on these links there is a NullPointerException thrown in the server terminal (cannot find it in the actual server logs):
        java.lang.NullPointerException
                at java.io.File.<init>(File.java:222)
                at org.icefaces.samples.showcase.util.SourceCodeLoaderServlet.doGet(SourceCodeLoaderServlet.java:58)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
        ....
        In showcase:
        1) ContextMenu - Multi Column & 2) Dialog - Effects and Size:
        randomly, when clicking on these links there is a NullPointerException thrown in the server terminal (cannot find it in the actual server logs), and the Source Code is not loaded:
        java.lang.NullPointerException
                at java.io.File.<init>(File.java:222)
                at org.icefaces.samples.showcase.util.SourceCodeLoaderServlet.doGet(SourceCodeLoaderServlet.java:58)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
        ....
        Carmen Cristurean made changes -
        Attachment weblogic10_12-showcase.png [ 15414 ]
        Hide
        Ken Fyten added a comment -

        There must be something special about the URL or the way the source files are specified in these 2 demos, as this issue only affects these demos, and only on older EE5 servers.

        Show
        Ken Fyten added a comment - There must be something special about the URL or the way the source files are specified in these 2 demos, as this issue only affects these demos, and only on older EE5 servers.
        Ken Fyten made changes -
        Fix Version/s EE-3.2.0.GA [ 10332 ]
        Assignee Arturo Zambrano [ artzambrano ]
        Affects Version/s EE-3.2.0.BETA [ 10573 ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33327 Tue Feb 05 10:06:19 MST 2013 art.zambrano ICE-8958 corrected letter case in resource paths
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/contextMenu/ContextMenuMultiColumn.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/dialog/DialogEffectsAndSizeBean.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #33329 Tue Feb 05 10:10:52 MST 2013 art.zambrano ICE-8958 corrected letter case in resource paths
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/dialog/DialogEffectsAndSizeBean.java
        Hide
        Arturo Zambrano added a comment -

        Committed fix to the 3.2 EE tag at revision 33326 and to the trunk at revision 33327.

        It was just necessary to correct the letter case in the resource annotations, so that the right resources could be found.

        Show
        Arturo Zambrano added a comment - Committed fix to the 3.2 EE tag at revision 33326 and to the trunk at revision 33327. It was just necessary to correct the letter case in the resource annotations, so that the right resources could be found.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Fix Version/s 3.3 [ 10370 ]
        Affects Version/s 3.2 [ 10338 ]
        Hide
        Carmen Cristurean added a comment -

        Verified fix with EE-3.2 Build 13, in FF18 on Weblogic 10.3 & Weblogic 12.1.

        Show
        Carmen Cristurean added a comment - Verified fix with EE-3.2 Build 13, in FF18 on Weblogic 10.3 & Weblogic 12.1.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: