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 132327 - IllegalArgumentException after running in command line.
Summary: IllegalArgumentException after running in command line.
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks: 131609
  Show dependency tree
 
Reported: 2008-04-08 14:18 UTC by Victoria Zhukovskaya
Modified: 2008-04-10 12:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victoria Zhukovskaya 2008-04-08 14:18:48 UTC
build 080408

1. Create New PHP Project - set Project sources folder to D:\Program Files\Apache Software Foundation\Apache2.2\htdocs
  see - Project URL is  http://localhost/PhpProject15. (shold be http://localhost/?) 
2. Press Finish
3. Add to php file f.e. echo "Hi!";
4. Select index.php on Project tab and invoke Run in Command Line.

There is IllegalArgumentException but  output is correct.



java.lang.IllegalArgumentException: Parameter file was not normalized. Was
D:\DOCUME~1\VZ1532~1.OLY\LOCALS~1\Temp\index.php3942.html instead of D:\Documents and Settings\vz153235.OLYMP\Local
Settings\Temp\index.php3942.html
	at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:649)
	at org.netbeans.modules.php.project.RunLocalCommand.openInOutput(RunLocalCommand.java:251)
	at org.netbeans.modules.php.project.RunLocalCommand.run(RunLocalCommand.java:166)
	at org.netbeans.modules.php.project.PhpActionProvider$PhpCommandRunner$1.run(PhpActionProvider.java:277)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Tomas Mysik 2008-04-08 17:30:39 UTC
Reassigning to Radek, thanks.

One notice:
> 1. Create New PHP Project - set Project sources folder to D:\Program Files\Apache Software
> Foundation\Apache2.2\htdocs  see - Project URL is  http://localhost/PhpProject15. (shold be http://localhost/?)

It is completely up to user to corretly setup his/her project. We are not able and we don't want to investigate what 
the correct URL should be (user can have not Apache but e.g. Lighttpd web server, user can start web server with some 
custom configuration etc.)
Comment 2 rmatous 2008-04-08 18:04:52 UTC
Fixed, file normalized:
http://hg.netbeans.org/release61/rev/af64dfd0154f
Comment 3 Victoria Zhukovskaya 2008-04-10 12:24:00 UTC
verified in Build #1989 (Apr 10, 2008 10:16:42 AM)