Skip to content

Exceptions while running 'xalan' on DaCapo 9.12 #4

Description

@sridhargopinath

Hi,

I am trying to analyze the 'xalan' program from the dacapo-9.12-bach benchmark using Tamiflex 2.0.3, soot-trunk and java-8.

The play-out agent runs successfully and I pass the emitted class files through Soot where the class files are not modified at all. But when I run the play-in agent, I run into the following exception.
java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.dacapo.harness.TestHarness.runBenchmark(TestHarness.java:211) at org.dacapo.harness.TestHarness.main(TestHarness.java:171) at Harness.main(Harness.java:17) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.dacapo.harness.Xalan.<init>(Xalan.java:38) ... 7 more Caused by: java.lang.IllegalAccessError: tried to access class javax.xml.parsers.FactoryFinder$1 from class javax.xml.parsers.FactoryFinder at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127) at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:885) at org.dacapo.xalan.XSLTBench.<init>(XSLTBench.java:165) ... 12 more

Can you please let me know what I should do to handle this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions