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 252188 - org.eclipse.jgit.errors.CorruptObjectException: name contains '"'
Summary: org.eclipse.jgit.errors.CorruptObjectException: name contains '"'
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-30 20:39 UTC by emiddio
Modified: 2015-07-17 01:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214202


Attachments
stacktrace (3.36 KB, text/plain)
2015-04-30 20:39 UTC, emiddio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2015-04-30 20:39:03 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Windows 7

User Comments:
emiddio: unknown

GUEST: clone repo from bitbucket

GUEST: Could not checkout a git repository due to this error

GUEST: Downloading from gitlab my project

GUEST: Clone a Git Repo

GUEST: Every time I open Netbeans the background scanning stalls at 100% and never completes.

GUEST: I was trying to clone a github repo.

GUEST: Included standard log4j properties file in netbeans on a Mac commit and push, tried to pull with Netbeans on Windows 8. Prioblem file is c:\log\log, which has a : in its name.




Stacktrace: 
org.eclipse.jgit.errors.CorruptObjectException: name contains '"'
   at org.eclipse.jgit.lib.ObjectChecker.scanPathSegment(ObjectChecker.java:417)
   at org.eclipse.jgit.lib.ObjectChecker.checkPathSegment(ObjectChecker.java:476)
   at org.eclipse.jgit.dircache.DirCacheCheckout.checkValidPathSegment(DirCacheCheckout.java:1305)
   at org.eclipse.jgit.dircache.DirCacheCheckout.checkValidPath(DirCacheCheckout.java:1277)
   at org.eclipse.jgit.dircache.DirCacheCheckout.processEntry(DirCacheCheckout.java:520)
   at org.eclipse.jgit.dircache.DirCacheCheckout.preScanTwoTrees(DirCacheCheckout.java:253)
Comment 1 emiddio 2015-04-30 20:39:06 UTC
Created attachment 153486 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-05-01 07:01:39 UTC
Please get rid of this file in the repo:
e] updating wiki links and examples to $VERSION"
JGit is not able to create it on Windows. It is not a valid windows file name.

Sorry, i cannot do anything with this apart from display a warning with a more detailed description and hint what to do.
Comment 3 Ondrej Vrabec 2015-07-10 12:41:44 UTC
fix: http://hg.netbeans.org/core-main/rev/548bade8a397
Comment 4 Quality Engineering 2015-07-17 01:18:51 UTC
Integrated into 'main-silver', will be available in build *201507170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/548bade8a397
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #252188 - org.eclipse.jgit.errors.CorruptObjectException: name contains '"'
Show warning message with a hint how to recover.