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 254319 - AssertionError: Need to normalize ... Different letter-case in path
Summary: AssertionError: Need to normalize ... Different letter-case in path
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
: 254801 (view as bug list)
Depends on:
Reported: 2015-08-12 15:18 UTC by ytn01
Modified: 2016-06-14 08:05 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 209011

stacktrace (2.70 KB, text/plain)
2015-08-12 15:18 UTC, ytn01
stacktrace (3.32 KB, text/plain)
2015-08-12 15:51 UTC, ytn01
stacktrace (7.24 KB, text/plain)
2016-06-14 08:02 UTC, Alexander Simon
stacktrace (4.92 KB, text/plain)
2016-06-14 08:05 UTC, Alexander Simon

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2015-08-12 15:18:45 UTC
Build: NetBeans IDE Dev (Build 201508100002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-ea-b25
OS: Mac OS X

User Comments:
ytn01: 1. Created a new web application with Glassfish server.
2. Added a simple plain text Restful service to it.
3. Compiled, deployed and run service.
4. Attempted to Test resource uri,... kept getting "project needs to be deployed" error dialog.
5. Deleted project
6. Created project again with same format,... exception was thrown,... and project didn't load on projects window,... but "index.html" page of project was opened.

GUEST: Once I creating a new C++ project, this problem appear.

java.lang.AssertionError: Need to normalize /Users/YTN/NetBeansProjects/RESTFULtest/src/java(class was /Users/YTN/NetBeansProjects/RESTfulTest/src/java(class
   at org.openide.filesystems.FileUtil.assertNormalized(
   at org.openide.filesystems.FileUtil.assertNormalized(
   at org.openide.filesystems.FileChangeImpl.addFileChangeListenerImpl(
   at org.openide.filesystems.FileUtil.addFileChangeListener(
Comment 1 ytn01 2015-08-12 15:18:47 UTC
Created attachment 155300 [details]
Comment 2 ytn01 2015-08-12 15:51:27 UTC
Created attachment 155302 [details]

1. Created multiple Java Web Projects with unique server and JEE version settings
2. Made some manipulation to projects (added servlets, modified index pages, etc) and deploy/run all
3. Selected all projects and pressed "Debug" from IDE toolbar

exception was generated.
Comment 3 Jaroslav Havlin 2015-08-13 07:28:00 UTC
Thank you for reporting.

There is different letter-case in these file names:
RESTFULtest vs. RESTfulTest

Did you rename the folder?

(It is a problem to detect these file-name changes on case-insensitive filesystems.)
Comment 4 Jaroslav Havlin 2015-09-22 12:01:42 UTC
*** Bug 254801 has been marked as a duplicate of this bug. ***
Comment 5 Alexander Simon 2016-06-14 08:02:20 UTC
Created attachment 160042 [details]

start ide
Comment 6 Alexander Simon 2016-06-14 08:05:20 UTC
Created attachment 160043 [details]

start ide