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 242459 - NullPointerException at org.netbeans.spi.editor.hints.projects.PerProjectHintsPanelUI.searchEnableDisable
Summary: NullPointerException at org.netbeans.spi.editor.hints.projects.PerProjectHint...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-28 17:15 UTC by alex.pap
Modified: 2015-07-20 13:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208050


Attachments
stacktrace (9.00 KB, text/plain)
2014-02-28 17:15 UTC, alex.pap
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alex.pap 2014-02-28 17:15:48 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
alex.pap: i just install NB8 beta and i create a  maven java project.
i add apache commons cli as dependency but the autocomplete or search in dependencies feature does working.
then i click on the hints option in the project properties and a null pointer exception appear.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.spi.editor.hints.projects.PerProjectHintsPanelUI.searchEnableDisable(PerProjectHintsPanelUI.java:204)
   at org.netbeans.spi.editor.hints.projects.PerProjectHintsPanelUI.<init>(PerProjectHintsPanelUI.java:146)
   at org.netbeans.spi.editor.hints.projects.PerProjectHintsPanel.<init>(PerProjectHintsPanel.java:67)
   at org.netbeans.spi.editor.hints.projects.PerProjectHintsPanel.create(PerProjectHintsPanel.java:61)
   at org.netbeans.spi.editor.hints.projects.support.ProjectHintSettingPanel.<init>(ProjectHintSettingPanel.java:91)
   at org.netbeans.spi.editor.hints.projects.support.ProjectCustomizer.createComponent(ProjectCustomizer.java:91)
Comment 1 alex.pap 2014-02-28 17:15:50 UTC
Created attachment 145672 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-07-20 13:55:43 UTC
There are no more reports, so I am closing this bug issue. I have try a few ways to trigger NPE, but it seems to work. If it will show again, I can add null pointer check to code.