co-ode-owl-plugins / ontology-browser

Automatically exported from code.google.com/p/ontology-browser
3 stars 4 forks source link

NPE on ontology load #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Cause unknown

java.lang.NullPointerException
    at org.coode.owl.mngr.impl.OWLServerImpl.getOntologyForIRI(OWLServerImpl.java:190)
    at org.coode.owl.mngr.impl.OWLServerImpl$2.finishedLoadingOntology(OWLServerImpl.java:88)
    at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.fireFinishedLoadingEvent(OWLOntologyManagerImpl.java:1056)
    at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntology(OWLOntologyManagerImpl.java:642)
    at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntology(OWLOntologyManagerImpl.java:563)
    at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadImports(OWLOntologyManagerImpl.java:974)
    at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.makeLoadImportRequest(OWLOntologyManagerImpl.java:995)
    at org.coode.owlapi.rdfxml.parser.TPImportsHandler.handleTriple(TPImportsHandler.java:79)
    at org.coode.owlapi.rdfxml.parser.OWLRDFConsumer.handleStreaming(OWLRDFConsumer.java:1436)
    at org.coode.owlapi.rdfxml.parser.OWLRDFConsumer.statementWithResourceValue(OWLRDFConsumer.java:1395)
    at org.semanticweb.owlapi.rdf.syntax.RDFParser.statementWithResourceValue(RDFParser.java:538)
    at org.semanticweb.owlapi.rdf.syntax.RDFParser$EmptyPropertyElement.startElement(RDFParser.java:992)
    at org.semanticweb.owlapi.rdf.syntax.RDFParser$PropertyElementList.startElement(RDFParser.java:876)
    at org.semanticweb.owlapi.rdf.syntax.RDFParser.startElement(RDFParser.java:247)
    at org.coode.owlapi.rdfxml.parser.RDFXMLParser$1.startElement(RDFXMLParser.java:62)
    at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
    at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:788)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:277)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1653)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:323)
    at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:807)
    at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:107)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at org.semanticweb.owlapi.rdf.syntax.RDFParser.parse(RDFParser.java:146)
    at org.coode.owlapi.rdfxml.parser.RDFXMLParser.parse(RDFXMLParser.java:90)
    at uk.ac.manchester.cs.owl.owlapi.ParsableOWLOntologyFactory.loadOWLOntology(ParsableOWLOntologyFactory.java:165)
    at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntology(OWLOntologyManagerImpl.java:618)
    at uk.ac.manchester.cs.owl.owlapi.OWLOntologyManagerImpl.loadOntologyFromOntologyDocument(OWLOntologyManagerImpl.java:579)
    at org.coode.owl.mngr.impl.OWLServerImpl.loadOntology(OWLServerImpl.java:119)
    at org.coode.www.servlet.Ontologies.handleLoad(Ontologies.java:100)
    at org.coode.www.servlet.Ontologies.handleAction(Ontologies.java:67)
    at org.coode.www.servlet.Ontologies.handleHTMLRequest(Ontologies.java:53)
    at org.coode.www.servlet.AbstractOntologyServerServlet.doRequest(AbstractOntologyServerServlet.java:102)
    at org.coode.www.servlet.AbstractOntologyServerServlet.doGet(AbstractOntologyServerServlet.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)

Original issue reported on code.google.com by NickIsConfused@gmail.com on 6 Sep 2010 at 11:28

GoogleCodeExporter commented 9 years ago
No longer a problem

Original comment by NickIsConfused@gmail.com on 8 Dec 2010 at 11:48