Ticket #215 (new defect)
Opened 6 years ago
Sim Mgr throws exception when script has no Units
| Reported by: | jdalbey | Owned by: | jdalbey |
|---|---|---|---|
| Priority: | Low | Milestone: | May 2021 Training |
| Component: | Simulation Manager | Version: | |
| Severity: | Minor | Keywords: | |
| Cc: |
Description
When loading the attached xml file ("landslide.xml"), the Sim Mgr throws the following exception. It would be better to show an Alert message to the user.
Exception in thread "Thread-24" java.lang.NullPointerException at tmcsim.client.cadclientgui.data.CADData.unitAssignedToIncident(CADData.java:358) at tmcsim.cadsimulator.Coordinator.updateUnitsInGUI(Coordinator.java:2664) at tmcsim.cadsimulator.Coordinator.updateIncidentInGUI(Coordinator.java:2615) at tmcsim.cadsimulator.managers.IncidentManager.tick(IncidentManager.java:251) at tmcsim.cadsimulator.Coordinator$5.run(Coordinator.java:799) at java.lang.Thread.run(Thread.java:748)
Attachments
Change History
Changed 6 years ago by jdalbey
-
attachment
landslide.xml
added
Note: See
TracTickets for help on using
tickets.

incident script without Units