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 126845 - NullPointerException at org.netbeans.modules.java.editor.codegen.ImplementOverrideMethodGenerator$1.run
Summary: NullPointerException at org.netbeans.modules.java.editor.codegen.ImplementOve...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-06 15:53 UTC by unr303
Modified: 2011-05-11 19:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 25152


Attachments
stacktrace (2.82 KB, text/plain)
2008-02-06 15:53 UTC, unr303
Details
ide log (332.64 KB, text/plain)
2008-02-06 15:55 UTC, unr303
Details
stacktrace (2.91 KB, text/plain)
2008-02-12 10:04 UTC, unr303
Details
stacktrace (2.90 KB, text/plain)
2008-03-19 18:05 UTC, unr303
Details
stacktrace (2.62 KB, text/plain)
2008-07-24 03:33 UTC, grimlock81
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unr303 2008-02-06 15:53:52 UTC
Build: NetBeans IDE Dev (Build 200802051752)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments: 
override method/AbstractButton.setText
Comment 1 unr303 2008-02-06 15:53:57 UTC
Created attachment 56171 [details]
stacktrace
Comment 2 unr303 2008-02-06 15:55:06 UTC
Created attachment 56172 [details]
ide log
Comment 3 unr303 2008-02-06 15:57:28 UTC
Occured only once.
Comment 4 unr303 2008-02-12 10:03:53 UTC
Build: NetBeans IDE Dev (Build 20080211032652)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments: 
source/insert code/implement method
Comment 5 unr303 2008-02-12 10:04:01 UTC
Created attachment 56501 [details]
stacktrace
Comment 6 unr303 2008-03-19 18:05:26 UTC
Build: NetBeans IDE Dev (Build 20080319034341)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments: 
Comment 7 unr303 2008-03-19 18:05:35 UTC
Created attachment 58686 [details]
stacktrace
Comment 8 grimlock81 2008-07-24 03:33:50 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27
OS: Windows XP, 5.1, x86

User Comments: 
Alt+Enter
Override method....

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.java.editor.codegen.ImplementOverrideMethodGenerator$1.run(ImplementOverrideMethodGenerator.java:156)
        at org.netbeans.modules.java.editor.codegen.ImplementOverrideMethodGenerator$1.run(ImplementOverrideMethodGenerator.java:152)
        at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:915)
        at org.netbeans.modules.java.editor.codegen.ImplementOverrideMethodGenerator.invoke(ImplementOverrideMethodGenerator.java:151)
        at org.netbeans.modules.java.editor.codegen.ui.GenerateCodePanel.invokeSelected(GenerateCodePanel.java:149)
        at org.netbeans.modules.java.editor.codegen.ui.GenerateCodePanel.listMouseReleased(GenerateCodePanel.java:118)
Comment 9 grimlock81 2008-07-24 03:33:53 UTC
Created attachment 65471 [details]
stacktrace
Comment 10 Dusan Balek 2011-05-10 09:34:20 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/12410b88c6cf
Comment 11 Quality Engineering 2011-05-11 19:39:22 UTC
Integrated into 'main-golden', will be available in build *201105111436* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/12410b88c6cf
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #126845: NullPointerException at org.netbeans.modules.java.editor.codegen.ImplementOverrideMethodGenerator$1.run - fixed.