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 172121 - IllegalArgumentException: Parameter file was not normalized. Was \a\j\glassfish-v3-b62\glassfish\lib\schemas\orm_2_0.xsd instead of C:\a\j\glassfish-v3-b62\glassfish\lib\schemas\orm_2_0.xsd
Summary: IllegalArgumentException: Parameter file was not normalized. Was \a\j\glassfi...
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ alexpetrov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 02:26 UTC by err
Modified: 2009-10-14 10:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 158415


Attachments
stacktrace (7.65 KB, text/plain)
2009-09-14 02:26 UTC, err
Details

Note You need to log in before you can comment on or make changes to this bug.
Description err 2009-09-14 02:26:14 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-3923-on-090911)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments:
err: NewFile>XML>XMLDocument>FileName>Schema-Constrained

In the URL fields I entered: /a/j/glassfish-v3-b62/glassfish/lib/schemas/orm_2_0.xsd
(I use cygwin and that was easily available)



Stacktrace: 
java.lang.IllegalArgumentException: Parameter file was not normalized. Was \a\j\glassfish-v3-b62\glassfish\lib\schemas\orm_2_0.xsd instead of C:\a\j\glassfish-v3-b62\glassfish\lib\schemas\orm_2_0.xsd
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:876)
        at org.netbeans.modules.xml.wizard.XMLContentPanel.getSchemaInfo(XMLContentPanel.java:297)
        at org.netbeans.modules.xml.wizard.XMLContentPanel.initView(XMLContentPanel.java:268)
        at org.netbeans.modules.xml.wizard.AbstractPanel.setObject(AbstractPanel.java:103)
        at org.netbeans.modules.xml.wizard.impl.XMLWizardIterator.getXMLContentPanel(XMLWizardIterator.java:492)
        at org.netbeans.modules.xml.wizard.impl.XMLWizardIterator.currentComponent(XMLWizardIterator.java:296)
Comment 1 err 2009-09-14 02:26:18 UTC
Created attachment 87572 [details]
stacktrace
Comment 2 err 2009-09-14 02:36:43 UTC
On the next try (I had some other issues...) I entered
    c:\a\j\glassfish-v3-b62\glassfish\lib\schemas\orm_2_0.xsd
and it ignored that. I had to use the /a/j/... 
Comment 3 Sergey Lunegov 2009-09-14 09:55:49 UTC
Alex, please take a look.
Comment 4 _ alexpetrov 2009-10-12 15:47:38 UTC
Fixed in trunk: http://hg.netbeans.org/main/rev/3f0802155939
Comment 5 Quality Engineering 2009-10-14 10:53:12 UTC
Integrated into 'main-golden', will be available in build *200910140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3f0802155939
User: Alex Petrov <alexpetrov@netbeans.org>
Log: Fix for issue [#172121]. IllegalArgumentException: Parameter file was not normalized.