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 243090 - IllegalStateException: DirCache V:\Site\PROJETOS\sysEASY\.git\index not locked
Summary: IllegalStateException: DirCache V:\Site\PROJETOS\sysEASY\.git\index not locked
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: 2014-03-20 13:48 UTC by welguri
Modified: 2014-04-24 02:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182265


Attachments
stacktrace (1.85 KB, text/plain)
2014-03-20 13:48 UTC, welguri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description welguri 2014-03-20 13:48:43 UTC
Build: NetBeans IDE 8.0 RC1 (Build 201402242200)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 8

User Comments:
GUEST: erm?

GUEST: Git-> add and git-> commit
My project files are located in the dropbox folder, but git commit working fine from terminal

welguri: Fazer commit

GUEST: comit

GUEST: Fighting with Github - sorry - i really cannot provide more info

GUEST: <Please provide a description of the problem or the steps to reproduce>bkb




Stacktrace: 
java.lang.IllegalStateException: DirCache V:\Site\PROJETOS\sysEASY\.git\index not locked
   at org.eclipse.jgit.dircache.DirCache.requireLocked(DirCache.java:715)
   at org.eclipse.jgit.dircache.DirCache.write(DirCache.java:608)
   at org.netbeans.libs.git.jgit.commands.CommitCommand.run(CommitCommand.java:158)
   at org.netbeans.libs.git.jgit.commands.GitCommand.execute(GitCommand.java:72)
   at org.netbeans.libs.git.GitClient.commit(GitClient.java:412)
   at org.netbeans.modules.git.client.GitClient$8.call(GitClient.java:298)
Comment 1 welguri 2014-03-20 13:48:45 UTC
Created attachment 146176 [details]
stacktrace
Comment 2 Ondrej Vrabec 2014-03-20 14:05:57 UTC
fix: http://hg.netbeans.org/core-main/rev/8fe48f7e27d8
Comment 3 Quality Engineering 2014-03-22 07:30:42 UTC
Integrated into 'main-silver', will be available in build *201403220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8fe48f7e27d8
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #243090 - IllegalStateException: DirCache V:\Site\PROJETOS\sysEASY\.git\index not locked
unpack backup index only if index can be locked
Comment 4 Ondrej Vrabec 2014-04-15 14:22:45 UTC
80 fix: releases #c6b1c4d30cf7
Comment 5 Quality Engineering 2014-04-24 02:14:27 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/c6b1c4d30cf7
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #243090 - IllegalStateException: DirCache V:\Site\PROJETOS\sysEASY\.git\index not locked
unpack backup index only if index can be locked
(grafted from 8fe48f7e27d89e92cdfae0a9d1667c4dd73228c7)