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

Repair error with lane direction in parser while link direction not yet set.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Unresolved
    • Labels:
      None

      Description

      XML Parser error.
      Solved in PATCH V0.07.02, but has to be applied to trunk as well.
      Avoid error with lane direction in parser while link direction not yet set.

      nl.tudelft.simulation.dsol.SimRuntimeException: org.opentrafficsim.core.network.NetworkException: Lane Lane A1 of L291_04 allows GTUType: ALL a directionality of DIR_PLUS which is not present in the overarching link L291_04
      at org.opentrafficsim.road.network.lane.Lane.checkDirectionality(Lane.java:1126)
      at org.opentrafficsim.road.network.lane.Lane.<init>(Lane.java:162)
      at org.opentrafficsim.road.network.factory.xml.Links.applyRoadTypeToLink(Links.java:600)
      at org.opentrafficsim.road.network.factory.xml.XmlNetworkLaneParser.build(XmlNetworkLaneParser.java:184)
      at nl.grontmij.smarttraffic.common.utilities.NetworkFactory.createNetwork(NetworkFactory.java:45)

        Attachments

          Activity

            People

            • Assignee:
              averbraeck Alexander Verbraeck
              Reporter:
              averbraeck Alexander Verbraeck
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified