Uploaded image for project: 'OpenTrafficSim'
  1. OpenTrafficSim
  2. OTS-325

Toledo demos complain about missing TacticalPlanner

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Unresolved
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Sprint 10 (Version 0.15)
    • Java Project:
      ots-demo

      Description

      Toledo demo's indicate they cannot find their tactical planner:

      java.lang.reflect.InvocationTargetException calling LaneBasedGTUGenerator lane.0 on [DirectedLanePosition [lane=Lane lane.0 of From2a to From2b, position=16.0000000m, gtuDirection=DIR_PLUS]].tryToPlaceGTU with arguments []
      nl.tudelft.simulation.dsol.SimRuntimeException: java.lang.reflect.InvocationTargetException
             at nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent.execute(SimEvent.java:121)
             at nl.tudelft.simulation.dsol.simulators.DEVSRealTimeClock.run(DEVSRealTimeClock.java:202)
             at nl.tudelft.simulation.language.concurrent.WorkerThread.run(WorkerThread.java:90)
      Caused by: java.lang.reflect.InvocationTargetException
             at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
             at java.lang.reflect.Method.invoke(Method.java:498)
             at nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent.execute(SimEvent.java:114)
             ... 2 more
      Caused by: org.opentrafficsim.core.gtu.GTUException: Failed to create OperationalPlan for GTU 1
             at org.opentrafficsim.core.gtu.AbstractGTU.init(AbstractGTU.java:201)
             at org.opentrafficsim.road.gtu.lane.AbstractLaneBasedGTU.init(AbstractLaneBasedGTU.java:172)
             at org.opentrafficsim.road.gtu.lane.LaneBasedIndividualGTU.initWithAnimation(LaneBasedIndividualGTU.java:136)
             at org.opentrafficsim.road.gtu.generator.LaneBasedGTUGenerator.tryToPlaceGTU(LaneBasedGTUGenerator.java:264)
             ... 6 more
      Caused by: org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException: Perception categoryclass org.opentrafficsim.road.gtu.lane.tactical.toledo.ToledoPerception is not present.
             at org.opentrafficsim.core.gtu.perception.AbstractPerception.getPerceptionCategory(AbstractPerception.java:88)
             at org.opentrafficsim.road.gtu.lane.tactical.toledo.Toledo.generateOperationalPlan(Toledo.java:99)
             at org.opentrafficsim.core.gtu.AbstractGTU.move(AbstractGTU.java:276)
             at org.opentrafficsim.road.gtu.lane.AbstractLaneBasedGTU.move(AbstractLaneBasedGTU.java:451)
             at org.opentrafficsim.core.gtu.AbstractGTU.init(AbstractGTU.java:197)
             ... 9 more
      

        Attachments

          Activity

            People

            • Assignee:
              w.j.schakel Wouter Schakel
              Reporter:
              averbraeck Alexander Verbraeck
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified