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 254801 - [81cat]AssertionError: Need to normalize /Users/Kaiser/NetBeansProjects/81cat/tutorials/WebAppJUnit/src/java(class java.io.File) was /Users/Kaiser/NetBeansProjects/81cat/tutorials/WebappJunit/src/java
Summary: [81cat]AssertionError: Need to normalize /Users/Kaiser/NetBeansProjects/81cat...
Status: RESOLVED DUPLICATE of bug 254319
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 08:45 UTC by manikantannaren
Modified: 2015-09-22 12:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219476


Attachments
stacktrace (2.84 KB, text/plain)
2015-08-28 08:45 UTC, manikantannaren
Details
stacktrace (3.98 KB, text/plain)
2015-09-03 16:09 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description manikantannaren 2015-08-28 08:45:06 UTC
This bug was originally marked as duplicate of bug 254561, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201508270002)
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:
manikantannaren: 1. Create a Web Project (Ant) with name WebappJunit
2. Creata a class in a package
3. Rename package (will fail)
4. Delete project along with sources
5. Create a web project (Ant) with same name  WebappJunit

GUEST: <Please provide a description of the problem or the steps  to reproduce>

GUEST: Starting a project with a donwload framework




Stacktrace: 
java.lang.AssertionError: Need to normalize /Users/Kaiser/NetBeansProjects/81cat/tutorials/WebAppJUnit/src/java(class java.io.File) was /Users/Kaiser/NetBeansProjects/81cat/tutorials/WebappJunit/src/java(class java.io.File)
   at org.openide.filesystems.FileUtil.assertNormalized(FileUtil.java:157)
   at org.openide.filesystems.FileUtil.assertNormalized(FileUtil.java:141)
   at org.openide.filesystems.FileChangeImpl.addFileChangeListenerImpl(FileChangeImpl.java:220)
   at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:298)
   at org.netbeans.api.java.classpath.ClassPath$RootsListener.safeAddFileChangeListener(ClassPath.java:1336)
   at org.netbeans.api.java.classpath.ClassPath$RootsListener.addRoots(ClassPath.java:1278)
Comment 1 manikantannaren 2015-08-28 08:45:09 UTC
Created attachment 155711 [details]
stacktrace
Comment 2 manikantannaren 2015-08-28 09:05:41 UTC
Could be caused because of Issue #254799
Comment 3 Alexandr Scherbatiy 2015-09-03 16:09:31 UTC
Created attachment 155867 [details]
stacktrace

open module-info.java file
Comment 4 Jaroslav Havlin 2015-09-22 12:01:42 UTC
NetBeans cannot handle changing of letter-case in file names on case insensitive filesystems.

Duplicate of bug 254319.

Thank you for reporting.

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