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 219629 - IllegalArgumentException: /tmp/vcs-1349467404107/vcs-1349467404108 is not under ~
Summary: IllegalArgumentException: /tmp/vcs-1349467404107/vcs-1349467404108 is not und...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
: 219684 220510 220511 221713 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-05 20:05 UTC by Exceptions Reporter
Modified: 2012-11-08 11:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193142


Attachments
stacktrace (4.17 KB, text/plain)
2012-10-05 20:05 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-10-05 20:05:50 UTC
This bug was originally marked as duplicate of bug 218302, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: OpenJDK Client VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

Stacktrace: 
java.lang.IllegalArgumentException: /tmp/vcs-1349467404107/vcs-1349467404108 is not under /home/saunlu
   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:130)
Comment 1 Exceptions Reporter 2012-10-05 20:05:52 UTC
Created attachment 125497 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-10-06 17:40:32 UTC
Do you have ".git" folder in your home dir (/home/saunlu)? Why? Is it intentional? I strongly recommend you *do not* version all your files since you will suffer from huge performance decrease.
Comment 3 Ondrej Vrabec 2012-10-08 08:18:33 UTC
*** Bug 219684 has been marked as a duplicate of this bug. ***
Comment 4 Ondrej Vrabec 2012-10-08 11:16:31 UTC
Can anyone reproduce reliably? If so, please run the IDE with the following switch: -J-Dorg.netbeans.modules.git.level=500, wait for the exception and attach the enhanced messages.log, thanks
Comment 5 Ondrej Vrabec 2012-10-11 12:15:14 UTC
fix: http://hg.netbeans.org/core-main/rev/5639d9f0ff72
Comment 6 Quality Engineering 2012-10-13 02:10:50 UTC
Integrated into 'main-golden', will be available in build *201210130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5639d9f0ff72
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #219629 - IllegalArgumentException: /tmp/vcs-1349467404107/vcs-1349467404108 is not under ~
fixing the exception and logging added
Comment 7 Ondrej Vrabec 2012-10-21 16:07:24 UTC
*** Bug 220511 has been marked as a duplicate of this bug. ***
Comment 8 Ondrej Vrabec 2012-10-21 16:07:30 UTC
*** Bug 220510 has been marked as a duplicate of this bug. ***
Comment 9 Ondrej Vrabec 2012-11-08 11:51:22 UTC
*** Bug 221713 has been marked as a duplicate of this bug. ***