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 196727

Summary: NullPointerException at org.netbeans.modules.apisupport.project.universe.ClusterUtils.getClusterDirectory
Product: apisupport Reporter: J Bachorik <yardus>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 177587
Attachments: stacktrace

Description J Bachorik 2011-03-15 13:21:40 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102150001)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.0-b09, Java(TM) SE Runtime Environment, 1.6.0_26-ea-b01
OS: Linux

User Comments:
yardus: Adding a maven based netbeans module project as a platform module for ant based netbeans suite project.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.apisupport.project.universe.ClusterUtils.getClusterDirectory(ClusterUtils.java:87)
   at org.netbeans.modules.apisupport.project.ui.customizer.ClusterInfo.create(ClusterInfo.java:215)
   at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerLibraries.addProjectButtonActionPerformed(SuiteCustomizerLibraries.java:684)
   at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerLibraries.access$1400(SuiteCustomizerLibraries.java:128)
   at org.netbeans.modules.apisupport.project.ui.customizer.SuiteCustomizerLibraries$10.actionPerformed(SuiteCustomizerLibraries.java:537)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Comment 1 J Bachorik 2011-03-15 13:21:44 UTC
Created attachment 107020 [details]
stacktrace
Comment 2 Jesse Glick 2011-03-15 22:34:52 UTC
Can avoid the NPE, but I don't think what you are attempting is possible. Cannot tell from description exactly what you did (or why).
Comment 3 Jesse Glick 2011-03-15 22:35:38 UTC
core-main #16b96892a5c4
Comment 4 Quality Engineering 2011-03-17 09:54:31 UTC
Integrated into 'main-golden', will be available in build *201103170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/16b96892a5c4
User: Jesse Glick <jglick@netbeans.org>
Log: #196727: NullPointerException at org.netbeans.modules.apisupport.project.universe.ClusterUtils.getClusterDirectory