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 204657 - IllegalArgumentException: Parameter file was not normalized. Was /Users/alvin/Projects/vegas/ResearchApp/../CoreServicesPlugin instead of /Users/alvin/Projects/vegas/CoreServicesPlugin
Summary: IllegalArgumentException: Parameter file was not normalized. Was /Users/alvin...
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 7.1
Hardware: All All
: P1 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 23:34 UTC by athompson
Modified: 2011-11-21 15:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182577


Attachments
stacktrace (1.69 KB, text/plain)
2011-11-03 23:34 UTC, athompson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description athompson 2011-11-03 23:34:00 UTC
Build: NetBeans IDE Dev (Build 201110270600)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06-395, Java(TM) SE Runtime Environment, 1.6.0_27-b07-395-11M3515
OS: Mac OS X

User Comments:
athompson: i explicitly referenced a grails plugin in a sibling folder using a relative path (which is legal)




Stacktrace: 
java.lang.IllegalArgumentException: Parameter file was not normalized. Was /Users/alvin/Projects/vegas/ResearchApp/../CoreServicesPlugin instead of /Users/alvin/Projects/vegas/CoreServicesPlugin
   at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:1016)
   at org.netbeans.modules.groovy.grailsproject.classpath.SourceRoots.getRoots(SourceRoots.java:95)
   at org.netbeans.modules.groovy.grailsproject.classpath.ClassPathProviderImpl.getPrimarySrcPath(ClassPathProviderImpl.java:102)
   at org.netbeans.modules.groovy.grailsproject.classpath.ClassPathProviderImpl.getType(ClassPathProviderImpl.java:134)
   at org.netbeans.modules.groovy.grailsproject.classpath.ClassPathProviderImpl.getSourcepath(ClassPathProviderImpl.java:194)
   at org.netbeans.modules.groovy.grailsproject.classpath.ClassPathProviderImpl.findClassPath(ClassPathProviderImpl.java:234)
Comment 1 athompson 2011-11-03 23:34:03 UTC
Created attachment 112808 [details]
stacktrace
Comment 2 athompson 2011-11-08 18:03:06 UTC
Once the error starts, it's constant and makes the IDE unusable
Comment 3 Petr Hejl 2011-11-08 20:17:43 UTC
Fixed in web-main bd73a440b8d9.
Comment 4 Quality Engineering 2011-11-09 16:10:31 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/bd73a440b8d9
User: Petr Hejl <phejl@netbeans.org>
Log: #204657 IllegalArgumentException: Parameter file was not normalized. Was /Users/alvin/Projects/vegas/ResearchApp/../CoreServicesPlugin instead of /Users/alvin/Projects/vegas/CoreServicesPlugin
Comment 5 athompson 2011-11-21 15:35:10 UTC
Haven't seen it since...