Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0043532 | Openbravo ERP | A. Platform | public | 2020-03-20 13:54 | 2020-04-06 15:49 | |||||||||||||||||||||
Reporter | guillermogil | |||||||||||||||||||||||||
Assigned To | alostale | |||||||||||||||||||||||||
Priority | high | Severity | minor | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | 3.0PR20Q2 | ||||||||||||||||||||||||
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 | 0043532: 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 | 43532.diff (846) 2020-03-25 13:11 https://issues.openbravo.com/file_download.php?file_id=14209&type=bug | |||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2020-03-20 13:54 | guillermogil | New Issue | ||||||||||||||||||||||||
2020-03-20 13:54 | guillermogil | Assigned To | => platform | |||||||||||||||||||||||
2020-03-20 13:54 | guillermogil | Modules | => Core | |||||||||||||||||||||||
2020-03-20 13:54 | guillermogil | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2020-03-20 13:55 | alostale | Severity | major => minor | |||||||||||||||||||||||
2020-03-20 13:55 | alostale | Type | feature request => defect | |||||||||||||||||||||||
2020-03-20 13:55 | alostale | Status | new => acknowledged | |||||||||||||||||||||||
2020-03-25 12:52 | shuehner | Note Added: 0118797 | ||||||||||||||||||||||||
2020-03-25 12:59 | shuehner | Note Added: 0118798 | ||||||||||||||||||||||||
2020-03-25 13:11 | shuehner | File Added: 43532.diff | ||||||||||||||||||||||||
2020-03-25 13:13 | shuehner | Note Added: 0118799 | ||||||||||||||||||||||||
2020-03-26 12:01 | alostale | Relationship added | blocks 0037083 | |||||||||||||||||||||||
2020-03-26 12:06 | alostale | Summary | Compilation fails in case of an external dtd is used => jrxml translate build step fails if using jasperreport.dtd | |||||||||||||||||||||||
2020-03-26 12:06 | alostale | Description Updated | bug_revision_view_page.php?rev_id=20630#r20630 | |||||||||||||||||||||||
2020-03-26 12:06 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=20632#r20632 | |||||||||||||||||||||||
2020-03-26 12:06 | alostale | Proposed Solution updated | ||||||||||||||||||||||||
2020-03-26 12:07 | alostale | Description Updated | bug_revision_view_page.php?rev_id=20633#r20633 | |||||||||||||||||||||||
2020-03-26 12:07 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=20634#r20634 | |||||||||||||||||||||||
2020-03-26 12:07 | alostale | Proposed Solution updated | ||||||||||||||||||||||||
2020-03-26 12:07 | alostale | Assigned To | platform => alostale | |||||||||||||||||||||||
2020-03-26 12:48 | alostale | Review Assigned To | => caristu | |||||||||||||||||||||||
2020-03-26 13:18 | alostale | Status | acknowledged => scheduled | |||||||||||||||||||||||
2020-03-30 10:18 | hgbot | Checkin | ||||||||||||||||||||||||
2020-03-30 10:18 | hgbot | Note Added: 0118863 | ||||||||||||||||||||||||
2020-03-30 10:18 | hgbot | Checkin | ||||||||||||||||||||||||
2020-03-30 10:18 | hgbot | Note Added: 0118864 | ||||||||||||||||||||||||
2020-03-30 10:18 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2020-03-30 10:18 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2020-03-30 10:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0ef412c29220602f3c9286809981bb24d2aa76d9 [^] | |||||||||||||||||||||||
2020-04-02 08:47 | caristu | Note Added: 0118911 | ||||||||||||||||||||||||
2020-04-02 08:47 | caristu | Status | resolved => closed | |||||||||||||||||||||||
2020-04-02 08:47 | caristu | Fixed in Version | => 3.0PR20Q2 | |||||||||||||||||||||||
2020-04-06 11:54 | hgbot | Checkin | ||||||||||||||||||||||||
2020-04-06 11:54 | hgbot | Note Added: 0118977 | ||||||||||||||||||||||||
2020-04-06 11:54 | hgbot | Checkin | ||||||||||||||||||||||||
2020-04-06 11:54 | hgbot | Note Added: 0118978 | ||||||||||||||||||||||||
2020-04-06 11:54 | hgbot | Status | closed => resolved | |||||||||||||||||||||||
2020-04-06 11:54 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/0ef412c29220602f3c9286809981bb24d2aa76d9 [^] => http://code.openbravo.com/erp/devel/pi/rev/db6cf35ac8a53ed2514bdf3cec0cee1687ab4cd4 [^] | |||||||||||||||||||||||
2020-04-06 15:49 | cberner | Note Added: 0118992 | ||||||||||||||||||||||||
2020-04-06 15:49 | cberner | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|