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 242150 - NullPointerException at org.netbeans.modules.maven.execute.CommandLineOutputHandler.trimTree
Summary: NullPointerException at org.netbeans.modules.maven.execute.CommandLineOutputH...
Status: RESOLVED INCOMPLETE
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 14:43 UTC by malakim
Modified: 2014-07-09 14:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207823


Attachments
stacktrace (1.08 KB, text/plain)
2014-02-20 14:43 UTC, malakim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description malakim 2014-02-20 14:43:47 UTC
This bug was originally marked as duplicate of bug 236768, 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 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b129
OS: Linux

User Comments:
malakim: Building mvn project

hmichel: Updating sonar from our project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.maven.execute.CommandLineOutputHandler.trimTree(CommandLineOutputHandler.java:555)
   at org.netbeans.modules.maven.execute.CommandLineOutputHandler.processExecEvent(CommandLineOutputHandler.java:463)
   at org.netbeans.modules.maven.execute.CommandLineOutputHandler.access$300(CommandLineOutputHandler.java:95)
   at org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:301)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 malakim 2014-02-20 14:43:49 UTC
Created attachment 145438 [details]
stacktrace
Comment 2 Milos Kleint 2014-02-20 16:24:14 UTC
a sample project demonstrating the problem is crucial here.
Comment 3 malakim 2014-02-20 19:05:03 UTC
Unfortunately I can't upload the project - it's a project I'm working on for a client.

I will try to construct a project that exhibits the same behavior. If it helps, the project that triggers this problem is generating huge amounts of console output - the build log in Jenkins is usually around 185 mb.
Comment 4 Milos Kleint 2014-02-20 19:39:12 UTC
from past experience it's mostly about the plugin configurations and what goals get executed, not project content. I've fixed some sonar related issues in issue 236768 but maybe some scenarios escaped me.
Comment 5 malakim 2014-02-20 19:41:17 UTC
OK - let me try to reproduce the issue tomorrow when I get into work.
Comment 6 Tomas Stupka 2014-05-16 14:21:01 UTC
any update on this?