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 197632 - NullPointerException at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeIntroduceMethod
Summary: NullPointerException at org.netbeans.modules.java.hints.introduce.IntroduceHi...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 21:05 UTC by Jesse Glick
Modified: 2011-04-13 08:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178256


Attachments
stacktrace (1.04 KB, text/plain)
2011-04-11 21:05 UTC, Jesse Glick
Details
stacktrace (1.04 KB, text/plain)
2011-04-12 09:21 UTC, gerzhedowich
Details
stacktrace (1.04 KB, text/plain)
2011-04-12 10:54 UTC, davideconsonni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-04-11 21:05:45 UTC
Build: NetBeans IDE Dev (Build 20110411-1ca2b19d8d8b)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeIntroduceMethod(IntroduceHint.java:568)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.computeError(IntroduceHint.java:518)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:354)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint.run(IntroduceHint.java:152)
   at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:322)
   at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:715)
Comment 1 Jesse Glick 2011-04-11 21:05:49 UTC
Created attachment 107650 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-04-12 07:51:34 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=178256
Comment 3 gerzhedowich 2011-04-12 09:21:33 UTC
Created attachment 107670 [details]
stacktrace

press 'ctrl+tab'
Comment 4 davideconsonni 2011-04-12 10:54:33 UTC
Created attachment 107674 [details]
stacktrace
Comment 5 Jan Lahoda 2011-04-12 11:17:22 UTC
http://hg.netbeans.org/jet-main/rev/730d373146ca
Comment 6 Quality Engineering 2011-04-13 08:40:40 UTC
Integrated into 'main-golden', will be available in build *201104130401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/730d373146ca
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #197632: preventing NPE when hint computation canceled.