This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 89855 - A11Y: NPE on attempt to add some elements to sequence diagram (with ctrl-enter)
Summary: A11Y: NPE on attempt to add some elements to sequence diagram (with ctrl-enter)
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Sequence (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Kris Richards
URL:
Keywords: A11Y, REGRESSION
Depends on:
Blocks:
 
Reported: 2006-11-22 13:45 UTC by Sergey Petrov
Modified: 2006-11-29 17:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException (2.45 KB, text/plain)
2006-11-22 13:48 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2006-11-22 13:45:47 UTC
reproducible with 061121_17

steps:
1. create package with scoped sequence diagram
2. try to add lifeline,actor,combined fragment to teh diagram with ctrl-enter
NPE is thrown
Comment 1 Sergey Petrov 2006-11-22 13:48:41 UTC
Created attachment 36217 [details]
NullPointerException
Comment 2 Sergey Petrov 2006-11-22 13:51:19 UTC
correct me if final agreement required preliminary iteam approval to add
coco_stopper, coco_stopper is added
Comment 3 Kris Richards 2006-11-27 17:41:14 UTC
this does NOT occur on the MacOSX. I think it may be a conflicting key stroke.
Comment 4 Sergey Petrov 2006-11-28 12:54:32 UTC
I don't know how to select pc+sun, so returned back all
reproducible with solaris10_sparc with 061127_12, if will not be fixed in coco,
I'll verify on mac after we will switch to griffin.
Comment 5 Sergey Petrov 2006-11-28 12:57:12 UTC
workaround (quite strange but it works): add comment element with ctrl-enter
works, and it will be possible to add others after comment addition (but after
diagram reload you'll have to add comment again).
Comment 6 Kris Richards 2006-11-28 18:07:16 UTC
Added logic to bypass the "handleSpecialSelection" in ADDiagramSequenceEngine class when it is not 
needed. This may break the logic for pasting messages in the Sequence diagram.
Comment 7 Sergey Petrov 2006-11-29 17:18:34 UTC
verified with 061128_11
tried simple message addition also.