Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#184 closed defect (released)

Unhandled exception in the unit form

Reported by: Henri Owned by: ibboard
Priority: minor Milestone: WarFoundry 0.1
Component: WarFoundry-GUI-WinForms Version:
Keywords: nullpointer Cc:
Blocked By: Blocking:

Description

Double-clicking in the "replace unit" form on empty space (see screenshot) throws an exception.

Attachments (2)

crash6.jpg (40.1 KB) - added by Henri 10 years ago.
screenshot
crash6.txt (4.4 KB) - added by Henri 10 years ago.
debug information

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by Henri

Attachment: crash6.jpg added

screenshot

Changed 10 years ago by Henri

Attachment: crash6.txt added

debug information

comment:1 in reply to:  description Changed 10 years ago by Henri

Replying to snowblizz:

Double-clicking in the "replace unit" form on empty space (see screenshot) throws an exception.

That should be "single clicking". Don't know why I type double click as a single click is enough.

comment:2 Changed 10 years ago by Henri

Further, this (or a similar error) happens when double-clicking on the empty space in the unit's equipment window.

Yes, I'm trigger-happy ;-)

comment:3 Changed 10 years ago by ibboard

Owner: set to ibboard
Status: newaccepted

Null reference - easy enough mistake to make and simple to fix.

comment:4 Changed 10 years ago by ibboard

Keywords: nullpointer added
Milestone: WarFoundry 0.1

comment:5 Changed 10 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

(In r292) Fixes #184: Unhandled exception in the unit form

  • Perform null check before seeing if selected item is required

comment:6 Changed 10 years ago by ibboard

(In r294) Re #184: Unhandled exception in the unit form

  • Perform null check before trying to open "edit" dialog

(Fixes the other part of Snowblizz's post)
no-open-ticket

comment:7 Changed 10 years ago by ibboard

released: 1

Mark released changes as released

comment:8 Changed 10 years ago by ibboard

released: 1yes

Mark released fixes as released using radio values

comment:9 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.