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 267968 - NullPointerException at org.netbeans.modules.java.hints.errors.CreateElement.getPossibleSourceGroups
Summary: NullPointerException at org.netbeans.modules.java.hints.errors.CreateElement....
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-11 15:16 UTC by NukemBy
Modified: 2016-09-20 02:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226180


Attachments
stacktrace (1.84 KB, text/plain)
2016-09-11 15:16 UTC, NukemBy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2016-09-11 15:16:04 UTC
Build: NetBeans IDE Dev (Build 20160910-b14d1f3f39a0)
VM: Java HotSpot(TM) Client VM, 25.74-b02, Java(TM) SE Runtime Environment, 1.8.0_74-b02
OS: Windows 7

User Comments:
NukemBy: While debugging NetBeans




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.hints.errors.CreateElement.getPossibleSourceGroups(CreateElement.java:573)
   at org.netbeans.modules.java.hints.errors.CreateElement.prepareCreateOuterClassFix(CreateElement.java:648)
   at org.netbeans.modules.java.hints.errors.CreateElement.analyzeImpl(CreateElement.java:401)
   at org.netbeans.modules.java.hints.errors.CreateElement.analyze(CreateElement.java:150)
   at org.netbeans.modules.java.hints.errors.CreateElement.run(CreateElement.java:135)
   at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:148)
Comment 1 NukemBy 2016-09-11 15:16:06 UTC
Created attachment 161997 [details]
stacktrace
Comment 2 Svata Dedic 2016-09-17 08:40:33 UTC
Fixed in jet-main#37b4c1747db1
Comment 3 Quality Engineering 2016-09-20 02:37:30 UTC
Integrated into 'main-silver', will be available in build *201609200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/37b4c1747db1
User: Svata Dedic <sdedic@netbeans.org>
Log: #267968: used ProjectUtils to get fallback generic sources