atom feed11 messages in net.sourceforge.lists.exist-openRe: [Exist-open] Using SaxonHE 9.3.0.2
FromSent OnAttachments
Andrew WelchFeb 9, 2011 8:58 am 
Dmitriy ShabanovFeb 9, 2011 9:30 am 
Andrew WelchFeb 10, 2011 1:43 am 
Andrew WelchFeb 10, 2011 2:34 am 
Dannes WesselsFeb 10, 2011 4:02 am 
Dannes WesselsFeb 10, 2011 4:04 am 
Andrew WelchFeb 10, 2011 5:04 am 
Dannes WesselsFeb 10, 2011 5:56 am 
Andrew WelchFeb 10, 2011 6:00 am 
Dannes WesselsFeb 10, 2011 10:16 am 
Andrew WelchFeb 10, 2011 10:41 am 
Subject:Re: [Exist-open] Using SaxonHE 9.3.0.2
From:Andrew Welch (andr@gmail.com)
Date:Feb 10, 2011 2:34:31 am
List:net.sourceforge.lists.exist-open

I've just tried Saxon 9.2.1.1 and 9.2.0.6, both fail with:

Using locale: en_GB.UTF-8 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) at
org.exist.validation.XmlLibraryChecker.determineActualTransformerClass(XmlLibraryChecker.java:117) at org.exist.validation.XmlLibraryChecker.check(XmlLibraryChecker.java:161) at org.exist.JettyStart.<init>(JettyStart.java:65) at org.exist.JettyStart.main(JettyStart.java:59) 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 org.exist.start.Main.invokeMain(Main.java:128) at org.exist.start.Main.run(Main.java:407)

The version I'm using is 1.4.1dev-rev13444-20101223

I think Mike moved around some of packages in Saxon... what was:

net.sf.saxon.tinytree.TinyBuilder

is now:

net.sf.saxon.tree.tiny.TinyBuilder

The full stack trace is:

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)        at org.exist.start.Main.invokeMain(Main.java:128)        at org.exist.start.Main.run(Main.java:407)        at org.exist.start.Main.main(Main.java:59) Caused by: java.lang.NoClassDefFoundError: net/sf/saxon/tinytree/TinyBuilder        at java.lang.Class.getDeclaredConstructors0(Native Method)        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)        at java.lang.Class.getConstructor0(Class.java:2699)        at java.lang.Class.newInstance0(Class.java:326)        at java.lang.Class.newInstance(Class.java:308)        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:179)        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(ExcaliburComponentManager.java:276)        at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentManager.java:330)        at
org.apache.cocoon.components.modules.input.XMLMetaModule.compose(XMLMetaModule.java:327)        at
org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:212)        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:250)        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)        at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:703)        at
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:229)        at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:240)        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:269)        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)        at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)        at
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:561)        at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:282)        at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)        at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1391)        at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)        at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)        at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)        at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:446)        at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:321)        at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509)        at org.mortbay.util.Container.start(Container.java:72)        at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)        at org.mortbay.util.Container.start(Container.java:72)        at org.exist.JettyStart.run(JettyStart.java:157)        at org.exist.JettyStart.main(JettyStart.java:60)        ... 7 more Caused by: java.lang.ClassNotFoundException: net.sf.saxon.tinytree.TinyBuilder        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)        at java.security.AccessController.doPrivileged(Native Method)        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)        ... 42 more

cheers andrew

On 9 February 2011 17:31, Dmitriy Shabanov <shab@gmail.com> wrote:

What version?

On Wed, Feb 9, 2011 at 9:58 PM, Andrew Welch <andr@gmail.com> wrote:

Hi,

I've followed the instructions here:

http://atomic.exist-db.org/HowTo/XSLT2/XSLT2

(including the stuff for cocoon, even though im not using it)

and I get the following exception when starting eXist:

mortbay.jetty.servlet.WebApplicationHandler@317b1d64 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)        at org.exist.start.Main.invokeMain(Main.java:128)        at org.exist.start.Main.run(Main.java:407)        at org.exist.start.Main.main(Main.java:59) Caused by: java.lang.NoClassDefFoundError: net/sf/saxon/tinytree/TinyBuilder        at java.lang.Class.getDeclaredConstructors0(Native Method)

Any ideas?

------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb

------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb