archenroot / myschedule

Automatically exported from code.google.com/p/myschedule
0 stars 0 forks source link

NPE when switching scheduler on dashboard #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When switching scheduler in the dashboard scheduler list view, it will not go 
into the job list if the scheduler is first created. Get this NPE.

java.lang.NullPointerException
    at myschedule.web.servlet.app.handler.JobHandlers$3.handleViewData(JobHandlers.java:88)
    at myschedule.web.servlet.UrlRequestActionHandler.handleAction(UrlRequestActionHandler.java:49)
    at myschedule.web.servlet.ActionHandlerServlet.process(ActionHandlerServlet.java:119)
    at myschedule.web.servlet.AbstractControllerServlet.doGet(AbstractControllerServlet.java:64)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by saltnlight5 on 17 Nov 2011 at 12:49

GoogleCodeExporter commented 9 years ago
Fixed on 98584eecbd22

The problem is that dashboard/switcher-scheduler is not filter by 
sessionDataFilter, and even if we do, we need a way to let it get the configId 
to create new sessionData if it's the first time.

Original comment by saltnlight5 on 17 Nov 2011 at 2:14

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 98584eecbd22.

Original comment by saltnlight5 on 17 Nov 2011 at 2:37