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 - AssertionError at com.sun.tools.javac.util.Assert.error
Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-01 12:37 UTC by Ralph Ruijs
Modified: 2016-12-05 19:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225950


Attachments
stacktrace (1.81 KB, text/plain)
2016-11-01 12:37 UTC, Ralph Ruijs
Details
stacktrace (1.81 KB, text/plain)
2016-11-02 17:37 UTC, skygo
Details
stacktrace (1.81 KB, text/plain)
2016-12-05 19:57 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
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.