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 218536 - AssertionError: Need to normalize C:\PROGRA~1\Java\JDK17~1.0_0\db\lib\derby.jar was C:\Program Files\Java\jdk1.7.0_07\db\lib\derby.jar
Summary: AssertionError: Need to normalize C:\PROGRA~1\Java\JDK17~1.0_0\db\lib\derby.j...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-18 13:23 UTC by Jiri Prox
Modified: 2012-11-24 13:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192529


Attachments
stacktrace (11.12 KB, text/plain)
2012-09-18 13:23 UTC, Jiri Prox
Details
stacktrace (13.07 KB, text/plain)
2012-10-15 09:08 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2012-09-18 13:23:47 UTC
Build: NetBeans IDE Dev (Build 201209170001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

User Comments:
jiriprox: AE when adding new glasfish server




Stacktrace: 
java.lang.AssertionError: Need to normalize C:\PROGRA~1\Java\JDK17~1.0_0\db\lib\derby.jar was C:\Program Files\Java\jdk1.7.0_07\db\lib\derby.jar
   at org.openide.filesystems.FileUtil.assertNormalized(FileUtil.java:141)
   at org.openide.filesystems.FileUtil.toFile(FileUtil.java:1016)
   at org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider.addLibraryIntoBuild(J2SELibraryTypeProvider.java:212)
   at org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider.access$000(J2SELibraryTypeProvider.java:82)
   at org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider$1.run(J2SELibraryTypeProvider.java:138)
   at org.openide.util.Mutex.postRequest(Mutex.java:1258)
Comment 1 Jiri Prox 2012-09-18 13:23:50 UTC
Created attachment 124512 [details]
stacktrace
Comment 2 Vladimir Riha 2012-10-15 09:08:16 UTC
Created attachment 125960 [details]
stacktrace

registering GlassFish server
Comment 3 TomasKraus 2012-11-22 14:55:19 UTC
This looks more like derby related issue.
Comment 4 Jaroslav Havlin 2012-11-22 16:28:42 UTC
http://hg.netbeans.org/core-main/rev/de1ff4f76b64
It should work fine now. Please verify. Thank you.
Comment 5 Quality Engineering 2012-11-24 13:08:20 UTC
Integrated into 'main-golden', will be available in build *201211240959* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/de1ff4f76b64
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #218536: AssertionError: Need to normalize in DerbyOptions.registerLibrary