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 255848

Summary: AssertionError: Need to normalize C:\Users\MackSix\Documents\NetBeansProjects\jogl-samples-master\jogl-samples\src\helloTriangle\shaders\vs.glsl (class was C:\Users\MackSix\Documents\Net
Product: platform Reporter: MackSix
Component: Data SystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220476
Attachments: stacktrace

Description MackSix 2015-10-10 22:04:22 UTC
This bug was originally marked as duplicate of bug 240180, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 RC2 (Build 201510082301)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
MackSix: Tried to rename a file from the Projects window from vs.vp to vs.glsl and this happened.

java.lang.AssertionError: Need to normalize C:\Users\MackSix\Documents\NetBeansProjects\jogl-samples-master\jogl-samples\src\helloTriangle\shaders\vs.glsl (class was C:\Users\MackSix\Documents\NetBeansProjects\jogl-samples-master\jogl-samples\src\helloTriangle\shaders\vs.glsl(class
   at org.openide.filesystems.FileUtil.assertNormalized(
   at org.openide.filesystems.FileUtil.toFile(
   at org.openide.filesystems.FileUtil.getFileDisplayName(
   at org.openide.text.DataEditorSupport.toolTip(
   at org.openide.text.DataEditorSupport.messageToolTip(
   at org.openide.text.CloneableEditor$
Comment 1 MackSix 2015-10-10 22:04:24 UTC
Created attachment 156651 [details]
Comment 2 MackSix 2015-10-11 21:20:09 UTC
*** Bug 255849 has been marked as a duplicate of this bug. ***
Comment 3 Jaroslav Havlin 2015-10-12 07:36:23 UTC
It seems that the file name has a trailing space. Didn't you mistakenly hit the space bar when renaming the file? (This could be handled better by NetBeans, of course).

Thank you for reporting.