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

NullPointerException in ResourcesSource when acceesing an unexisting xsl file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.6, 4.4.0
    • 4.3.4
    • None
    • None
    • 4.4 M3

      When I export to indesign I get this NPE

      Date:			Thu Aug 13 15:07:13 CEST 2020 (1597324033129)
      Thread:		http-nio-8080-exec-7
      Message #:	10225
      Level:		ERROR
      NDC:			
      Category:	org.ametys.core.cocoon.source.ResourceSource
      Message:		An error occurred while accessing info for resource org/ametys/plugins/odf/stylesheets/indesign/program2indesign.xsl
      Location:	org.ametys.core.cocoon.source.ResourceSource.getInfos(ResourceSource.java:130)
      Thrown:
      java.lang.NullPointerException
      	at org.ametys.core.cocoon.source.ResourceSource.getInfos(ResourceSource.java:93)
      	at org.apache.excalibur.source.impl.AbstractSource.checkInfos(AbstractSource.java:62)
      	at org.apache.excalibur.source.impl.AbstractSource.getLastModified(AbstractSource.java:144)
      	at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor._resolve(ThreadSafeTraxProcessor.java:695)
      	at org.ametys.runtime.cocoon.ThreadSafeTraxProcessor$CachedTemplates.resolve(ThreadSafeTraxProcessor.java:808)
      	at org.apache.xalan.processor.ProcessorInclude.getSourceFromUriResolver(ProcessorInclude.java:356)
      	at org.apache.xalan.processor.ProcessorInclude.startElement(ProcessorInclude.java:135)
      	at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:623)
      	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      	at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315)
      

            cedric Cédric Damioli
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: