http://localhost:8080/orbeon/ npe

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

http://localhost:8080/orbeon/ npe

PE2Dave
New install orbeon forms.
OS Fedora Core 9
Sun java 1.6

tomcat installed from Fedora rpms.

Any suggestions please?

report below:
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

javax.servlet.ServletException
        org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:65)
        javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-api-5.5.26.jar.so)
        org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.26.jar.so3q0iok.so)
        org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.26.jar.so3q0iok.so)
        org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.26.jar.so)
        org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.26.jar.so)
        org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.26.jar.so)
        org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.26.jar.so)
        org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.26.jar.so)
        java.lang.Thread.run(libgcj.so.9)

root cause

javax.servlet.ServletException
        org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:133)
        javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-api-5.5.26.jar.so)
        org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
        javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-api-5.5.26.jar.so)
        org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.26.jar.so3q0iok.so)
        org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.26.jar.so3q0iok.so)
        org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.26.jar.so)
        org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.26.jar.so)
        org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.26.jar.so)
        org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.26.jar.so)
        org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.26.jar.so)
        java.lang.Thread.run(libgcj.so.9)

root cause

java.lang.NullPointerException
        org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service$Loader2.getResources(libgcj.so.9)
        org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service.<init>(libgcj.so.9)
        org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(libgcj.so.9)
        com.sun.msv.reader.trex.ng.DefaultDatatypeLibraryFactory.<init>(DefaultDatatypeLibraryFactory.java:28)
        com.sun.msv.reader.trex.ng.RELAXNGReader.<init>(RELAXNGReader.java:257)
        com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:91)
        com.sun.msv.reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:81)
        com.sun.msv.reader.util.GrammarLoader$2.startElement(GrammarLoader.java:493)
        orbeon.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:497)
        orbeon.apache.xerces.xinclude.XIncludeHandler.startElement(XIncludeHandler.java:954)
        orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:283)
        orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:736)
        orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1755)
        orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
        orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
        orbeon.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
        orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
        orbeon.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1201)
        com.sun.msv.reader.util.GrammarLoader._loadSchema(GrammarLoader.java:514)
        com.sun.msv.reader.util.GrammarLoader.parse(GrammarLoader.java:325)
        com.sun.msv.reader.util.GrammarLoader.loadSchema(GrammarLoader.java:189)
        com.sun.msv.verifier.jarv.TheFactoryImpl.parse(TheFactoryImpl.java:42)
        com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:98)
        org.orbeon.oxf.processor.validation.MSVValidationProcessor$6.read(MSVValidationProcessor.java:149)
        org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488)
        org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:44)
        org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:120)
        org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030)
        org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213)
        org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
        org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:403)
        org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:422)
        org.orbeon.oxf.processor.XMLProcessorRegistry.start(XMLProcessorRegistry.java:42)
        org.orbeon.oxf.pipeline.InitUtils.initializeProcessorDefinitions(InitUtils.java:289)
        org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:111)
        org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71)
        org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72)
        javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-api-5.5.26.jar.so)
        org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
        javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-api-5.5.26.jar.so)
        org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.26.jar.so3q0iok.so)
        org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.26.jar.so3q0iok.so)
        org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.26.jar.so)
        org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.26.jar.so)
        org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.26.jar.so)
        org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.26.jar.so)
        org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.26.jar.so)
        java.lang.Thread.run(libgcj.so.9)


--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: http://localhost:8080/orbeon/ npe

Erik Bruchez
Administrator
Dave,

The stack trace mentions gcj, so I don't think you are using Java 1.6.  
I don't think we have ever tried to run Orbeon Forms with gcj.

-Erik

On Jun 5, 2008, at 2:13 PM, Dave Pawson wrote:

> New install orbeon forms.
> OS Fedora Core 9
> Sun java 1.6
>
> tomcat installed from Fedora rpms.
>
> Any suggestions please?
>
> report below:
> VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException
> org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:65)
> javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-
> api-5.5.26.jar.so)
>
> org
> .apache
> .catalina
> .valves.ErrorReportValve.invoke(catalina-5.5.26.jar.so3q0iok.so)
>
> org
> .apache
> .catalina
> .connector.CoyoteAdapter.service(catalina-5.5.26.jar.so3q0iok.so)
> org.apache.coyote.http11.Http11Processor.process(tomcat-
> http-5.5.26.jar.so)
> org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processConnection(tomcat-http-5.5.26.jar.so)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-
> util-5.5.26.jar.so)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-
> util-5.5.26.jar.so)
> org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(tomcat-util-5.5.26.jar.so)
> java.lang.Thread.run(libgcj.so.9)
>
> root cause
>
> javax.servlet.ServletException
>
> org
> .orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:
> 133)
> javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-
> api-5.5.26.jar.so)
> org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
> javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-
> api-5.5.26.jar.so)
>
> org
> .apache
> .catalina
> .valves.ErrorReportValve.invoke(catalina-5.5.26.jar.so3q0iok.so)
>
> org
> .apache
> .catalina
> .connector.CoyoteAdapter.service(catalina-5.5.26.jar.so3q0iok.so)
> org.apache.coyote.http11.Http11Processor.process(tomcat-
> http-5.5.26.jar.so)
> org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processConnection(tomcat-http-5.5.26.jar.so)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-
> util-5.5.26.jar.so)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-
> util-5.5.26.jar.so)
> org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(tomcat-util-5.5.26.jar.so)
> java.lang.Thread.run(libgcj.so.9)
>
> root cause
>
> java.lang.NullPointerException
> org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service
> $Loader2.getResources(libgcj.so.9)
> org.relaxng.datatype.helpers.DatatypeLibraryLoader
> $Service.<init>(libgcj.so.9)
> org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(libgcj.so.
> 9)
>
> com
> .sun
> .msv
> .reader
> .trex
> .ng
> .DefaultDatatypeLibraryFactory
> .<init>(DefaultDatatypeLibraryFactory.java:28)
> com.sun.msv.reader.trex.ng.RELAXNGReader.<init>(RELAXNGReader.java:
> 257)
>
> com
> .sun
> .msv
> .reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:
> 91)
>
> com
> .sun
> .msv
> .reader.trex.ng.comp.RELAXNGCompReader.<init>(RELAXNGCompReader.java:
> 81)
> com.sun.msv.reader.util.GrammarLoader
> $2.startElement(GrammarLoader.java:493)
>
> orbeon
> .apache
> .xerces
> .parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:497)
>
> orbeon
> .apache
> .xerces.xinclude.XIncludeHandler.startElement(XIncludeHandler.java:
> 954)
>
> orbeon
> .apache
> .xerces
> .impl
> .XMLNSDocumentScannerImpl
> .scanStartElement(XMLNSDocumentScannerImpl.java:283)
> orbeon.apache.xerces.impl.XMLNSDocumentScannerImpl
> $
> NSContentDispatcher
> .scanRootElementHook(XMLNSDocumentScannerImpl.java:736)
> orbeon.apache.xerces.impl.XMLDocumentFragmentScannerImpl
> $
> FragmentContentDispatcher
> .dispatch(XMLDocumentFragmentScannerImpl.java:1755)
>
> orbeon
> .apache
> .xerces
> .impl
> .XMLDocumentFragmentScannerImpl
> .scanDocument(XMLDocumentFragmentScannerImpl.java:324)
>
> orbeon
> .apache
> .xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
>
> orbeon
> .apache
> .xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
> orbeon.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
>
> orbeon
> .apache
> .xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1201)
>
> com.sun.msv.reader.util.GrammarLoader._loadSchema(GrammarLoader.java:
> 514)
> com.sun.msv.reader.util.GrammarLoader.parse(GrammarLoader.java:325)
> com.sun.msv.reader.util.GrammarLoader.loadSchema(GrammarLoader.java:
> 189)
> com.sun.msv.verifier.jarv.TheFactoryImpl.parse(TheFactoryImpl.java:
> 42)
>
> com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:
> 98)
> org.orbeon.oxf.processor.validation.MSVValidationProcessor
> $6.read(MSVValidationProcessor.java:149)
>
> org
> .orbeon
> .oxf
> .processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:
> 488)
> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access
> $600(MSVValidationProcessor.java:44)
> org.orbeon.oxf.processor.validation.MSVValidationProcessor
> $5.readImpl(MSVValidationProcessor.java:120)
> org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:
> 1030)
> org.orbeon.oxf.processor.ProcessorImpl
> $ProcessorOutputImpl.read(ProcessorImpl.java:1213)
>
> org
> .orbeon
> .oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348)
>
> org
> .orbeon
> .oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:403)
>
> org
> .orbeon
> .oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:422)
>
> org
> .orbeon
> .oxf.processor.XMLProcessorRegistry.start(XMLProcessorRegistry.java:
> 42)
>
> org
> .orbeon
> .oxf
> .pipeline.InitUtils.initializeProcessorDefinitions(InitUtils.java:289)
> org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:111)
> org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71)
>
> org
> .orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:
> 72)
> javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-
> api-5.5.26.jar.so)
> org.orbeon.oxf.servlet.OPSServlet.init(OPSServlet.java:60)
> javax.servlet.GenericServlet.init(tomcat5-servlet-2.4-
> api-5.5.26.jar.so)
>
> org
> .apache
> .catalina
> .valves.ErrorReportValve.invoke(catalina-5.5.26.jar.so3q0iok.so)
>
> org
> .apache
> .catalina
> .connector.CoyoteAdapter.service(catalina-5.5.26.jar.so3q0iok.so)
> org.apache.coyote.http11.Http11Processor.process(tomcat-
> http-5.5.26.jar.so)
> org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processConnection(tomcat-http-5.5.26.jar.so)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-
> util-5.5.26.jar.so)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-
> util-5.5.26.jar.so)
> org.apache.tomcat.util.threads.ThreadPool
> $ControlRunnable.run(tomcat-util-5.5.26.jar.so)
> java.lang.Thread.run(libgcj.so.9)
>
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: http://localhost:8080/orbeon/ npe

PE2Dave
2008/6/5 Erik Bruchez <[hidden email]>:
> Dave,
>
> The stack trace mentions gcj, so I don't think you are using Java 1.6. I
> don't think we have ever tried to run Orbeon Forms with gcj.

Quite a mess.
Solution (worked for me)
Stripped out tomcat using yum.
Re-installed using source from Apache.
Now works fine.

[Also came down from Firefox 3 beta 5 to FF 2.0.14]

Perhaps a note on the documentation?

regards



--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: http://localhost:8080/orbeon/ npe

Erik Bruchez
Administrator
> Now works fine.

Great news.

> [Also came down from Firefox 3 beta 5 to FF 2.0.14]

Nightly builds work find with Firefox 3, BTW.

> Perhaps a note on the documentation?

I added a note about making sure gcj is not being used for now.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: http://localhost:8080/orbeon/ npe

PE2Dave
2008/6/5 Erik Bruchez <[hidden email]>:

> I added a note about making sure gcj is not being used for now.

I trawled the Tomcat setup files and changed it in
about 4 places back to Sun java, so it's a bit messy!
  Cleanest way is to follow your install instructions,
but note which version of Tomcat is needed.


regards



--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws