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 92905 - editor stops accepting input after a "Create Method in class" action
Summary: editor stops accepting input after a "Create Method in class" action
Status: RESOLVED DUPLICATE of bug 65326
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@editor
Depends on:
Reported: 2007-01-20 19:17 UTC by lucasjordan
Modified: 2007-11-05 13:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description lucasjordan 2007-01-20 19:17:41 UTC
If I have typed a method name that does not exist for a class, such as:

MyClass inst = new MyClass();
inst.undefinedMethod();  <--- cursor on this line

the little light bulb suggest that the method "undefinedMethod" be created. when
I select this option. The code for MyClass opens, the stub code for the method
is written in the class, however the editor no longer accepts input in any document.

System Details:
Intel iMac, running OS X 10.4.8
Java version: 

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)

NetBeans IDE 5.5 (Build 200610171010, Ent.Pack 20061020)

close netbeans, you are asked to save your work if you want, and restart.
Comment 1 Vitezslav Stejskal 2007-01-22 04:32:50 UTC
It seems to be working fine on Linux/Gnome/jdk1.5.0_07/nb55. For some reason, if
trying in a dev build, there is no lightbulb offered?!

Reporter, when it happens can you see the editor cursor? Does clicking with
mouse in the editor pane help? Any exceptions? Could you please attach your
messages.log file. Thanks.

Can anybody with Mac try to evaluate this, please? Thanks
Comment 2 Jiri Prox 2007-01-22 07:49:28 UTC
It seems like duplicate of issue 65326. The suggested workaround should help.
Thanks for your report.

*** This issue has been marked as a duplicate of 65326 ***
Comment 3 Vitezslav Stejskal 2007-01-22 22:41:46 UTC
More comments from Lucas:

I will attach the log next time it happens. unfortunately I am having trouble
reproducing it regularly. The editor cursor is not present, however, some
highlighting works, and bracket matching works when you click near a bracket.
Clicking does not help. changing to another document does not work either it
stays un-editable.