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 228346 - Exception creating a maven project
Summary: Exception creating a maven project
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-07 17:19 UTC by janario
Modified: 2013-04-08 12:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (70.72 KB, text/plain)
2013-04-07 17:19 UTC, janario
Details

Note You need to log in before you can comment on or make changes to this bug.
Description janario 2013-04-07 17:19:34 UTC
When I create a maven project it throws a message with a NullPointerException.


Product Version = NetBeans IDE Dev (Build 20130407-92284ad70b21)
Operating System = Linux version 3.5.0-26-generic running on amd64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01


INFO [org.netbeans.core.ui.focus]: External Changes Refresh on focus gain disabled
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output
java.lang.NullPointerException: The file parameter cannot be null
	at org.openide.util.Parameters.notNull(Parameters.java:89)
	at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:855)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.processExecEvent(CommandLineOutputHandler.java:345)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:234)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:424)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler.setStdOut(CommandLineOutputHandler.java:128)
	at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:202)
Comment 1 janario 2013-04-07 17:19:45 UTC
Created attachment 133346 [details]
IDE log
Comment 2 Milos Kleint 2013-04-08 12:07:22 UTC
http://hg.netbeans.org/core-main/rev/63d772182e1b

thanks for the report.