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 252983

Summary: NullPointerException at org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesComparator.compare
Product: projects Reporter: muellermi <muellermi>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: RESOLVED FIXED    
Severity: normal CC: hof, marfous, misterm, muellermi, pangalz
Priority: P1    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217915
Attachments: stacktrace
stacktrace
stacktrace

Description muellermi 2015-06-14 14:46:35 UTC
Build: NetBeans IDE Dev (Build 201506130001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 8

User Comments:
muellermi: re-build solution

hof: Cancel process of running Java app.




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:352)
   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 muellermi 2015-06-14 14:46:36 UTC
Created attachment 154205 [details]
stacktrace
Comment 2 muellermi 2015-06-14 14:49:21 UTC
Created attachment 154206 [details]
stacktrace

its getting annoying... :(
Comment 3 muellermi 2015-06-14 15:01:21 UTC
Created attachment 154208 [details]
stacktrace

starting web app
Comment 4 muellermi 2015-06-14 15:08:01 UTC
I deleted all NB files (below appData) including my user dir and cache dir, but this error (or lots of similar) occur every time whilst starting NB, m y App, and sometimes during editing.
Since this disables fluent work, I set it to highest priority.
Comment 5 muellermi 2015-06-14 19:50:45 UTC
I de-installed all former NB versions and NB-dirs, just to ensure there are no side effects.
After installing the latest build, the problem still exists.
Comment 6 Tomas Stupka 2015-06-15 11:10:50 UTC
fixed in jet-main #d224c112c36e
Comment 7 Tomas Stupka 2015-06-15 11:19:24 UTC
*** Bug 252989 has been marked as a duplicate of this bug. ***
Comment 8 Tomas Stupka 2015-06-15 13:16:59 UTC
*** Bug 253003 has been marked as a duplicate of this bug. ***
Comment 9 Quality Engineering 2015-06-16 02:18:29 UTC
Integrated into 'main-silver', will be available in build *201506160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d224c112c36e
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #252983 - NullPointerException at org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesComparator.compare