Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1017 Failed to load configuration defined in edition.properties

v9.2
closed
Michael Kay
None
5
2015-01-03
2009-12-07
No

While trying to run Saxon 9.2.03 as XSL processor in Eclipse I get:

java.lang.NullPointerException
at net.sf.saxon.Configuration.<clinit>(Configuration.java:231)
at net.sf.saxon.TransformerFactoryImpl.<init>(TransformerFactoryImpl.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:147)
at javax.xml.transform.FactoryFinder.find(FactoryFinder.java:187)
at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:102)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.createTransformerFactory(JAXPSAXProcessorInvoker.java:92)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.setAttributes(JAXPSAXProcessorInvoker.java:79)
at org.eclipse.wst.xsl.jaxp.debug.invoker.PipelineDefinition.configure(PipelineDefinition.java:137)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:72)
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.sf.saxon.TransformerFactoryImpl.<init>(TransformerFactoryImpl.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:147)
at javax.xml.transform.FactoryFinder.find(FactoryFinder.java:187)
at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:102)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.createTransformerFactory(JAXPSAXProcessorInvoker.java:92)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.JAXPSAXProcessorInvoker.setAttributes(JAXPSAXProcessorInvoker.java:79)
at org.eclipse.wst.xsl.jaxp.debug.invoker.PipelineDefinition.configure(PipelineDefinition.java:137)
at org.eclipse.wst.xsl.jaxp.debug.invoker.internal.Main.main(Main.java:72)
Caused by: java.lang.RuntimeException: Failed to load configuration defined in edition.properties
at net.sf.saxon.Configuration.<clinit>(Configuration.java:277)
... 14 more
Caused by: java.lang.NullPointerException
at net.sf.saxon.Configuration.<clinit>(Configuration.java:231)
... 14 more

Discussion

  • Michael Kay
    Michael Kay
    2009-12-10

    Please don't raise support questions on this tracker. The correct place is the saxon-help forum or mailing list. This tracker is for confirmed bugs only - I want to make it so that people can easily search for known bugs without wading through reams of discussion of general support issues. Also, you will get a faster response, as I don't get automatically alerted to entries here.

    This looks like a fairly complex issue relating to the unusual class loader structure in Eclipse. I'm going to mark it invalid: please raise it again on saxon-help so that we can discuss it.