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

        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.
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: