ICEfaces
  1. ICEfaces
  2. ICE-8519

NPE thrown when running showcase or component-showcase with Mojarra > 2.1.9

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      JSF
    • Affects:
      Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Mojarra 2.1.3-2.1.6 is supported.

      Description

      An NPE is thrown when running showcase or component-showcase with Mojarra greater or equal to 2.1.11. The exception seems to be caused by a change in behaviour of how resources are looked up in the class path.

      component-showcase:


      java.lang.NullPointerException
      at com.icesoft.faces.component.inputrichtext.InputRichTextResourceHandler.calculateExtensionMapping(InputRichTextResourceHandler.java:95)
      at com.icesoft.faces.component.inputrichtext.InputRichTextResourceHandler.access$100(InputRichTextResourceHandler.java:37)
      at com.icesoft.faces.component.inputrichtext.InputRichTextResourceHandler$1.processEvent(InputRichTextResourceHandler.java:76)
      at javax.faces.event.SystemEvent.processListener(SystemEvent.java:108)
      at javax.faces.event.ComponentSystemEvent.processListener(ComponentSystemEvent.java:119)
      at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2198)
      at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2174)
      at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302)
      at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:246)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:642)

      showcase:


      java.lang.NullPointerException
      at org.icefaces.ace.component.richtextentry.RichTextEntryResourceHandler.calculateExtensionMapping(RichTextEntryResourceHandler.java:97)
      at org.icefaces.ace.component.richtextentry.RichTextEntryResourceHandler.access$200(RichTextEntryResourceHandler.java:37)
      at org.icefaces.ace.component.richtextentry.RichTextEntryResourceHandler$1.processEvent(RichTextEntryResourceHandler.java:78)
      at javax.faces.event.SystemEvent.processListener(SystemEvent.java:108)
      at javax.faces.event.ComponentSystemEvent.processListener(ComponentSystemEvent.java:119)
      at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2198)
      at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2174)
      at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:302)
      at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:246)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:642)

        Activity

        Mircea Toma created issue -
        Mircea Toma made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Salesforce Case []
        Assignee Priority P2
        Ken Fyten made changes -
        Salesforce Case []
        Affects [Compatibility/Configuration]
        Assignee Priority P2 P1
        Ken Fyten made changes -
        Workaround Description Mojarra 2.1.3-2.1.6 is supported.
        Workaround Exists [Yes]
        Salesforce Case []
        Mircea Toma made changes -
        Summary NPE thrown when running showcase or component-showcase with Mojarra > 2.1.11 NPE thrown when running showcase or component-showcase with Mojarra > 2.1.9
        Salesforce Case []
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1 [ 10010 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: