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 268767

Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Product: java Reporter: Ralph Ruijs <ralphbenjamin>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: jglick, skygo
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225950
Attachments: stacktrace
stacktrace
stacktrace

Description Ralph Ruijs 2016-11-01 12:37:44 UTC
Build: NetBeans IDE Dev (Build 20161028-0d8e1fd6f6ec)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b15, Java(TM) SE Runtime Environment, 1.8.0_112-b15
OS: Linux

User Comments:
ralphbenjamin: Navigator is trying to diplay the members from a class file in a maven dependency

GUEST: Created new project of type java application. Used the default data i.e. Project Name etc. and pressed Finish.

GUEST: Create JavaApplication and set source to JDK 9




Stacktrace: 
java.lang.AssertionError
   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
   at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
   at com.sun.tools.javac.comp.Modules.allModules(Modules.java:879)
   at com.sun.tools.javac.comp.Modules.getObservableModule(Modules.java:1002)
   at com.sun.tools.javac.model.JavacElements.getModuleElement(JavacElements.java:109)
   at java.util.Optional.map(Optional.java:215)
Comment 1 Ralph Ruijs 2016-11-01 12:37:45 UTC
Created attachment 162713 [details]
stacktrace
Comment 2 skygo 2016-11-02 17:37:27 UTC
Created attachment 162733 [details]
stacktrace

double clic on class file within a jar maven dependencies
Comment 3 Jesse Glick 2016-12-05 19:57:07 UTC
Created attachment 163157 [details]
stacktrace

Ctrl-Shift-1 to see a binary class dependency in the Projects tab.