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 233975 - SVN commit dialog just hangs
Summary: SVN commit dialog just hangs
Status: RESOLVED DUPLICATE of bug 233557
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 22:38 UTC by ab247
Modified: 2013-08-19 12:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Dump of java process whilst hanging on SVN commit window (112.52 KB, text/plain)
2013-08-06 17:24 UTC, ab247
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ab247 2013-08-05 22:38:46 UTC
Steps to reproduce:

Open a project with SVN support. Attempt to commit any file that has been modified locally. Dialog hangs with "Preparing commit...".

This has only recently started to fail, I did not observe this issue in previous versions of Netbeans(<7.2).

My operating system is:

adam@adam-desktop:~/Downloads$ uname -a
Linux adam-desktop 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Java:
adam@adam-desktop:~/Downloads$ java -showversion
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

Please contact me if more information is required
Comment 1 Ondrej Vrabec 2013-08-06 07:27:13 UTC
Make a thread dump: http://wiki.netbeans.org/GenerateThreadDump or preferably a profiler snapshot: http://wiki.netbeans.org/FitnessViaPartnership.
This is probably caused by slow status scanning by SvnKit. If you have a large working copy, it takes some time to prepare the files to commit.
Comment 2 ab247 2013-08-06 17:24:26 UTC
Created attachment 138367 [details]
Dump of java process whilst hanging on SVN commit window
Comment 3 ab247 2013-08-06 17:26:58 UTC
Hi Ondrej,

I enclose a thread dump. Unfortunately I'm not able to generate a compiler snapshot as SVN commit is a blocking dialog.

Adam
Comment 4 Ondrej Vrabec 2013-08-06 17:48:12 UTC
Another problem related to two AWT-EventQueue threads occurring on OpenJDK (OpenJDK 64-Bit Server VM (20.0-b12 mixed mode)).

ab247: i strongly recommend downloading and installing the official Oracle JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html
Comment 5 ab247 2013-08-06 19:12:10 UTC
Many thanks this and numerous other issues resolved by installing oracle jre.

Adam
Comment 6 Ondrej Vrabec 2013-08-19 12:59:27 UTC

*** This bug has been marked as a duplicate of bug 233557 ***