Link to home
Start Free TrialLog in
Avatar of Fionageo80
Fionageo80

asked on

setXIncludeAware Error This parser does not support specification "null" version "null"

I am running my Test Unit Case where I generate some pdfs and when it tries to read them I get the following error.

Is it a problem with Java version? how can I solve it?

Thank you
java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
	at javax.xml.parsers.SAXParserFactory.setXIncludeAware(SAXParserFactory.java:448)
	at org.apache.commons.digester.Digester.getFactory(Digester.java:534)
	at org.apache.commons.digester.Digester.setFeature(Digester.java:590)
	at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.configureDigester(JRXmlDigesterFactory.java:175)
	at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:981)
	at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:203)
	at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:168)
	at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)
	at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:150)
	at ni.test.Test.testFile(testFile.java:44)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of samalraj
samalraj
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Fionageo80
Fionageo80

ASKER

Thank you