Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1887

Under Windows, when resources are in jar, NPE in ResourceSource

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M5
    • None
    • None
    • None

      java.lang.NullPointerException
      	at org.ametys.core.cocoon.source.ResourceSource.getInfos(ResourceSource.java:109)
      	at org.apache.excalibur.source.impl.AbstractSource.checkInfos(AbstractSource.java:62)
      	at org.apache.excalibur.source.impl.AbstractSource.getLastModified(AbstractSource.java:144)
      

      Seems to be due to a path with '/' and '\'. Ok for the test in getClassLoader().getResource(_path); but ko with ZipEntry

            Unassigned Unassigned
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: