Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4570

FacesJSResourceLoader.getResourceInputStream NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-RC5
    • 4.0.0
    • General
    • None

    Description

      The following NPE occurs in the Faces TCK: https://github.com/jakartaee/faces/blob/master/tck/old-tck/source/src/com/sun/ts/tests/jsf/spec/resource/packaging/classpath/TestServlet.java#L56

      [javatest.batch] java.lang.NullPointerException
      [javatest.batch]     at org.apache.myfaces.resource.FacesJSResourceLoader.getResourceInputStream(FacesJSResourceLoader.java:98)
      [javatest.batch]     at org.apache.myfaces.resource.ResourceImpl.getInputStream(ResourceImpl.java:92)
      [javatest.batch]     at com.sun.ts.tests.jsf.spec.resource.common.util.ResourceChecker.checkIndentifier(ResourceChecker.java:57)
      [javatest.batch]     at com.sun.ts.tests.jsf.spec.resource.common.util.ResourceChecker.checkIndentifier(ResourceChecker.java:119)
      [javatest.batch]     at com.sun.ts.tests.jsf.spec.resource.packaging.classpath.TestServlet.resourceClassPathResPkgTest(TestServlet.java:60)
                          ... 

      Attachments

        Issue Links

          Activity

            People

              paul.nicolucci Paul Nicolucci
              paul.nicolucci Paul Nicolucci
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: