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 232895 - Source > Inspect > Netbeans Java Hints not working
Summary: Source > Inspect > Netbeans Java Hints not working
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: Other Other
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-17 11:48 UTC by skygo
Modified: 2013-07-20 02:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (50.49 KB, text/plain)
2013-07-17 11:52 UTC, skygo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skygo 2013-07-17 11:48:18 UTC
[ BUILD # : 201307162300 ]
[ JDK VERSION : 1.7.0_25 ]

Windows 8x64

== 
 During review of tutorial [1], I tried to apply the netbeans java hints
analyzer 
but nothing happens (visible to user).

By looking at IDE log I found a NPE

 java.lang.NullPointerException at
org.netbeans.modules.java.hints.spiimpl.options.HintsSettings$PreferencesBasedHi
ntsSettings.getHintPreferences(HintsSettings.java:98)


[1] https://netbeans.org/kb/docs/java/code-inspect.html
Comment 1 skygo 2013-07-17 11:52:11 UTC
Created attachment 137313 [details]
Log file
Comment 2 Jan Lahoda 2013-07-18 20:06:58 UTC
Good catch, fixed in jet-main:
http://hg.netbeans.org/jet-main/rev/8cdbd63695c4

Thanks for the report.
Comment 3 Quality Engineering 2013-07-20 02:14:33 UTC
Integrated into 'main-silver', will be available in build *201307192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8cdbd63695c4
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #232895: Source/Inspect should be able to run with default settings.