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 198238 - [70cat] IllegalArgumentException: Parameter file was not normalized. Was init.php instead of /home/schkovich/init.php
Summary: [70cat] IllegalArgumentException: Parameter file was not normalized. Was init...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 10:03 UTC by schkovich
Modified: 2011-05-05 05:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 175986


Attachments
stacktrace (2.13 KB, text/plain)
2011-05-02 10:03 UTC, schkovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schkovich 2011-05-02 10:03:22 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
schkovich: click on the name of the file given as argument of require_once statement e.g. require_once("somefile.php");
The file did open regardless of exception thrown.

GUEST: shift +left click into the code, highlighting a php filename on a sentence like include('filename.php');




Stacktrace: 
java.lang.IllegalArgumentException: Parameter file was not normalized. Was init.php instead of /home/schkovich/init.php
   at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:1012)
   at org.netbeans.modules.php.editor.model.impl.VariousUtils.resolveInclude(VariousUtils.java:782)
   at org.netbeans.modules.php.editor.model.impl.IncludeElementImpl.getFileObject(IncludeElementImpl.java:74)
   at org.netbeans.modules.php.editor.nav.DeclarationFinderImpl.findDeclarationImpl(DeclarationFinderImpl.java:209)
   at org.netbeans.modules.php.editor.nav.DeclarationFinderImpl.findDeclarationImpl(DeclarationFinderImpl.java:198)
   at org.netbeans.modules.php.editor.nav.DeclarationFinderImpl.findDeclaration(DeclarationFinderImpl.java:86)
Comment 1 schkovich 2011-05-02 10:03:25 UTC
Created attachment 108044 [details]
stacktrace
Comment 2 Petr Pisl 2011-05-04 13:27:31 UTC
Should be fixed now in web-main.
Comment 3 Quality Engineering 2011-05-05 05:59:58 UTC
Integrated into 'main-golden', will be available in build *201105050000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f3e5ca691e58
User: Petr Pisl <ppisl@netbeans.org>
Log: #198238 - [70cat] IllegalArgumentException: Parameter file was not normalized. Was init.php instead of /home/schkovich/init.php