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.
Summary: | IllegalArgumentException: Parameter file was not normalized. Was c:\Progra~1\Java\jdk1.6.0_13\jre\lib\jsse.jar instead of C:\Program Files\Java\jdk1.6.0_13\jre\lib\jsse.jar | ||
---|---|---|---|
Product: | editor | Reporter: | pribyl <pribyl> |
Component: | Parsing & Indexing | Assignee: | Vitezslav Stejskal <vstejskal> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | CC: | mmirilovic |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=148823 | ||
Issue Type: | DEFECT | Exception Reporter: | 148823 |
Attachments: |
stacktrace
msg log |
Description
pribyl
2009-04-03 10:16:21 UTC
Created attachment 79360 [details]
stacktrace
I am able to reproduce this issue with following steps: 1,In the IDE, create new project (e.g. "C:\TestProject"), close the IDE. 2,Delete userdir 3,open command line console and run NB with parameter: --open "C:\TestProject" This Exception (and some more) is thrown during the "activating Java" process. Created attachment 79365 [details]
msg log
I think this warning falls to the category of warnings that should have lower log level (eg. FINE). It's really just a warning. The call to FU.toFO succeeds even for not normalized File instances. IMO there is no point in forcing everybody to call FU.normalizeFile before calling FU.toFO. Moreover if that's exactly what FU.toFO does as well. It does normalization only if assertions are turned on. Also exception is thrown only when assertions are enabled. Otherwise input file is not normalized and it may lead to faulty behavior. Ok, so someone, somewhere is somehow adding not-normalized path to a classpath. Seems no longer happening. Please reopen if this is spotted again in recent dev builds. |