Issue Type: Bug Bug
Affects Versions: 0.4.0
Assignee: Unassigned
Components: Amdatu Web
Created: 09/May/12 2:37 PM
Description:

Sometimes I do get a NullPointerException upon starting Amdatu for the very first time in the JSP servlet (relevant parts of the stacktrace below). It seems to be related by the fact that the Felix http service is restarted during startup. I configured the http service port to 2204, but initially the service is started on port 8080. Hence it must restart the service later on, switching the port number.

[INFO] Started jetty 6.1.x at port 8080
[2012-05-09 14:25:35] INFO: ServiceEvent UNREGISTERING [org.amdatu.multitenant.org.apache.felix.http.jetty]
[2012-05-09 14:25:36] ERROR: Could not destroy JspServletServiceImpl [org.amdatu.web.jsp]
null
java.lang.NullPointerException
        at org.amdatu.web.jsp.service.ResourceProviderJspServlet$2.call(ResourceProviderJspServlet.java:117)
        at org.amdatu.web.jsp.service.ResourceProviderJspServlet$2.call(ResourceProviderJspServlet.java:115)
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)
        at org.amdatu.web.jsp.service.ResourceProviderJspServlet.destroy(ResourceProviderJspServlet.java:113)
        at org.amdatu.web.dispatcher.handler.ServletHandler.doDestroy(ServletHandler.java:58)
        at org.amdatu.web.dispatcher.handler.AbstractHandler.destroy(AbstractHandler.java:116)
        at org.amdatu.web.dispatcher.handler.ServletHandlerRegistry$4.run(ServletHandlerRegistry.java:181)
        at java.lang.Thread.run(Thread.java:662)
[2012-05-09 14:25:36] INFO: Started jetty 6.1.x at port 2204 [org.amdatu.multitenant.org.apache.felix.http.jetty]
Project: Amdatu
Labels: pfu040
Priority: Major Major
Reporter: Ivo Ladage - van Doorn
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to