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 - AssertionError: Need to normalize C:\Users\MackSix\Documents\NetBeansProjects\jogl-samples-master\jogl-samples\src\helloTriangle\shaders\vs.glsl (class java.io.File) was C:\Users\MackSix\Documents\Net
Summary: AssertionError: Need to normalize C:\Users\MackSix\Documents\NetBeansProjects...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
: 255849 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-10 22:04 UTC by MackSix
Modified: 2015-10-12 07:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220476


Attachments
stacktrace (7.88 KB, text/plain)
2015-10-10 22:04 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
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.




Stacktrace: 
java.lang.AssertionError: Need to normalize C:\Users\MackSix\Documents\NetBeansProjects\jogl-samples-master\jogl-samples\src\helloTriangle\shaders\vs.glsl (class java.io.File) was C:\Users\MackSix\Documents\NetBeansProjects\jogl-samples-master\jogl-samples\src\helloTriangle\shaders\vs.glsl(class java.io.File)
   at org.openide.filesystems.FileUtil.assertNormalized(FileUtil.java:157)
   at org.openide.filesystems.FileUtil.toFile(FileUtil.java:840)
   at org.openide.filesystems.FileUtil.getFileDisplayName(FileUtil.java:1547)
   at org.openide.text.DataEditorSupport.toolTip(DataEditorSupport.java:354)
   at org.openide.text.DataEditorSupport.messageToolTip(DataEditorSupport.java:373)
   at org.openide.text.CloneableEditor$1.run(CloneableEditor.java:498)
Comment 1 MackSix 2015-10-10 22:04:24 UTC
Created attachment 156651 [details]
stacktrace
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.