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 204842 - [71cat] AssertionError: getRelativePath(C:\Users\Mark\Documents\NetBeansProjects\JavaApplication75\src, C:\Users\Mark\Documents\NetBeansProjects\JavaApplication74\src\javaapplication74\JavaApplication7.java)
Summary: [71cat] AssertionError: getRelativePath(C:\Users\Mark\Documents\NetBeansProje...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 15:28 UTC by MackSix
Modified: 2013-01-08 16:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182707


Attachments
stacktrace (3.35 KB, text/plain)
2011-11-08 15:28 UTC, MackSix
Details
stacktrace (3.21 KB, text/plain)
2011-12-02 10:48 UTC, dynamite
Details
stacktrace (3.21 KB, text/plain)
2011-12-02 12:39 UTC, dynamite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-11-08 15:28:18 UTC
This bug was originally marked as duplicate of bug 170152, 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 201111070600)
VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows Vista

User Comments:
MackSix: Renamed project with folder. Renamed package with refactoring. Tried to edit java source file and got and exception. Tried to rename project and package again and got this exception.




Stacktrace: 
java.lang.AssertionError: getRelativePath(C:\Users\Mark\Documents\NetBeansProjects\JavaApplication75\src, C:\Users\Mark\Documents\NetBeansProjects\JavaApplication74\src\javaapplication74\JavaApplication7.java)
   at org.netbeans.modules.java.source.parsing.FileObjects.getRelativePath(FileObjects.java:695)
   at org.netbeans.modules.java.source.parsing.FileObjects.fileFileObject(FileObjects.java:210)
   at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.createTuple(JavaCustomIndexer.java:311)
   at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.access$100(JavaCustomIndexer.java:121)
   at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:180)
   at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:160)
Comment 1 MackSix 2011-11-08 15:28:22 UTC
Created attachment 113001 [details]
stacktrace
Comment 2 MackSix 2011-11-08 16:33:02 UTC
Here is a video of it:

http://youtu.be/FVvPHnxlT2E
Comment 3 dynamite 2011-12-02 10:48:40 UTC
Created attachment 113745 [details]
stacktrace

On start-up after having to forcably stop NB
Comment 4 dynamite 2011-12-02 12:39:40 UTC
Created attachment 113755 [details]
stacktrace

Looks like a case-sensitivty issue.  I'm, on Windows and renamed a directory to the same name but to begin with a lower-case.
Comment 5 Tomas Zezula 2013-01-08 16:38:51 UTC
Fixed jet-main 2de5b900d582