Project:
View Revisions: Issue #43532 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0043532: jrxml translate build step fails if using jasperreport.dtd | ||
Revision | 2020-03-26 12:07 by alostale | ||
Description | When a jrxml file makes use of jasperreport.dtd, translate build step fails executing with JDK 9+: Compilation fails in case of an external dtd is used on a JRXML file: [java] 1770 [main] ERROR org.openbravo.translate.Translate - file: /XX/XX/XX/XX.jrxml [java] java.net.MalformedURLException: null [java] at java.net.URL.<init>(URL.java:679) ~[?:?] [java] at java.net.URL.<init>(URL.java:541) ~[?:?] [java] at java.net.URL.<init>(URL.java:488) ~[?:?] [java] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.openbravo.translate.Translate.parseFile(Translate.java:251) [openbravo-trl.jar:?] [java] at org.openbravo.translate.Translate$1.visitFile(Translate.java:219) [openbravo-trl.jar:?] [java] at org.openbravo.translate.Translate$1.visitFile(Translate.java:208) [openbravo-trl.jar:?] [java] at java.nio.file.Files.walkFileTree(Files.java:2724) [?:?] [java] at java.nio.file.Files.walkFileTree(Files.java:2796) [?:?] [java] at org.openbravo.translate.Translate.execute(Translate.java:208) [openbravo-trl.jar:?] [java] at org.openbravo.translate.Translate.main(Translate.java:166) [openbravo-trl.jar:?] [java] Caused by: java.lang.NullPointerException [java] at java.net.URL.<init>(URL.java:585) ~[?:?] [java] ... 19 more |
||
Revision | 2020-03-26 12:06 by alostale | ||
Description | When a jrxml file makes use of jasperreport.dtd, translate build step fails: Compilation fails in case of an external dtd is used on a JRXML file: [java] 1770 [main] ERROR org.openbravo.translate.Translate - file: /XX/XX/XX/XX.jrxml [java] java.net.MalformedURLException: null [java] at java.net.URL.<init>(URL.java:679) ~[?:?] [java] at java.net.URL.<init>(URL.java:541) ~[?:?] [java] at java.net.URL.<init>(URL.java:488) ~[?:?] [java] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.openbravo.translate.Translate.parseFile(Translate.java:251) [openbravo-trl.jar:?] [java] at org.openbravo.translate.Translate$1.visitFile(Translate.java:219) [openbravo-trl.jar:?] [java] at org.openbravo.translate.Translate$1.visitFile(Translate.java:208) [openbravo-trl.jar:?] [java] at java.nio.file.Files.walkFileTree(Files.java:2724) [?:?] [java] at java.nio.file.Files.walkFileTree(Files.java:2796) [?:?] [java] at org.openbravo.translate.Translate.execute(Translate.java:208) [openbravo-trl.jar:?] [java] at org.openbravo.translate.Translate.main(Translate.java:166) [openbravo-trl.jar:?] [java] Caused by: java.lang.NullPointerException [java] at java.net.URL.<init>(URL.java:585) ~[?:?] [java] ... 19 more |
||
Revision | 2020-03-25 13:13 by alostale | ||
Description | Compilation fails in case of an external dtd is used on a JRXML file: [java] 1770 [main] ERROR org.openbravo.translate.Translate - file: /XX/XX/XX/XX.jrxml [java] java.net.MalformedURLException: null [java] at java.net.URL.<init>(URL.java:679) ~[?:?] [java] at java.net.URL.<init>(URL.java:541) ~[?:?] [java] at java.net.URL.<init>(URL.java:488) ~[?:?] [java] at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl.jar:?] [java] at org.openbravo.translate.Translate.parseFile(Translate.java:251) [openbravo-trl.jar:?] [java] at org.openbravo.translate.Translate$1.visitFile(Translate.java:219) [openbravo-trl.jar:?] [java] at org.openbravo.translate.Translate$1.visitFile(Translate.java:208) [openbravo-trl.jar:?] [java] at java.nio.file.Files.walkFileTree(Files.java:2724) [?:?] [java] at java.nio.file.Files.walkFileTree(Files.java:2796) [?:?] [java] at org.openbravo.translate.Translate.execute(Translate.java:208) [openbravo-trl.jar:?] [java] at org.openbravo.translate.Translate.main(Translate.java:166) [openbravo-trl.jar:?] [java] Caused by: java.lang.NullPointerException [java] at java.net.URL.<init>(URL.java:585) ~[?:?] [java] ... 19 more |
Copyright © 2000 - 2009 MantisBT Group |