#226 closed defect (released)
"NullReferenceException" for a unitID
Reported by: | Henri | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | WarFoundry 0.1 |
Component: | WarFoundry-API | Version: | Unknown or N/A |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Got an unhandled exception when I mistyped a unitID in a containedunitID statement. In my example the id referred to was "ZagstruK" and the actual name of the id "Zagstruk". I.e. the last capital letter differs.
The user should be "protected" from "bad" datafiles so this should have a handler/message box. It would also assist when debugging datafiles.
Attachments (1)
Change History (6)
Changed 10 years ago by
Attachment: | crash1.txt added |
---|
comment:1 Changed 10 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
comment:3 Changed 10 years ago by
comment:5 Changed 10 years ago by
Resolution: | fixed → released |
---|
Mark fix as released under a previous version
Note: See
TracTickets for help on using
tickets.
Confirmed that it is bad behaviour, although we should probably fail to load and log it the same as any other error (suggestions for better ways to show failures than the log can go in a feature request ticket or the forums :) ). I thought we handled it better than that, but obviously not.