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 268414 - NullPointerException at de.markiewb.netbeans.plugins.hints.optional.ReturnForOptional.toFix
Summary: NullPointerException at de.markiewb.netbeans.plugins.hints.optional.ReturnFor...
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: markiewb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-07 21:58 UTC by Jesse Glick
Modified: 2016-11-19 21:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226650


Attachments
stacktrace (2.35 KB, text/plain)
2016-10-07 21:58 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2016-10-07 21:58:40 UTC
Build: NetBeans IDE Dev (Build 20160928-1b0104a56292)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Linux

User Comments:
jglick: Editing Javadoc.




Stacktrace: 
java.lang.NullPointerException
   at de.markiewb.netbeans.plugins.hints.optional.ReturnForOptional.toFix(ReturnForOptional.java:88)
   at sun.reflect.GeneratedMethodAccessor145.invoke(GeneratedMethodAccessor145.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:340)
   at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:821)
Comment 1 Jesse Glick 2016-10-07 21:58:42 UTC
Created attachment 162398 [details]
stacktrace
Comment 2 markiewb 2016-10-17 21:41:42 UTC
Fixed in https://github.com/markiewb/nb-additional-hints/releases/tag/v1.6.0.8-SN

@Jesse: Try out the SNAPSHOT
Comment 3 markiewb 2016-10-17 21:42:03 UTC
Was filed as https://github.com/markiewb/nb-additional-hints/issues/75
Comment 4 Jesse Glick 2016-11-19 21:34:46 UTC
Thanks, installing 1.6.0.9.