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 165295 - AssertionError: ContextAwareAction cannot return null: org.netbeans.modules.uml.drawingarea.actions.SelectAllAction@4d37fb09
Summary: AssertionError: ContextAwareAction cannot return null: org.netbeans.modules.u...
Status: STARTED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 16:09 UTC by bernd_zedv
Modified: 2011-06-16 13:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 82089


Attachments
stacktrace (2.09 KB, text/plain)
2009-05-15 16:10 UTC, bernd_zedv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bernd_zedv 2009-05-15 16:09:55 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-77, Java(TM) SE Runtime Environment, 1.6.0_13-b03-196
OS: Mac OS X, 10.5.6, x86_64

Stacktrace: 
java.lang.AssertionError: ContextAwareAction cannot return null: org.netbeans.modules.uml.drawingarea.actions.SelectAllAction@4d37fb09
        at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1028)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2895)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)
        at java.awt.Component.processEvent(Component.java:6078)
        at java.awt.Container.processEvent(Container.java:2085)
        at java.awt.Component.dispatchEventImpl(Component.java:4667)
Comment 1 bernd_zedv 2009-05-15 16:10:18 UTC
Created attachment 82206 [details]
stacktrace
Comment 2 atgihdgv 2009-06-08 04:45:23 UTC
我每次用netbeans是都会有类似的问题,现在正在做开发,谢谢尽快帮助解决!急急急急急急急急急
Comment 3 Michael Nazarov 2010-04-14 12:18:42 UTC
Why is this issue reported as invalid?
I have simple steps to reproduce:

1. Press "Show My Issues" button in Exception Reported output area.
2. Immediately press Ctrl+A on keyboard.

Here it is.

Product Version: NetBeans IDE Dev (Build 201004140201)
Java: 1.6.0_19; Java HotSpot(TM) Client VM 16.2-b04
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Comment 4 Michael Nazarov 2010-04-14 12:20:30 UTC
Steps are even simpler: just ensure Show button has focus then press Ctrl+A on keyboard.
Comment 5 Peter Nabbefeld 2011-06-16 11:38:14 UTC
Still happens with Dev build. CTRL+A seems to cause problems within output windows.
Comment 6 javydreamercsw 2011-06-16 13:32:58 UTC
The only reason I see for that is if checking in the context's lookup returns null for DesignerScene.class.

If that's null we return null. Looks like this is no longer valid in the API (thus the assertion).

This can easily be fixed. Will commit later today.