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 171398 - IllegalArgumentException: Parameter file was not normalized. Was /Users/michael/NetBeansProjects/yui/grails-app/controllers/mainController.groovy instead of /Users/michael/NetBeansProjects/yui/grails-
Summary: IllegalArgumentException: Parameter file was not normalized. Was /Users/micha...
Status: RESOLVED INCOMPLETE
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2009-09-03 13:22 UTC by mgkimsal
Modified: 2009-09-09 12:07 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157801


Attachments
stacktrace (2.13 KB, text/plain)
2009-09-03 13:22 UTC, mgkimsal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mgkimsal 2009-09-03 13:22:29 UTC
Build: NetBeans IDE Dev (Build 200909011401)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-90, Java(TM) SE Runtime Environment, 1.6.0_15-b03-219
OS: Mac OS X, 10.6, x86_64

Stacktrace: 
java.lang.IllegalArgumentException: Parameter file was not normalized. Was /Users/michael/NetBeansProjects/yui/grails-app/controllers/mainController.groovy instead of /Users/michael/NetBeansProjects/yui/grails-app/controllers/MainController.groovy
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:874)
        at org.netbeans.modules.groovy.editor.api.parser.GroovyVirtualSourceProvider.getClassNodes(GroovyVirtualSourceProvider.java:145)
        at org.netbeans.modules.groovy.editor.api.parser.GroovyVirtualSourceProvider.translate(GroovyVirtualSourceProvider.java:107)
        at org.netbeans.modules.java.source.usages.VirtualSourceProviderQuery.translate(VirtualSourceProviderQuery.java:143)
        at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.translateVirtualSources(JavaCustomIndexer.java:252)
        at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:152)
Comment 1 mgkimsal 2009-09-03 13:22:41 UTC
Created attachment 87044 [details]
stacktrace
Comment 2 Petr Hejl 2009-09-03 14:42:55 UTC
Is this reliably reproducible for you? Is it random?

Did you perform any action related to this file, such as move, rename...?
Comment 3 mgkimsal 2009-09-03 14:45:55 UTC
Seems to happen whenever I save a groovy file.
Comment 4 Petr Hejl 2009-09-03 14:56:05 UTC
Do you mean really any groovy file (domain class, service class...)? Or just mentioned MainController.groovy?

Can you provide the exact steps how did you create it? Grails wizard, ordinary groovy class wizard or externally?
Comment 5 Tomas Zezula 2009-09-03 15:06:54 UTC
If you are able to reproduce it we will add logging to find out what happens.
Comment 6 mgkimsal 2009-09-03 15:27:19 UTC
can not seem to recreate it now, unfortunately.  if I can I will post more info.  It *seemed* to only be happening when 
I was actually running the grails project from within netbeans (clicking on the project and choosing 'run project').
Comment 7 Quality Engineering 2009-09-07 09:56:14 UTC
Integrated into 'main-golden', will be available in build *200909041634* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0675379c2905
User: Tomas Zezula <tzezula@netbeans.org>
Log: #171398:IllegalArgumentException: Parameter file was not normalized.