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.
Build: NetBeans IDE Dev (Build 201206140001) VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05 OS: Windows 7 User Comments: jskrivanek: To reproduce: - create Java EE 6 Maven web project with GlassFish server - choose Run on project node and exception appears Stacktrace: java.lang.AssertionError: Need to normalize C:\Users\JSKRIV~1\AppData\Local\Temp was C:\Users\jskrivanek\AppData\Local\Temp at org.openide.filesystems.FileUtil.assertNormalized(FileUtil.java:141) at org.openide.filesystems.FileUtil.toFile(FileUtil.java:1016) at org.netbeans.modules.project.ant.AntBasedProjectFactorySingleton.loadProject(AntBasedProjectFactorySingleton.java:223) at org.netbeans.api.project.ProjectManager.createProject(ProjectManager.java:369) at org.netbeans.api.project.ProjectManager.access$300(ProjectManager.java:86) at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:290)
Created attachment 120818 [details] stacktrace
Created attachment 121717 [details] stacktrace Build maven web project (GlassFish server).
According to: at org.netbeans.modules.parsing.impl.indexing.PathRegistry.createResources(PathRegistry.java:658) the binary classpath (boot, compile) contains non normalized root: C:\Users\jskrivanek\AppData\Local\Temp According to reporter he only opened project was the maven J2EE project, so the classpath has to be provided by it. Reassigning to J2EE maven.
well, doesn't the stacktrace show that C:\Users\JSKRIV~1\AppData\Local\Temp most likely contains a build.xml and nbproject/ directory? and is therefore loaded by the ant project?
Not sure reporter should clarify. The SFBQ causing the project load iterates through the Cps registered in GlobalPathRegistry.
Product Version: NetBeans IDE Dev (Build 201207040002) Java: 1.7.0_06-ea; Java HotSpot(TM) 64-Bit Server VM 23.2-b05 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb) User directory: D:\Development\builds\nbUserdir-20120704082115 Cache directory: D:\Development\builds\nbUserdir-20120704082115\var\cache Maven project created in D:\Development\builds\nbUserdir-20120704082115
No other project opened? Can you look into C:\Users\JSKRIV~1\AppData\Local\Temp what is in it? Thanks
Fixed in web-main 65ca531ad0a1.
Integrated into 'main-golden', will be available in build *201207060002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/65ca531ad0a1 User: Petr Hejl <phejl@netbeans.org> Log: #214182 AssertionError: Need to normalize ... from AntBasedProjectFactorySingleton.loadProject