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 227258

Summary: IllegalArgumentException: Parameter aRoot was not normalized. Was c:\users\christoforosl\oracle\fm11.1.2.1_64b\wlserver_10.3\..\oracle_common\modules\oracle.jsf_2.0\jsf-ri-20.war instead of C:\Users\c
Product: serverplugins Reporter: chrisl08
Component: WebLogicAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 198525
Attachments: stacktrace

Description chrisl08 2013-03-10 10:48:48 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows 7

User Comments:
GUEST: Been scanning for the past 15min

GUEST: I attempted to create a new Web Services Project.  Upon clicking "Finish" in the wizard, the project was not displayed & this error showed up.

chrisl08: Created web project from existing sources, with weblogic as the application server




Stacktrace: 
java.lang.IllegalArgumentException: Parameter aRoot was not normalized. Was c:\users\christoforosl\oracle\fm11.1.2.1_64b\wlserver_10.3\..\oracle_common\modules\oracle.jsf_2.0\jsf-ri-20.war instead of C:\Users\christoforosl\oracle\fm11.1.2.1_64b\oracle_common\modules\oracle.jsf_2.0\jsf-ri-20.war
   at org.openide.filesystems.JarFileSystem.setJarFile(JarFileSystem.java:280)
   at org.openide.filesystems.JarFileSystem.setJarFile(JarFileSystem.java:269)
   at org.netbeans.modules.j2ee.weblogic9.config.WLServerLibrarySupport.readFromFile(WLServerLibrarySupport.java:297)
   at org.netbeans.modules.j2ee.weblogic9.config.WLServerLibrarySupport.getDeployedLibraries(WLServerLibrarySupport.java:194)
   at org.netbeans.modules.j2ee.weblogic9.config.WLServerLibraryManager.getDeployedLibraries(WLServerLibraryManager.java:170)
   at org.netbeans.modules.j2ee.weblogic9.config.WLServerLibraryManager.filterDeployed(WLServerLibraryManager.java:225)
Comment 1 chrisl08 2013-03-10 10:48:50 UTC
Created attachment 132427 [details]
stacktrace
Comment 2 Jaroslav Tulach 2013-07-18 08:08:28 UTC
The caller of JarFileSystem.setJarFile e.g. weblogic9.config.WLServerLibrarySupport is supposed to normalize the passed in file.

I have clarified the current behavior in ergonomics#d68c7e8fff49
Comment 3 Petr Hejl 2013-07-18 08:31:00 UTC
Fixed in web-main 08e1829d9c24.
Comment 4 Quality Engineering 2013-07-19 02:31:31 UTC
Integrated into 'main-silver', will be available in build *201307182300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/08e1829d9c24
User: Petr Hejl <phejl@netbeans.org>
Log: #227258 - IllegalArgumentException: Parameter aRoot was not normalized. Was c:\users\christoforosl\oracle\fm11.1.2.1_64b\wlserver_10.3\..\oracle_common\modules\oracle.jsf_2.0\jsf-ri-20.war instead of C:\Users\c
Comment 5 Quality Engineering 2013-07-20 02:09:43 UTC
Integrated into 'main-silver', will be available in build *201307192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d68c7e8fff49
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #227258: Documenting the actual behavior. The incoming file was always supposed to be normalized.