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.
Build: NetBeans IDE Dev JDK9 Branch (Build 20160719-acc3fd495f6c) VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14 OS: Linux User Comments: mbalin: Attempt to add JUnitxy.jar as LIbrary into Project Properties | Libraries customizer. The new version in JDK9 branch. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.java.api.common.project.ui.ClassPathUiSupport.addLibraries(ClassPathUiSupport.java:230) at org.netbeans.modules.java.api.common.project.ui.customizer.EditMediator$1$1.run(EditMediator.java:412) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709)
Created attachment 161341 [details] stacktrace
Fixed in jet-main jdk9 branch. http://hg.netbeans.org/jet-main/rev/11fe1873b426
Integrated into 'main-silver', will be available in build *201610110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/11fe1873b426 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #267215 - NullPointerException at org.netbeans.modules.java.api.common.project.ui.ClassPathUiSupport.addLibraries - fixed.