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 267215

Summary: NullPointerException at org.netbeans.modules.java.api.common.project.ui.ClassPathUiSupport.addLibraries
Product: java Reporter: Martin Balin <mbalin>
Component: ProjectAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal Keywords: JDK_9
Priority: P1    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225324
Attachments: stacktrace

Description Martin Balin 2016-07-20 07:55:18 UTC
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)
Comment 1 Martin Balin 2016-07-20 07:55:20 UTC
Created attachment 161341 [details]
stacktrace
Comment 2 Dusan Balek 2016-07-21 08:23:15 UTC
Fixed in jet-main jdk9 branch.

http://hg.netbeans.org/jet-main/rev/11fe1873b426
Comment 3 Quality Engineering 2016-10-11 01:58:40 UTC
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.