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 117350 - [60cat] AssertionError from HintsUI
Summary: [60cat] AssertionError from HintsUI
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 116025 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-01 17:29 UTC by muhlig
Modified: 2009-11-02 11:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktrace (2.28 KB, text/plain)
2007-10-01 17:30 UTC, muhlig
Details
Thread dump (10.23 KB, text/plain)
2007-10-01 17:31 UTC, muhlig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muhlig 2007-10-01 17:29:18 UTC
[ BUILD # : 200710010000 ]
[ JDK VERSION : 1.5.* ]

Steps to reproduce:
- Create a non-web project
- Create a JSP in that project
- Go to the firlst line and hit Ctrl + Return for the hint popup
- Leave Ctrl pressed and click on the error popup ("cannot find
symbol"...)
- AssertionError is thrown

After this the cursor in the JSP-editor as well as all other editors
is gone and you cannot use any keyboard shortcut except for
Command+Q.

If you open a dialog (e.g. "New Project" or "Open file") and just
close it, the cursor reappears and the keyboard shortcuts start
working again.
Comment 1 muhlig 2007-10-01 17:30:41 UTC
Created attachment 49917 [details]
Stacktrace
Comment 2 muhlig 2007-10-01 17:31:27 UTC
Created attachment 49918 [details]
Thread dump
Comment 3 Tomasz Slota 2007-10-02 14:16:17 UTC
The assertion is broken in the editor/hints infrastructure. Quoting the stack trace for your convenience:

java.lang.AssertionError
        at org.netbeans.modules.editor.hints.HintsUI.showPopup(HintsUI.java:268)
        at org.netbeans.modules.editor.hints.HintsUI.mousePressed(HintsUI.java:392)
        at java.awt.Component.processMouseEvent(Component.java:5551)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5319)
        at java.awt.Container.processEvent(Container.java:2010)
        at java.awt.Component.dispatchEventImpl(Component.java:4021)
        at java.awt.Container.dispatchEventImpl(Container.java:2068)
        at java.awt.Component.dispatchEvent(Component.java:3869)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3933)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
        at java.awt.Container.dispatchEventImpl(Container.java:2054)
        at java.awt.Component.dispatchEvent(Component.java:3869)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
[catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110
Comment 4 Jan Lahoda 2007-10-09 14:41:50 UTC
The JSPs (in non-Web projects) do not show the initial error anymore, and I have never seen this in any other case.
Moreover, seems like a bit obscure case -> P4.
Comment 5 Max Sauer 2008-08-12 13:45:40 UTC
*** Issue 116025 has been marked as a duplicate of this issue. ***
Comment 6 David Strupl 2009-03-31 15:47:47 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 7 Quality Engineering 2009-11-02 11:04:03 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX