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 165478 - IllegalArgumentException when user builds some project
Summary: IllegalArgumentException when user builds some project
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 11:30 UTC by soldatov
Modified: 2009-05-20 07:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (50.00 KB, application/x-tar)
2009-05-19 11:31 UTC, soldatov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2009-05-19 11:30:08 UTC
Scenario:
- Untar attached project into /export/NB directory
- Build it
==>
java.lang.IllegalArgumentException: Parameter file was not normalized. Was
/export/NB/testMakefileBasedProject1/project/. instead of /export/NB/testMakefileBasedProject1/project
	at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:870)
	at org.netbeans.modules.cnd.execution.OutputWindowWriter$ErrorParser.resolveFile(OutputWindowWriter.java:255)
	at org.netbeans.modules.cnd.execution.OutputWindowWriter$GCCErrorParser.handleLine(OutputWindowWriter.java:526)
	at org.netbeans.modules.cnd.execution.OutputWindowWriter.handleLine(OutputWindowWriter.java:149)
	at org.netbeans.modules.cnd.execution.OutputWindowWriter.write(OutputWindowWriter.java:118)
	at java.io.Writer.write(Writer.java:175)
	at java.io.PrintWriter.write(PrintWriter.java:412)
	at java.io.PrintWriter.write(PrintWriter.java:429)
[catch] at org.netbeans.modules.cnd.execution.LocalNativeExecution$OutputReaderThread.run(LocalNativeExecution.java:237)
Comment 1 soldatov 2009-05-19 11:31:01 UTC
Created attachment 82374 [details]
project
Comment 2 Vladimir Voskresensky 2009-05-19 11:52:01 UTC
fixed
http://hg.netbeans.org/cnd-main?cmd=changeset;node=5ba579fb6372
Comment 3 Quality Engineering 2009-05-20 07:20:09 UTC
Integrated into 'main-golden', will be available in build *200905200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5ba579fb6372
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed IZ#165478: IllegalArgumentException when user builds some project