openplans/OpenTripPlanner — Issue #547: Errors when trying to build Graph.obj
Author: flobbit
Created: 2011-10-19 00:01:53+00:00
State: open

GTFS data I am using is from here:
http://www.transport.sa.gov.au/googletransit/google_transit.zip

OSM file I got from here, although doesn't seem to work anymore:
http://jxapi.openstreetmap.org/xapi/api/0.6/map?bbox=138.053,-35.694,139.715,-34.106

2011-10-19 10:27:16,088 DEBUG [StreetUtils.java:56] : converting to edge-based graph
2011-10-19 10:27:27,790 DEBUG [NetworkLinkerLibrary.java:75] : constructing index...
2011-10-19 10:27:32,959 DEBUG [NetworkLinker.java:49] : creating linkages...
2011-10-19 10:27:33,017 DEBUG [NetworkLinker.java:56] : vertices=0/392423
2011-10-19 10:27:34,172 DEBUG [NetworkLinker.java:56] : vertices=100000/392423
2011-10-19 10:27:35,409 DEBUG [NetworkLinker.java:56] : vertices=200000/392423
2011-10-19 10:27:36,192 DEBUG [NetworkLinker.java:56] : vertices=300000/392423
2011-10-19 10:27:36,368 DEBUG [LocalStopFinder.java:76] : Finding local stops
2011-10-19 10:28:11,599 DEBUG [LocalStopFinder.java:176] : Local stops: 2213 / 7409
2011-10-19 10:28:11,600 DEBUG [FindMaxWalkDistances.java:39] : finding max walk distances
Exception in thread "main" java.lang.IllegalStateException: java.lang.NullPointerException
at org.opentripplanner.graph_builder.GraphBuilderTask.run(GraphBuilderTask.java:104)
at org.opentripplanner.graph_builder.GraphBuilderMain.main(GraphBuilderMain.java:49)
Caused by: java.lang.NullPointerException
at org.opentripplanner.routing.impl.GraphSerializationLibrary.writeGraph(GraphSerializationLibrary.java:48)
at org.opentripplanner.graph_builder.GraphBuilderTask.run(GraphBuilderTask.java:102)
... 1 more
2011-10-19 10:28:49,792 INFO [AbstractApplicationContext.java:1002] : Closing org.springframework.context.support.GenericApplicationContext@2d66a22b: startup date [Wed Oct 19 10:24:50 CST 2011]; root of context hierarchy
2011-10-19 10:28:49,794 INFO [DefaultSingletonBeanRegistry.java:422] : Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4d3c7378: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,graphService,graphBuilderTask,org.springframework.beans.factory.config.CustomEditorConfigurer#0,graphBundle,gtfsBuilder,nedBuilder,osmBuilder,transitStreetLink,optimizeTransit]; root of factory hierarchy