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 198300 - NullPointerException at org.netbeans.modules.java.editor.codegen.EqualsHashCodeGenerator$1.run
Summary: NullPointerException at org.netbeans.modules.java.editor.codegen.EqualsHashCo...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 04:57 UTC by hellochar
Modified: 2011-05-07 05:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 178669


Attachments
stacktrace (3.55 KB, text/plain)
2011-05-04 04:57 UTC, hellochar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hellochar 2011-05-04 04:57:30 UTC
This bug was originally marked as duplicate of bug 177962, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9.1 (Build nbms-and-javadoc-6921-on-20110325)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
hellochar: trying to generate equals/hashcode




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.editor.codegen.EqualsHashCodeGenerator$1.run(EqualsHashCodeGenerator.java:349)
   at org.netbeans.modules.java.editor.codegen.EqualsHashCodeGenerator$1.run(EqualsHashCodeGenerator.java:344)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:665)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:138)
   at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:200)
Comment 1 hellochar 2011-05-04 04:57:35 UTC
Created attachment 108092 [details]
stacktrace
Comment 2 Dusan Balek 2011-05-06 12:52:40 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/ae5170699fdb
Comment 3 Quality Engineering 2011-05-07 05:33:52 UTC
Integrated into 'main-golden', will be available in build *201105070000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ae5170699fdb
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #198300: NullPointerException at org.netbeans.modules.java.editor.codegen.EqualsHashCodeGenerator$1.run - fixed.