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 209142 - IllegalArgumentException: Empty path not permitted.
Summary: IllegalArgumentException: Empty path not permitted.
Status: RESOLVED FIXED
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-03-04 16:10 UTC by uniflare
Modified: 2012-03-08 11:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184704


Attachments
stacktrace (3.62 KB, text/plain)
2012-03-04 16:10 UTC, uniflare
Details

Note You need to log in before you can comment on or make changes to this bug.
Description uniflare 2012-03-04 16:10:41 UTC
This issue was reported manually by uniflare.
It already has 3 duplicates 


Build: NetBeans IDE Dev (Build 201203010400)
VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows 7

User Comments:
GUEST: git - show history - click to any commit

uniflare: Was viewing commit history. Very simple commits, only 3 commits. Each single files, last one an edit.

Clicked on second out of three, selected "Difference between last commit". Then crash.
Errors reports an empty argument, perhaps not implemented?
For clarification, the IDE does not Crash. Just presents an error dialog (report). Functionality of history differences for Git seems stable in itself.




Stacktrace: 
java.lang.IllegalArgumentException: Empty path not permitted.
   at org.eclipse.jgit.treewalk.filter.PathFilter.create(PathFilter.java:80)
   at org.eclipse.jgit.revwalk.FollowFilter.create(FollowFilter.java:85)
   at org.netbeans.libs.git.jgit.commands.GetPreviousCommitCommand.run(GetPreviousCommitCommand.java:86)
   at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:72)
   at org.netbeans.libs.git.GitClient.getPreviousRevision(GitClient.java:525)
   at org.netbeans.modules.git.client.GitClient$21.call(GitClient.java:422)
Comment 1 uniflare 2012-03-04 16:10:46 UTC
Created attachment 116330 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-03-06 09:51:55 UTC
fix: http://hg.netbeans.org/core-main/rev/6db25a03a2e3
Comment 3 Quality Engineering 2012-03-08 11:04:38 UTC
Integrated into 'main-golden', will be available in build *201203080400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6db25a03a2e3
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #209142 - IllegalArgumentException: Empty path not permitted.