Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0043592 | Openbravo ERP | A. Platform | public | 2020-03-20 13:54 | 2020-04-02 08:46 | |||||||
Reporter | guillermogil | |||||||||||
Assigned To | alostale | |||||||||||
Priority | high | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR19Q4.4 | Fixed in Version | 3.0PR19Q4.4 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0043592: jrxml translate build step fails if using jasperreport.dtd | |||||||||||
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 | |||||||||||
Steps To Reproduce | 1. Add to C_Order.jrxml the following: <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> [^] 2. Set core module in development 3. run ant smartbuild (sing JDK 11) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-03-26 13:18 | alostale | Type | defect => backport | |||||||||
2020-03-26 13:18 | alostale | Target Version | => 3.0PR19Q4.4 | |||||||||
2020-03-30 10:28 | hgbot | Checkin | ||||||||||
2020-03-30 10:28 | hgbot | Note Added: 0118866 | ||||||||||
2020-03-30 10:28 | hgbot | Status | scheduled => resolved | |||||||||
2020-03-30 10:28 | hgbot | Resolution | open => fixed | |||||||||
2020-03-30 10:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q4.4/rev/084e45e1daf7976ace52d5b96f7577e14fe6f8aa [^] | |||||||||
2020-04-02 08:46 | caristu | Note Added: 0118910 | ||||||||||
2020-04-02 08:46 | caristu | Status | resolved => closed | |||||||||
2020-04-02 08:46 | caristu | Fixed in Version | => 3.0PR19Q4.4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|