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 218302 - IllegalArgumentException: C:\Users\marcio.vinicius\AppData\Local\Temp\vcs-1347537855771\vcs-1347546924260 is not under C:\Program Files\NetBeans 7.2
Summary: IllegalArgumentException: C:\Users\marcio.vinicius\AppData\Local\Temp\vcs-134...
Status: RESOLVED WORKSFORME
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 14:41 UTC by marciovinicius55
Modified: 2012-09-13 15:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 188533


Attachments
stacktrace (1.84 KB, text/plain)
2012-09-13 14:41 UTC, marciovinicius55
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marciovinicius55 2012-09-13 14:41:51 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 20.7-b02, Java(TM) SE Runtime Environment, 1.6.0_32-b05
OS: Windows 7

User Comments:
GUEST: I forget




Stacktrace: 
java.lang.IllegalArgumentException: C:\Users\marcio.vinicius\AppData\Local\Temp\vcs-1347537855771\vcs-1347546924260 is not under C:\Program Files\NetBeans 7.2
   at org.netbeans.libs.git.jgit.Utils.getRelativePath(Utils.java:163)
   at org.netbeans.libs.git.jgit.Utils.getRelativePath(Utils.java:158)
   at org.netbeans.libs.git.jgit.Utils.getRelativePath(Utils.java:144)
   at org.netbeans.libs.git.jgit.Utils.getRelativePaths(Utils.java:137)
   at org.netbeans.libs.git.jgit.Utils.getPathFilters(Utils.java:104)
   at org.netbeans.libs.git.jgit.commands.StatusCommand.run(StatusCommand.java:132)
Comment 1 marciovinicius55 2012-09-13 14:41:55 UTC
Created attachment 124319 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-09-13 15:31:51 UTC
There is something weird with your setup:
> java.lang.IllegalArgumentException: C:\Users\marcio.vinicius\AppData\Local\Temp\vcs-1347537855771\vcs-1347546924260 is not under C:\Program Files\NetBeans 7.2
means that the IDE thinks C:\Program Files\NetBeans 7.2 is a git repository root. Check if there's a ".git" folder somewhere in "C:\Program Files\NetBeans 7.2" or its parents, remove it and restart the IDE. Does it help?