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 240674 - AssertionError: Need to normalize /Users/nate/Desktop/Projects/Sports-IT/rewrite-v1/app/config(class java.io.File) was /Users/nate/Desktop/Projects/Sports-IT/rewrite-v1/app/Config(class java.io.File)
Summary: AssertionError: Need to normalize /Users/nate/Desktop/Projects/Sports-IT/rewr...
Status: RESOLVED DUPLICATE of bug 240180
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-19 19:25 UTC by Exceptions Reporter
Modified: 2014-01-20 07:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206736


Attachments
stacktrace (3.94 KB, text/plain)
2014-01-19 19:25 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-01-19 19:25:03 UTC
This bug was originally marked as duplicate of bug 214182, 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.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Mac OS X

User Comments:
GUEST: Typing




Stacktrace: 
java.lang.AssertionError: Need to normalize /Users/nate/Desktop/Projects/Sports-IT/rewrite-v1/app/config(class java.io.File) was /Users/nate/Desktop/Projects/Sports-IT/rewrite-v1/app/Config(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.project.ant.AntBasedProjectFactorySingleton.loadProject(AntBasedProjectFactorySingleton.java:223)
   at org.netbeans.api.project.ProjectManager.createProject(ProjectManager.java:371)
   at org.netbeans.api.project.ProjectManager.access$300(ProjectManager.java:86)
   at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:292)
Comment 1 Exceptions Reporter 2014-01-19 19:25:05 UTC
Created attachment 144127 [details]
stacktrace
Comment 2 Tomas Mysik 2014-01-20 07:01:14 UTC
Reassigning back, IMHO the problem is in Ant modules since in PHP, FileOwnerQuery.getOwner() for FileObject and not File is called (so there is no way to normalize this FileObject).

Thanks.
Comment 3 Tomas Mysik 2014-01-20 07:05:49 UTC
BTW looking at the file path, it reminds me one issue in FS - adding Jarda to CC. Jardo, am I right that there was some problem with lowercase/uppercase letters in "app/Config" path?

Thanks.
Comment 4 Jaroslav Havlin 2014-01-20 07:49:54 UTC
There were several "need to normalize" bugs in filesystems, but this seems to be a new (newly discovered, hopefully not a regression) Mac specific bug, duplicate of 240180. Thank you.

*** This bug has been marked as a duplicate of bug 240180 ***
Comment 5 Tomas Mysik 2014-01-20 07:53:20 UTC
Thanks a lot, Jardo!