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 241843

Summary: AssertionError: Need to normalize /Users/michalo/NetBeansProjects/cppapplication_3(class java.io.File) was /Users/michalo/NetBeansProjects/CppApplication_3(class java.io.File)
Product: cnd Reporter: michal.owsiak
Component: ProjectAssignee: issues@cnd <issues>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 188877
Attachments: stacktrace

Description michal.owsiak 2014-02-13 19:37:44 UTC
Build: NetBeans IDE Dev (Build 201402100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b12
OS: Mac OS X

User Comments:
michal.owsiak: The issue with wrong file names in Cpp projects reffers also to C/C++ templates - e.g. Application

GUEST: Opening an existing project with a newly-installed instance of NetBeans IDE Dev 201208040001.




Stacktrace: 
java.lang.AssertionError: Need to normalize /Users/michalo/NetBeansProjects/cppapplication_3(class java.io.File) was /Users/michalo/NetBeansProjects/CppApplication_3(class java.io.File)
   at org.openide.filesystems.FileUtil.assertNormalized(FileUtil.java:153)
   at org.openide.filesystems.FileUtil.toFile(FileUtil.java:829)
   at org.netbeans.modules.versioning.core.api.VCSFileProxy.createFileProxy(VCSFileProxy.java:168)
   at org.netbeans.modules.versioning.masterfs.FilesystemInterceptor.beforeCreate(FilesystemInterceptor.java:223)
   at org.netbeans.modules.masterfs.ProvidedExtensionsProxy$2.run(ProvidedExtensionsProxy.java:157)
   at org.netbeans.modules.masterfs.ProvidedExtensionsProxy.runCheckCode(ProvidedExtensionsProxy.java:493)
Comment 1 michal.owsiak 2014-02-13 19:37:48 UTC
Created attachment 145164 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-02-17 15:32:16 UTC
Duplicate of issue 240180.

The cause might be similar to bug 238679. Reassigning to cnd/Project. The path with wrong case may be used in some CND module.

Thank you for reporting.

*** This bug has been marked as a duplicate of bug 240180 ***