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 207585 - IllegalArgumentException: C:\Users\peacemaker\Documents\NetBeansProjects\IBPLACE\dev\images\icon_back_left02.gif is not under C:\
Summary: IllegalArgumentException: C:\Users\peacemaker\Documents\NetBeansProjects\IBPL...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
: 210173 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-20 19:36 UTC by biozes
Modified: 2012-03-28 14:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182261


Attachments
stacktrace (2.09 KB, text/plain)
2012-01-20 19:36 UTC, biozes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description biozes 2012-01-20 19:36:34 UTC
Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7

User Comments:
GUEST: Nothing, waiting for scanning projects to finish.




Stacktrace: 
java.lang.IllegalArgumentException: C:\Users\peacemaker\Documents\NetBeansProjects\IBPLACE\dev\images\icon_back_left02.gif is not under C:\
   at org.netbeans.libs.git.jgit.Utils.getRelativePath(Utils.java:147)
   at org.netbeans.libs.git.jgit.Utils.getRelativePaths(Utils.java:132)
   at org.netbeans.libs.git.jgit.Utils.getPathFilters(Utils.java:99)
   at org.netbeans.libs.git.jgit.commands.StatusCommand.run(StatusCommand.java:125)
   at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:68)
   at org.netbeans.libs.git.jgit.JGitClient.getStatus(JGitClient.java:338)
Comment 1 biozes 2012-01-20 19:36:37 UTC
Created attachment 115134 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-01-23 11:08:38 UTC
There is probably a bug on our side, but i have a question. From the log it seems like you have .git folder directly in C:\. Are you aware that in that case you version the whole disk? Is that intentional?? I suggest you remove that folder if there is one. The IDE will be much much faster.
Comment 3 Ondrej Vrabec 2012-01-23 17:54:07 UTC
Changeset: f97dcb958c63
Author:    Ondrej Vrabec <ovrabec@netbeans.org>
Date:      2012-01-23 18:49
Message:   
Issue #207585 - IllegalArgumentException: C:\Users\peacemaker\Documents\NetBeansProjects\IBPLACE\dev\images\icon_back_left02.gif is not under C:\
Comment 4 Quality Engineering 2012-01-25 16:29:23 UTC
Integrated into 'main-golden', will be available in build *201201250600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f97dcb958c63
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #207585 - IllegalArgumentException: C:\Users\peacemaker\Documents\NetBeansProjects\IBPLACE\dev\images\icon_back_left02.gif is not under C:\
Comment 5 biozes 2012-01-25 16:45:55 UTC
(In reply to comment #2)
> There is probably a bug on our side, but i have a question. From the log it
> seems like you have .git folder directly in C:\. Are you aware that in that
> case you version the whole disk? Is that intentional?? I suggest you remove
> that folder if there is one. The IDE will be much much faster.

True, I didn't noticed that, and that was the motive why my Netbeans was so slow, after correcting that, I'm enjoying a entirely new Netbeans experience ! :-)
Was even considering of switching to some lesser choice of a IDE, thankfully you told me about it.
Best regards,
Thanks alot ovrabec !
Comment 6 Ondrej Vrabec 2012-03-28 14:16:11 UTC
*** Bug 210173 has been marked as a duplicate of this bug. ***