Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminoralways2020-03-20 13:542020-03-26 13:18
ReporterguillermogilView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version3.0PR19Q4.4
OSAnyDatabaseAnyJava version>=9
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0043592: jrxml translate build step fails if using jasperreport.dtd

DescriptionWhen 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] null
     [java] at<init>( ~[?:?]
     [java] at<init>( ~[?:?]
     [java] at<init>( ~[?:?]
     [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( [openbravo-trl.jar:?]
     [java] at org.openbravo.translate.Translate$1.visitFile( [openbravo-trl.jar:?]
     [java] at org.openbravo.translate.Translate$1.visitFile( [openbravo-trl.jar:?]
     [java] at java.nio.file.Files.walkFileTree( [?:?]
     [java] at java.nio.file.Files.walkFileTree( [?:?]
     [java] at org.openbravo.translate.Translate.execute( [openbravo-trl.jar:?]
     [java] at org.openbravo.translate.Translate.main( [openbravo-trl.jar:?]
     [java] Caused by: java.lang.NullPointerException
     [java] at<init>( ~[?:?]
     [java] ... 19 more
Steps To Reproduce1. Add to C_Order.jrxml the following:
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" ""> [^]
2. Set core module in development
3. run ant smartbuild (sing JDK 11)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0043532 scheduledalostale jrxml translate build step fails if using jasperreport.dtd 

-  Notes
There are no notes attached to this issue.

- 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

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker