atom feed4 messages in net.sourceforge.lists.saxon-help[saxon] NPE in TransformerFactory.new...
FromSent OnAttachments
Dannes WesselsNov 16, 2009 11:23 am 
Dannes WesselsNov 18, 2009 1:12 pm 
Michael KayNov 18, 2009 2:03 pm 
Nigel WhitakerNov 20, 2009 5:00 am 
Subject:[saxon] NPE in TransformerFactory.newInstance()
From:Dannes Wessels (diz@exist-db.org)
Date:Nov 16, 2009 11:23:45 am
List:net.sourceforge.lists.saxon-help

Hi,

I replaced my older saxon.jar with the newer saxon9he.jar (drop-in replacement)
but this yields into a NPE.... The root cause seems to be "Failed to load
configuration defined in edition.properties".

Any idea what is happening?

regards Dannes

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(Unknown Source) at javax.xml.transform.FactoryFinder.findJarServiceProvider(Unknown Source) at javax.xml.transform.FactoryFinder.find(Unknown Source) at javax.xml.transform.TransformerFactory.newInstance(Unknown Source) ...... java.lang.reflect.InvocationTargetException 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) ....... Caused by: 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(Unknown Source) at javax.xml.transform.FactoryFinder.findJarServiceProvider(Unknown Source) at javax.xml.transform.FactoryFinder.find(Unknown Source) at javax.xml.transform.TransformerFactory.newInstance(Unknown Source) ....... ... 7 more Caused by: java.lang.RuntimeException: Failed to load configuration defined in
edition.properties at net.sf.saxon.Configuration.<clinit>(Configuration.java:277) ... 22 more Caused by: java.lang.NullPointerException at net.sf.saxon.Configuration.<clinit>(Configuration.java:231) ... 22 more

------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july