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

Summary: NullPointerException at org.netbeans.modules.java.hints.errors.CreateElement.getPossibleSourceGroups
Product: java Reporter: NukemBy
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226180
Attachments: stacktrace

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