-
Notifications
You must be signed in to change notification settings - Fork 181
faq 111777525
by Katherine York on 2017-09-06 14:57:42
I am getting this error
Exception in thread "main" com.google.inject.CreationException: Unable to create injector, see the following errors:
1) Error in custom provider, org.matsim.core.utils.io.UncheckedIOException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 3; The processing instruction must begin with the name of the target.
followed by 9 occurrences of this one
2) Error in custom provider, java.lang.IllegalArgumentException: There exists already a node with id = 1.
and then this one
11) Error in custom provider, java.lang.NullPointerException
while locating org.matsim.core.trafficmonitoring.ObservedLinkTravelTimes
while locating org.matsim.core.router.util.TravelTime annotated with @com.google.inject.name.Named(value=car)
while locating org.matsim.core.router.util.TravelTime annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=70, type=MAPBINDER, keyType=java.lang.String)
at org.matsim.core.controler.Injector$3.configure(Injector.java:100) (via modules: com.google.inject.util.Modules$CombinedModule -> org.matsim.core.controler.Injector$3 -> com.google.inject.multibindings.MapBinder$RealMapBinder)
while locating java.util.Map<java.lang.String, org.matsim.core.router.util.TravelTime>
for field at org.matsim.core.router.NetworkRouting.travelTimes(NetworkRouting.java:20)
at org.matsim.core.router.TripRouterModule.install(TripRouterModule.java:59) (via modules: com.google.inject.util.Modules$CombinedModule -> com.google.inject.util.Modules$CombinedModule -> org.matsim.core.controler.AbstractModule$4 -> com.google.inject.util.Modules$OverrideModule -> org.matsim.core.controler.Controler$1 -> org.matsim.core.controler.ControlerDefaultsModule -> org.matsim.core.router.TripRouterModule)
Caused by: java.lang.NullPointerException
Any ideas?
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq