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 268250 - SVNKit locks sqlite database when using TortoiseSVN update or commit.
Summary: SVNKit locks sqlite database when using TortoiseSVN update or commit.
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P2 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-28 15:27 UTC by mifre
Modified: 2017-01-22 01:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (19.58 KB, text/plain)
2016-09-28 15:27 UTC, mifre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mifre 2016-09-28 15:27:28 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.51-b03

Reproducibility: Happens sometimes, but not always

STEPS:
  * Open project
  * SVNKit plugin is enabled
  * Use TortoiseSVN update or commit (svn, version 1.9.4 (r1740329))

ACTUAL:
  * NetBeans IDE starts scanning in the background
  * SVNKit locks SQLite database.

Have to close NetBeans before I can do a successful svn clean up.
I can reproduce this behavior on a second PC (freshly installed Windows10).

This locking is NOT observed when I disable SVNKit plugin.
Same behavior on Windows 7. Same behavior using NetBeans 8.0.2 and 7.3

I noticed that there are many more similar bugs (such as 245778) but for most of these similar issues the status is set to RESOLVED.

It is a severe problem because for almost every commit or update I have to restart NetBeans.
I did not observe this when using Eclipse or IntelliJ with svn plugins.
Comment 1 mifre 2016-09-28 15:27:33 UTC
Created attachment 162256 [details]
IDE log
Comment 2 anogin 2017-01-22 01:37:13 UTC
I am seeing similar issues with SVNKit 1.8.12 r10533 running under Eclipse using Subversive and TortoiseSVN 1.9.5, Build 27581 - 64 Bit under Windows 7. When I try to use TortoiseSVN to commit, it reports that the sqlite db is locked, and I have to "svn cleanup" before I can commit. It looks like SVNKit goes directly for the wc.db instead of using the Subversion working copy access protocol of locking the working copy prior to messing with the wc.db.