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 243294

Summary: NullPointerException at org.netbeans.modules.maven.j2ee.utils.Server.compareTo
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: MavenAssignee: Martin Janicek <mjanicek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 208714
Attachments: stacktrace

Description Exceptions Reporter 2014-03-26 14:55:00 UTC
This bug was originally marked as duplicate of bug 239263, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: Simple opening




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.j2ee.utils.Server.compareTo(Server.java:112)
   at org.netbeans.modules.maven.j2ee.utils.Server.compareTo(Server.java:64)
   at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:290)
   at java.util.ComparableTimSort.sort(ComparableTimSort.java:157)
   at java.util.ComparableTimSort.sort(ComparableTimSort.java:146)
   at java.util.Arrays.sort(Arrays.java:472)
Comment 1 Exceptions Reporter 2014-03-26 14:55:03 UTC
Created attachment 146331 [details]
stacktrace
Comment 2 Martin Janicek 2014-07-09 08:50:13 UTC
Fixed by change-set: web-main #c70de77e3057
Comment 3 Quality Engineering 2014-07-10 02:46:26 UTC
Integrated into 'main-silver', will be available in build *201407100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c70de77e3057
User: Martin Janicek <mjanicek@netbeans.org>
Log: #243294 - NullPointerException at org.netbeans.modules.maven.j2ee.utils.Server.compareTo