openplans/OpenTripPlanner — Issue #585: Root planner error
Author: prouso01
Created: 2012-01-12 17:14:44+00:00
State: open

Hello , i am trying to plan a trip. I put the start pin, the
end pin and hit the plan your trip but all i get is a message "We're
sorry. The trip planner is temporarily unavailable. Please try again
later." After looking at eclipse for exceptions i get the following
server error log:
.
.
.
.
NFO: Server startup in 4863 ms
Jan 12, 2012 1:57:46 PM org.opentripplanner.api.ws.Planner
getItineraries
SEVERE: exception planning trip:
java.lang.NullPointerException
at org.opentripplanner.api.ws.PlanGenerator.(PlanGenerator.java:
80)
at org.opentripplanner.api.ws.Planner.getItineraries(Planner.java:
255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory
$1.invoke(JavaMethodInvokerFactory.java:60)
at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDisp atchProvider
$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:
185)
at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatch er.dispatch(ResourceJavaMethodDispatcher.java:
75)
at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.j ava:
288)
at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClass Rule.java:
108)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPath Rule.java:
147)
at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootRes ourceClassesRule.java:
84)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(We bApplicationImpl.java:
1469)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(We bApplicationImpl.java:
1400)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(Web ApplicationImpl.java:
1349)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(Web ApplicationImpl.java:
1339)
at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java :
416)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContai ner.java:
537)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContai ner.java:
708)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:
290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java:
206)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor .invoke(FilterSecurityInterceptor.java:
109)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor .doFilter(FilterSecurityInterceptor.java:
83)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (ExceptionTranslationFilter.java:
97)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(S essionManagementFilter.java:
100)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.authentication.AnonymousAuthenticationFilt er.doFilter(AnonymousAuthenticationFilter.java:
78)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareReque stFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:
54)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFil ter(RequestCacheAwareFilter.java:
35)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.opentripplanner.api.authentication.WSSEAuthenticationFilter.doFilter(WS SEAuthenticationFilter.java:
91)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.d oFilter(SecurityContextPersistenceFilter.java:
79)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy .java:
169)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delegat ingFilterProxy.java:
237)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFil terProxy.java:
167)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j ava:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j ava:
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.jav a:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
859)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
489)
at java.lang.Thread.run(Thread.java:680)
Jan 12, 2012 2:00:33 PM org.opentripplanner.api.ws.Planner
getItineraries
SEVERE: exception planning trip:
java.lang.NullPointerException
at org.opentripplanner.api.ws.PlanGenerator.(PlanGenerator.java:
80)
at org.opentripplanner.api.ws.Planner.getItineraries(Planner.java:
255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory
$1.invoke(JavaMethodInvokerFactory.java:60)
at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDisp atchProvider
$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:
185)
at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatch er.dispatch(ResourceJavaMethodDispatcher.java:
75)
at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.j ava:
288)
at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClass Rule.java:
108)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPath Rule.java:
147)
at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootRes ourceClassesRule.java:
84)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(We bApplicationImpl.java:
1469)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(We bApplicationImpl.java:
1400)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(Web ApplicationImpl.java:
1349)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(Web ApplicationImpl.java:
1339)
at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java :
416)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContai ner.java:
537)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContai ner.java:
708)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:
290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java:
206)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor .invoke(FilterSecurityInterceptor.java:
109)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor .doFilter(FilterSecurityInterceptor.java:
83)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (ExceptionTranslationFilter.java:
97)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(S essionManagementFilter.java:
100)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.authentication.AnonymousAuthenticationFilt er.doFilter(AnonymousAuthenticationFilter.java:
78)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareReque stFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:
54)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFil ter(RequestCacheAwareFilter.java:
35)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.opentripplanner.api.authentication.WSSEAuthenticationFilter.doFilter(WS SEAuthenticationFilter.java:
91)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.d oFilter(SecurityContextPersistenceFilter.java:
79)
at org.springframework.security.web.FilterChainProxy
$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy .java:
169)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delegat ingFilterProxy.java:
237)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFil terProxy.java:
167)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio nFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC hain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j ava:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j ava:
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.jav a:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
859)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
489)
at java.lang.Thread.run(Thread.java:680)
.
.
.
.
Has anyone had the same or relevant error?