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 268202

Summary: NullPointerException: The doc parameter cannot be null
Product: java Reporter: toben
Component: HintsAssignee: Svata Dedic <sdedic>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226424
Attachments: stacktrace

Description toben 2016-09-26 11:31:23 UTC
Build: NetBeans IDE 8.2 RC (Build 201609140952)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Windows 10

User Comments:
toben: started netbeans under heavy system load (background computation)

GUEST: <Please provide a description of the problem or the steps to reproduce>
I don't kown what happend now.Sorry,I just do as it tell me




Stacktrace: 
java.lang.NullPointerException: The doc parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.spi.editor.hints.HintsController.setErrors(HintsController.java:76)
   at org.netbeans.modules.java.hints.infrastructure.EmbeddedHintsCollector.setAnnotations(EmbeddedHintsCollector.java:75)
   at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider.run(ErrorHintsProvider.java:770)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:584)
   at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:809)
Comment 1 toben 2016-09-26 11:31:24 UTC
Created attachment 162215 [details]
stacktrace
Comment 2 Svata Dedic 2016-11-11 11:57:48 UTC
Fixed in jet-main#b8141c37c085
Comment 3 Quality Engineering 2016-11-13 02:52:41 UTC
Integrated into 'main-silver', will be available in build *201611130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b8141c37c085
User: Svata Dedic <sdedic@netbeans.org>
Log: #268202: check document presence, do not forward hints for closed editors
Comment 4 Svata Dedic 2016-11-23 08:59:01 UTC
Transplanted as releases#fc1f30af5de5
Comment 5 Jiri Prox 2016-12-13 12:19:47 UTC
verified