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 224997

Summary: NullPointerException at org.netbeans.modules.java.hints.threading.Tiny.canBeFinal
Product: java Reporter: Jan Lahoda <jlahoda>
Component: HintsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 197654
Attachments: stacktrace

Description Jan Lahoda 2013-01-16 20:41:10 UTC
Build: NetBeans IDE Dev (Build 20130114-2c4c9b1bf570)
VM: OpenJDK 64-Bit Server VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.hints.threading.Tiny.canBeFinal(Tiny.java:505)
   at sun.reflect.GeneratedMethodAccessor112.invoke(GeneratedMethodAccessor112.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:303)
   at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:788)
Comment 1 Jan Lahoda 2013-01-16 20:41:12 UTC
Created attachment 130311 [details]
stacktrace
Comment 2 Jan Lahoda 2013-01-16 21:33:29 UTC
http://hg.netbeans.org/jet-main/rev/606f1d544e3e
Comment 3 Quality Engineering 2013-01-29 03:27:14 UTC
Integrated into 'main-golden', will be available in build *201301290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/606f1d544e3e
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #224997: preventing NPE when hints processing canceled.