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 252989

Summary: NullPointerException at org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesComparator.compare
Product: projects Reporter: Martin Fousek <marfous>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: marfous, mkhramov
Priority: P2    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217943
Attachments: stacktrace
stacktrace
stacktrace

Description Martin Fousek 2015-06-15 04:31:35 UTC
Build: NetBeans IDE Dev (Build 20150615-45d368c56dee)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
marfous: Just expanded some  MVN project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesComparator.compare(DependenciesNode.java:467)
   at org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesComparator.compare(DependenciesNode.java:455)
   at java.util.TimSort.countRunAndMakeAscending(TimSort.java:351)
   at java.util.TimSort.sort(TimSort.java:216)
   at java.util.Arrays.sort(Arrays.java:1512)
   at java.util.ArrayList.sort(ArrayList.java:1454)
Comment 1 Martin Fousek 2015-06-15 04:31:38 UTC
Created attachment 154213 [details]
stacktrace
Comment 2 Martin Fousek 2015-06-15 04:34:00 UTC
Increasing priority since I'm unable to successfully open any MVN based project in the latest build.
Comment 3 Martin Fousek 2015-06-15 06:52:21 UTC
Created attachment 154216 [details]
stacktrace

even not opened the project now
Comment 4 Maksim Khramov 2015-06-15 09:34:21 UTC
Created attachment 154222 [details]
stacktrace

Open and explore Maven project
Comment 5 Tomas Stupka 2015-06-15 11:19:24 UTC

*** This bug has been marked as a duplicate of bug 252983 ***