co-ode-owl-plugins / ontology-browser

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

NPE when session timed out #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- Load an ontology
- Navigate to any summary page
- Wait until the session times out
- Try to open the ontologies page

The following exception is thrown:

java.lang.NullPointerException
    at org.coode.html.url.RestURLScheme.getURLForOWLObject(RestURLScheme.java:76)
    at org.coode.www.servlet.Ontologies.handleHTMLPageRequest(Ontologies.java:48)
    at org.coode.www.servlet.AbstractOntologyServerServlet.getResults(AbstractOntologyServerServlet.java:146)
    at org.coode.www.servlet.AbstractOntologyServerServlet.doRequest(AbstractOntologyServerServlet.java:96)
    at org.coode.www.servlet.AbstractOntologyServerServlet.doGet(AbstractOntologyServerServlet.java:68)
    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 10 Sep 2010 at 9:33

GoogleCodeExporter commented 9 years ago
Cookies prevent timeout.
When timeout forced, ontologies page still valid.

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