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 268385

Summary: NullPointerException at org.netbeans.modules.java.hints.spiimpl.options.HintsPanel$RemoveHint.actionPerformed
Product: java Reporter: tauner87
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226631
Attachments: stacktrace

Description tauner87 2016-10-06 18:01:40 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
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:
tauner87: Exception occured in Manage Inspections when trying to remove Custom Option.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.hints.spiimpl.options.HintsPanel$RemoveHint.actionPerformed(HintsPanel.java:1441)
   at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
   at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
   at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
   at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
   at java.awt.Component.processEvent(Component.java:6310)
Comment 1 tauner87 2016-10-06 18:01:43 UTC
Created attachment 162377 [details]
stacktrace
Comment 2 Svata Dedic 2016-11-11 11:43:18 UTC
Fixed in jet-main#29dc49c72798
Comment 3 Quality Engineering 2016-11-13 02:53:20 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/29dc49c72798
User: Svata Dedic <sdedic@netbeans.org>
Log: #268385: avoid delete for category nodes or non-custom hints