Error (Parser does not support specificatoin null version null) while generating a jasper report

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

We have a JAVA Application (Oracle ADF) that runs under Weblogic server version 12.1.2.4

This application contains reporting functionality where dynamic reports are being constructed and generated in PDF using jasper report.

IMPORTANT NOTE

We are not using JASPER SERVER deployed on weblogic.
Inside the app we have included the jasper report client jar (JasperReports® Library CE - latest version v6.19.1) inside it.

 

The application works well in Weblogic 12.1.3 .

On the other hand, we are migrating to Weblogic 12.2.1.4 we started getting the below error whenever we try to generate a jasper report.

As seen below, the error is at the level of the RegistrySaxParser class at the level of weblogic server.

This class is invoked by apache common digester (Version 2) which is used by Jasper.

 

Here is the error:

java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"> 

Here is the stack:

 <java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"> 

java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"

at javax.xml.parsers.SAXParserFactory.setSchema(SAXParserFactory.java:394)

at weblogic.xml.jaxp.RegistrySAXParserFactory.setSchema(RegistrySAXParserFactory.java:224)

at org.apache.commons.digester.Digester.getFactory(Digester.java:541)

at org.apache.commons.digester.Digester.setFeature(Digester.java:595)

at net.sf.jasperreports.engine.xml.JRXmlTemplateDigesterFactory.configureDigester(JRXmlTemplateDigesterFactory.java:163)

at net.sf.jasperreports.engine.xml.JRXmlTemplateDigesterFactory.createDigester(JRXmlTemplateDigesterFactory.java:131)

at net.sf.jasperreports.engine.xml.JRXmlTemplateLoader.loadTemplate(JRXmlTemplateLoader.java:203)

at net.sf.jasperreports.engine.xml.JRXmlTemplateLoader.load(JRXmlTemplateLoader.java:256)

at net.sf.jasperreports.engine.xml.JRXmlTemplateLoader.loadTemplate(JRXmlTemplateLoader.java:114)

at net.sf.jasperreports.engine.fill.JRFillReportTemplate.loadTemplate(JRFillReportTemplate.java:138)

at net.sf.jasperreports.engine.fill.JRFillReportTemplate.evaluate(JRFillReportTemplate.java:93)

at net.sf.jasperreports.engine.fill.JRBaseFiller.collectTemplates(JRBaseFiller.java:790)

at net.sf.jasperreports.engine.fill.JRBaseFiller.collectTemplateStyles(JRBaseFiller.java:816)

at net.sf.jasperreports.engine.fill.JRBaseFiller.collectStyles(JRBaseFiller.java:761)

at net.sf.jasperreports.engine.fill.JRBaseFiller.loadStyles(JRBaseFiller.java:708)

at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:589)

at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:433)

at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:162)

at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:145)

at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:758)

at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:1074)

at

OUR_PACKAGES_HERE.JasperReportUtils.convertJaspertReport(JasperReportUtils.java:468)

 

Have anyone faced a similar issue, are there any suggestion?

elio.khattar's picture
Joined: May 20 2022 - 10:11am
Last seen: 1 month 6 days ago

0 Answers:

No answers yet
Feedback
randomness