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 214143 - AssertionError: getRelativePath(D:\Tvorba_PGM_SVN\@A_Aplikace\@A_Monolith-2-Projects\SRC, D:\Tvorba_PGM_SVN\@A_Aplikace\@A_Monolith-2-Projects\src\cz\pecinovsky\util\monolith2projects\Generator.java)
Summary: AssertionError: getRelativePath(D:\Tvorba_PGM_SVN\@A_Aplikace\@A_Monolith-2-P...
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-13 15:23 UTC by rudyment
Modified: 2012-06-14 17:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 189447


Attachments
stacktrace (3.67 KB, text/plain)
2012-06-13 15:23 UTC, rudyment
Details
The problematic project (231.51 KB, application/octet-stream)
2012-06-14 17:28 UTC, rudyment
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rudyment 2012-06-13 15:23:26 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Windows 7

User Comments:
rudyment: Exception occurred, when I have externaly renamed an folder under SVN.
I have used TortoiseSVN for renaming.




Stacktrace: 
java.lang.AssertionError: getRelativePath(D:\Tvorba_PGM_SVN\@A_Aplikace\@A_Monolith-2-Projects\SRC, D:\Tvorba_PGM_SVN\@A_Aplikace\@A_Monolith-2-Projects\src\cz\pecinovsky\util\monolith2projects\Generator.java)
   at org.netbeans.modules.java.source.parsing.FileObjects.getRelativePath(FileObjects.java:686)
   at org.netbeans.modules.java.source.parsing.FileObjects.fileFileObject(FileObjects.java:210)
   at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.createTuple(JavaCustomIndexer.java:328)
   at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:203)
   at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:158)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:259)
Comment 1 rudyment 2012-06-13 15:23:32 UTC
Created attachment 120792 [details]
stacktrace
Comment 2 Tomas Zezula 2012-06-13 15:33:45 UTC
The D:\Tvorba_PGM_SVN\@A_Aplikace\@A_Monolith-2-Projects\SRC seems not to be normalized.
What kind of project are you using? Ant based j2se, web, j2ee, maven, freeform?
The "SRC" folder is "src" on disk, right?
Thanks
Comment 3 rudyment 2012-06-14 17:28:30 UTC
Created attachment 120864 [details]
The problematic project

It is almost standard porject, only the folder with sourcefiles doesn't name src, but SRC.