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 - NullPointerException at org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesComparator.compare
Summary: NullPointerException at org.netbeans.modules.maven.nodes.DependenciesNode$Dep...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 252989 253003 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-14 14:46 UTC by muellermi
Modified: 2015-06-16 02:18 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217915


Attachments
stacktrace (2.57 KB, text/plain)
2015-06-14 14:46 UTC, muellermi
Details
stacktrace (2.57 KB, text/plain)
2015-06-14 14:49 UTC, muellermi
Details
stacktrace (2.57 KB, text/plain)
2015-06-14 15:01 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
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