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 256405 - SVN 1.9 support.
Summary: SVN 1.9 support.
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Keyring (show other bugs)
Version: 8.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-06 10:16 UTC by blacharz
Modified: 2015-11-12 10:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description blacharz 2015-11-06 10:16:12 UTC
Good day.

Few days ago i have migrated to Frdora 23. It replaced svn from 1.8 to 1.9. Now it is impossible to perform any operation (update, commit, etc.).

Installing javahl from the repo did not solve to problem. It does not recognizes the feature at all.

Switching to cli/svnkit does not wor either.

Regards.
Comment 1 Ondrej Vrabec 2015-11-06 10:21:29 UTC
Why does not switching to CLI work? What error are you getting? Please attach the IDE log with the error while running with CLI svn.
Comment 2 blacharz 2015-11-06 12:58:00 UTC
Hi.

I do note get any error. 

Updating ... to HEAD status in the main window and nothing happens.

Log from output window.
==[IDE]== Nov 6, 2015 1:55:21 PM Updating "Parameter.java" to HEAD

Perhaps it is a matter of the security? I use netbeans at work. But still, the very same svn works from command line interface.

If there are other logs available, please instruct me how to collect them.

Thanks for reply :-)

REgards.
Comment 3 Ondrej Vrabec 2015-11-06 13:30:29 UTC
(In reply to blacharz from comment #2)
> I do note get any error. 
> 
> Updating ... to HEAD status in the main window and nothing happens.
> 
> Log from output window.
> ==[IDE]== Nov 6, 2015 1:55:21 PM Updating "Parameter.java" to HEAD
> 
> Perhaps it is a matter of the security? I use netbeans at work. But still,
> the very same svn works from command line interface.
Then it's probably asking you for password/passphrase in the background. Are you connecting over ssh? Maybe you have not fully configured your tunnel command and ssh-agent?
http://wiki.netbeans.org/FaqSubversionSSH
Comment 4 Ondrej Vrabec 2015-11-06 13:31:19 UTC
BTW IDE log can be viewed with View -> IDE log from the main menu.
Comment 5 blacharz 2015-11-06 14:01:11 UTC
Hi.


From what i can see in the log:

INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: warning: W155010: The node '/home/wro03572/dev_env/source_code_chec............' was not found."

INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: warning: W155010: The node '/home/wro03572/dev_env/source_code_checkout/trunk/shared/apps....' was not found."

And many of those more.
Comment 6 Ondrej Vrabec 2015-11-06 15:31:21 UTC
... those are irrelevant. Search for any exception related to svn update or transfer messages.
And once again, what protocol are you using to access the repository?
Comment 7 blacharz 2015-11-09 07:35:35 UTC
Hello.

In the ide log nothing corresponds to the svn update

I have cleared netbeans's svn config directory, Restarted the ide and attempted to run svn update.

The output:

==[IDE]== Nov 9, 2015 8:24:58 AM Updating "nw3ntf-util" to HEAD
update -r HEAD --force /home/wro03572/dev_env/source_code_checkout/trunk/shared/.... --config-dir /home/wro03572/.netbeans/8.1/config/svn/config --non-interactive --username wro03572 --password ******
svn: E170013: Unable to connect to a repository at URL 'https://...'
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted

update -r HEAD --force /home/wro03572/dev_env/source_code_checkout/trunk/shared/... --config-dir /home/wro03572/.netbeans/8.1/config/svn/config --non-interactive --username wro03572 --password ******
svn: E170013: Unable to connect to a repository at URL 'https://....'
svn: E215004: No more credentials or we tried too many times.
Authentication failed


After that message i got the window to put credentials. After entering them, nothing happens. Just updating progress bar bounces from left to righ and back.


HTTPS protocol is used to access the repository.
[wro03572@localhost trunk]$ rpm -qa | grep subversion
subversion-1.9.2-1.fc23.x86_64
subversion-gnome-1.9.2-1.fc23.x86_64
subversion-libs-1.9.2-1.fc23.x86_64


This is what i have installed.

Regards.
Comment 8 blacharz 2015-11-09 11:33:44 UTC
Another attempt to start svn update. Log from messages:

INFO [org.netbeans.modules.subversion]: Commandline client version: 1.9.2 (r1703836)
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: running on commandline
INFO [org.netbeans.modules.mercurial]: version: null
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E170013: Unable to connect to a repository at URL 'https://....'"
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E215004: No more credentials or we tried too many times."
INFO [org.netbeans.modules.subversion]: cli: ERROR "Authentication failed"

As previuosly, after that message, a credetial request window appeared, entered them and progress bar is bouncing back and forth.
Comment 9 Ondrej Vrabec 2015-11-09 12:01:51 UTC
Can you still attach the IDE log after you get at this point? View -> IDE log.
And while it's stuck after entering credentials, please generate and attach a thread dump: http://wiki.netbeans.org/GenerateThreadDump
Comment 10 blacharz 2015-11-09 14:57:34 UTC
Logs below. Just removed url items and replaced them with dots, but i believe they are irrelevant for you. They are my company specific.


Output from svn tab:

==[IDE]== Nov 9, 2015 3:50:15 PM Updating "............" to HEAD
update -r HEAD --force /home/wro03572/dev_env/source_code_checkout/trunk/shared................ --config-dir /home/wro03572/.netbeans/8.1/config/svn/config --non-interactive --username wro03572 --password ******
svn: E170013: Unable to connect to a repository at URL 'https://svne1....................../shared/trunk/..............................'
svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted

update -r HEAD --force /home/wro03572/dev_env/source_code_checkout/trunk/shared................ --config-dir /home/wro03572/.netbeans/8.1/config/svn/config --non-interactive --username wro03572 --password ******
svn: E170013: Unable to connect to a repository at URL 'https://svne1....................../shared/trunk/..............................'
svn: E215004: No more credentials or we tried too many times.
Authentication failed





ide log:

INFO [org.netbeans.modules.mercurial]: version: null
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E170013: Unable to connect to a repository at URL 'https://svne1....................../shared/trunk/..............................'"
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted"
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E170013: Unable to connect to a repository at URL 'https://svne1....................../shared/trunk/..............................'"
INFO [org.netbeans.modules.subversion]: cli: ERROR "svn: E215004: No more credentials or we tried too many times."
INFO [org.netbeans.modules.subversion]: cli: ERROR "Authentication failed"



Thread dump ctrl+\

Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.66-b17 mixed mode):

"Inactive RequestProcessor thread [Was:Flush UI Logs/org.netbeans.modules.uihandler.UIHandler$2WriteOut]" #83 daemon prio=1 os_prio=0 tid=0x00007fc54838e800 nid=0x68cc in Object.wait() [0x00007fc5886a5000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2002)
	- locked <0x00000000ec977988> (a java.lang.Object)

"Subversion - https://svne1......................" #80 daemon prio=1 os_prio=0 tid=0x00007fc5484b3800 nid=0x688a waiting on condition [0x00007fc5735f7000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000000eb6a1930> (a org.openide.util.RequestProcessor$RPFutureTask)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429)
	at java.util.concurrent.FutureTask.get(FutureTask.java:191)
	at org.netbeans.api.keyring.Keyring.read(Keyring.java:144)
	at org.netbeans.modules.versioning.util.KeyringSupport.read(KeyringSupport.java:103)
	at org.netbeans.modules.subversion.SvnModuleConfig.getRecentUrls(SvnModuleConfig.java:294)
	at org.netbeans.modules.subversion.SvnModuleConfig.getRepositoryConnectionIntern(SvnModuleConfig.java:525)
	at org.netbeans.modules.subversion.SvnModuleConfig.getRepositoryConnection(SvnModuleConfig.java:217)
	at org.netbeans.modules.subversion.config.SvnConfigFiles.storeSvnServersSettings(SvnConfigFiles.java:210)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.handle(SvnClientInvocationHandler.java:445)
	- locked <0x00000000c5f6be20> (a org.netbeans.modules.subversion.client.SvnClientInvocationHandler$ConfigFiles)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invokeMethod(SvnClientInvocationHandler.java:406)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler$2.run(SvnClientInvocationHandler.java:219)
	at org.netbeans.modules.openide.util.DefaultMutexImplementation.writeAccess(DefaultMutexImplementation.java:293)
	at org.openide.util.Mutex.writeAccess(Mutex.java:299)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:226)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:235)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:235)
	at com.sun.proxy.$Proxy54.update(Unknown Source)
	at org.netbeans.modules.subversion.ui.update.UpdateAction.updateRoots(UpdateAction.java:311)
	at org.netbeans.modules.subversion.ui.update.UpdateAction.access$400(UpdateAction.java:93)
	at org.netbeans.modules.subversion.ui.update.UpdateAction$4.call(UpdateAction.java:252)
	at org.netbeans.modules.subversion.ui.update.UpdateAction$4.call(UpdateAction.java:249)
	at org.netbeans.modules.versioning.indexingbridge.Bridge$1.call(Bridge.java:64)
	at org.netbeans.modules.parsing.api.indexing.IndexingManager.runProtected(IndexingManager.java:425)
	at org.netbeans.modules.versioning.indexingbridge.Bridge.runWithoutIndexing(Bridge.java:59)
	at org.netbeans.modules.versioning.util.IndexingBridge.runWithoutIndexing(IndexingBridge.java:139)
	at org.netbeans.modules.versioning.util.IndexingBridge.runWithoutIndexing(IndexingBridge.java:102)
	at org.netbeans.modules.subversion.util.SvnUtils.runWithoutIndexing(SvnUtils.java:1847)
	at org.netbeans.modules.subversion.ui.update.UpdateAction.update(UpdateAction.java:249)
	at org.netbeans.modules.subversion.ui.update.UpdateAction.update(UpdateAction.java:206)
	at org.netbeans.modules.subversion.ui.update.UpdateAction.access$000(UpdateAction.java:93)
	at org.netbeans.modules.subversion.ui.update.UpdateAction$2.perform(UpdateAction.java:158)
	at org.netbeans.modules.subversion.client.SvnProgressSupport.performIntern(SvnProgressSupport.java:111)
	at org.netbeans.modules.subversion.client.SvnProgressSupport.run(SvnProgressSupport.java:104)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

"org.netbeans.api.keyring.Keyring" #79 daemon prio=1 os_prio=0 tid=0x00007fc5484b2800 nid=0x6889 runnable [0x00007fc526f20000]
   java.lang.Thread.State: RUNNABLE
	at com.sun.jna.Native.invokeInt(Native Method)
	at com.sun.jna.Function.invoke(Function.java:383)
	at com.sun.jna.Function.invoke(Function.java:315)
	at com.sun.jna.Library$Handler.invoke(Library.java:212)
	at com.sun.proxy.$Proxy57.gnome_keyring_item_create_sync(Unknown Source)
	at org.netbeans.modules.keyring.gnome.GnomeProvider.save(GnomeProvider.java:128)
	at org.netbeans.api.keyring.Keyring.saveImpl(Keyring.java:155)
	- locked <0x00000000f610bdd8> (a java.lang.Class for org.netbeans.api.keyring.Keyring)
	at org.netbeans.api.keyring.Keyring.access$200(Keyring.java:75)
	at org.netbeans.api.keyring.Keyring$2.run(Keyring.java:184)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

"Inactive RequestProcessor thread [Was:TimedSoftReference/org.openide.util.TimedSoftReference]" #78 daemon prio=1 os_prio=0 tid=0x00007fc53c0d7000 nid=0x6888 in Object.wait() [0x00007fc524126000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2002)
	- locked <0x00000000f65fd378> (a java.lang.Object)

"Inactive RequestProcessor thread [Was:System clipboard synchronizer/org.netbeans.NbClipboard$GetContents]" #61 daemon prio=1 os_prio=0 tid=0x00007fc558005000 nid=0x6617 in Object.wait() [0x00007fc52d592000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2002)
	- locked <0x00000000c50161a0> (a java.lang.Object)

"NATIVEEXECUTOR: Waiting for localhost /bin/sh "-s"" #48 daemon prio=1 os_prio=0 tid=0x00007fc56006d000 nid=0x65f7 in Object.wait() [0x00007fc527522000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:502)
	at java.lang.UNIXProcess.waitFor(UNIXProcess.java:396)
	- locked <0x00000000c20dfff8> (a java.lang.UNIXProcess)
	at org.netbeans.modules.nativeexecution.NbLocalNativeProcess.waitResultImpl(NbLocalNativeProcess.java:82)
	at org.netbeans.modules.nativeexecution.NbNativeProcess.waitResult(NbNativeProcess.java:197)
	at org.netbeans.modules.nativeexecution.AbstractNativeProcess$1.call(AbstractNativeProcess.java:165)
	at org.netbeans.modules.nativeexecution.AbstractNativeProcess$1.call(AbstractNativeProcess.java:157)
	at org.netbeans.modules.nativeexecution.support.NativeTaskExecutorService$1.call(NativeTaskExecutorService.java:67)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

"Editor Parsing Loop (201510222201)" #46 daemon prio=1 os_prio=0 tid=0x00007fc5485fa800 nid=0x65f5 waiting on condition [0x00007fc527924000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000000c47ae278> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
	at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:549)
	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:681)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

"StreamTerm.OutputMonitor" #45 prio=1 os_prio=0 tid=0x00007fc5485b9800 nid=0x65f4 runnable [0x00007fc52c38d000]
   java.lang.Thread.State: RUNNABLE
	at java.io.FileInputStream.readBytes(Native Method)
	at java.io.FileInputStream.read(FileInputStream.java:255)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	- locked <0x00000000c2024478> (a java.lang.UNIXProcess$ProcessPipeInputStream)
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
	- locked <0x00000000c2024460> (a java.io.InputStreamReader)
	at java.io.InputStreamReader.read(InputStreamReader.java:184)
	at org.netbeans.lib.terminalemulator.StreamTerm$OutputMonitor.run(StreamTerm.java:233)

"StreamTerm.OutputMonitor" #44 prio=1 os_prio=0 tid=0x00007fc5485c1800 nid=0x65f3 runnable [0x00007fc52c58e000]
   java.lang.Thread.State: RUNNABLE
	at java.io.FileInputStream.readBytes(Native Method)
	at java.io.FileInputStream.read(FileInputStream.java:255)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	- locked <0x00000000c2035c98> (a java.lang.UNIXProcess$ProcessPipeInputStream)
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
	- locked <0x00000000c2035c80> (a java.io.InputStreamReader)
	at java.io.InputStreamReader.read(InputStreamReader.java:184)
	at org.netbeans.lib.terminalemulator.StreamTerm$OutputMonitor.run(StreamTerm.java:233)

"DestroyJavaVM" #38 prio=5 os_prio=0 tid=0x00007fc5c800b000 nid=0x6572 waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"TimerQueue" #37 daemon prio=5 os_prio=0 tid=0x00007fc564097000 nid=0x659d waiting on condition [0x00007fc52dd93000]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000000c13432f8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
	at java.util.concurrent.DelayQueue.take(DelayQueue.java:223)
	at javax.swing.TimerQueue.run(TimerQueue.java:171)
	at java.lang.Thread.run(Thread.java:745)

"process reaper" #36 daemon prio=10 os_prio=0 tid=0x00007fc5646ff000 nid=0x659b runnable [0x00007fc5b4118000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.UNIXProcess.waitForProcessExit(Native Method)
	at java.lang.UNIXProcess.lambda$initStreams$275(UNIXProcess.java:290)
	at java.lang.UNIXProcess$$Lambda$19/1373698861.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

"process reaper" #35 daemon prio=10 os_prio=0 tid=0x00007fc5646fd800 nid=0x6598 runnable [0x00007fc5b4151000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.UNIXProcess.waitForProcessExit(Native Method)
	at java.lang.UNIXProcess.lambda$initStreams$275(UNIXProcess.java:290)
	at java.lang.UNIXProcess$$Lambda$19/1373698861.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

"Worker-JM" #34 prio=5 os_prio=0 tid=0x00007fc5646b4800 nid=0x6596 in Object.wait() [0x00007fc52ebba000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000c1301968> (a java.util.ArrayList)
	at org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:58)
	- locked <0x00000000c1301968> (a java.util.ArrayList)

"Framework Event Dispatcher" #33 daemon prio=5 os_prio=0 tid=0x00007fc564667800 nid=0x6595 in Object.wait() [0x00007fc52efbb000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	- waiting on <0x00000000c1301980> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at java.lang.Object.wait(Object.java:502)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
	- locked <0x00000000c1301980> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)

"Deadlock Detector" #32 prio=5 os_prio=0 tid=0x00007fc564661800 nid=0x6594 waiting on condition [0x00007fc52f1bc000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
	at java.lang.Thread.sleep(Native Method)
	at org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:138)
	at java.lang.Thread.run(Thread.java:745)

"Thread-2" #31 daemon prio=5 os_prio=0 tid=0x00007fc56463b000 nid=0x6593 in Object.wait() [0x00007fc52f5c6000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:502)
	at java.util.prefs.AbstractPreferences$EventDispatchThread.run(AbstractPreferences.java:1482)
	- locked <0x00000000c0fe8830> (a java.util.LinkedList)

"File Watcher" #29 daemon prio=1 os_prio=0 tid=0x00007fc53c029800 nid=0x6591 runnable [0x00007fc52fffe000]
   java.lang.Thread.State: RUNNABLE
	at com.sun.jna.Native.invokeInt(Native Method)
	at com.sun.jna.Function.invoke(Function.java:383)
	at com.sun.jna.Function.invoke(Function.java:315)
	at com.sun.jna.Library$Handler.invoke(Library.java:212)
	at org.netbeans.modules.masterfs.watcher.linux.$Proxy2.read(Unknown Source)
	at org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier.nextEventPath(LinuxNotifier.java:139)
	at org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier.nextEvent(LinuxNotifier.java:118)
	at org.netbeans.modules.masterfs.providers.Notifier$1.nextEvent(Notifier.java:119)
	at org.netbeans.modules.masterfs.watcher.Watcher$Ext.run(Watcher.java:342)
	at java.lang.Thread.run(Thread.java:745)

"NATIVEEXECUTOR: start process in term" #26 daemon prio=1 os_prio=0 tid=0x00007fc564556000 nid=0x658e waiting on condition [0x00007fc5888a6000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000000c28fe878> (a java.util.concurrent.FutureTask)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429)
	at java.util.concurrent.FutureTask.get(FutureTask.java:191)
	at org.netbeans.modules.nativeexecution.AbstractNativeProcess.waitFor(AbstractNativeProcess.java:398)
	at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$1.call(NativeExecutionService.java:238)
	at org.netbeans.modules.nativeexecution.api.execution.NativeExecutionService$1.call(NativeExecutionService.java:177)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.netbeans.modules.nativeexecution.support.NativeTaskExecutorService$2.run(NativeTaskExecutorService.java:82)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

"NATIVEEXECUTOR: Waiting for localhost /bin/bash "--login"" #23 daemon prio=1 os_prio=0 tid=0x00007fc564538800 nid=0x658b in Object.wait() [0x00007fc588ea9000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:502)
	at java.lang.UNIXProcess.waitFor(UNIXProcess.java:396)
	- locked <0x00000000c2729a88> (a java.lang.UNIXProcess)
	at org.netbeans.modules.nativeexecution.NbLocalNativeProcess.waitResultImpl(NbLocalNativeProcess.java:82)
	at org.netbeans.modules.nativeexecution.NbNativeProcess.waitResult(NbNativeProcess.java:197)
	at org.netbeans.modules.nativeexecution.AbstractNativeProcess$1.call(AbstractNativeProcess.java:165)
	at org.netbeans.modules.nativeexecution.AbstractNativeProcess$1.call(AbstractNativeProcess.java:157)
	at org.netbeans.modules.nativeexecution.support.NativeTaskExecutorService$1.call(NativeTaskExecutorService.java:67)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

"State Data Manager" #22 daemon prio=5 os_prio=0 tid=0x00007fc564521800 nid=0x658a waiting on condition [0x00007fc5890aa000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
	at java.lang.Thread.sleep(Native Method)
	at org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:297)
	at java.lang.Thread.run(Thread.java:745)

"Framework Active Thread" #21 prio=5 os_prio=0 tid=0x00007fc564512000 nid=0x6589 in Object.wait() [0x00007fc5892ab000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java:1862)
	- locked <0x00000000c0df0c08> (a org.eclipse.osgi.framework.internal.core.Framework)
	at java.lang.Thread.run(Thread.java:745)

"AWT-EventQueue-0" #19 prio=6 os_prio=0 tid=0x00007fc564124000 nid=0x6588 waiting on condition [0x00007fc5ac803000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000000c0570518> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
	at java.awt.EventQueue.getNextEvent(EventQueue.java:554)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:170)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

"AWT-Shutdown" #20 prio=5 os_prio=0 tid=0x00007fc564123000 nid=0x6587 in Object.wait() [0x00007fc5aca04000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:502)
	at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295)
	- locked <0x00000000c07d4688> (a java.lang.Object)
	at java.lang.Thread.run(Thread.java:745)

"AWT-XAWT" #18 daemon prio=6 os_prio=0 tid=0x00007fc5640df000 nid=0x6586 runnable [0x00007fc5ace05000]
   java.lang.Thread.State: RUNNABLE
	at sun.awt.X11.XToolkit.waitForEvents(Native Method)
	at sun.awt.X11.XToolkit.run(XToolkit.java:568)
	at sun.awt.X11.XToolkit.run(XToolkit.java:532)
	at java.lang.Thread.run(Thread.java:745)

"Java2D Disposer" #16 daemon prio=10 os_prio=0 tid=0x00007fc5640af800 nid=0x6585 in Object.wait() [0x00007fc5ad417000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
	- locked <0x00000000c011a310> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
	at sun.java2d.Disposer.run(Disposer.java:148)
	at java.lang.Thread.run(Thread.java:745)

"RequestProcessor queue manager" #15 daemon prio=5 os_prio=0 tid=0x00007fc564030000 nid=0x6584 in Object.wait() [0x00007fc5adf0e000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2282)
	- locked <0x00000000c0579d20> (a java.lang.Class for org.openide.util.RequestProcessor$TickTac)
	at org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2258)

"CLI Requests Server" #12 daemon prio=5 os_prio=0 tid=0x00007fc5c861b800 nid=0x6581 runnable [0x00007fc5af9d5000]
   java.lang.Thread.State: RUNNABLE
	at java.net.PlainSocketImpl.socketAccept(Native Method)
	at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409)
	at java.net.ServerSocket.implAccept(ServerSocket.java:545)
	at java.net.ServerSocket.accept(ServerSocket.java:513)
	at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1100)

"Active Reference Queue Daemon" #11 daemon prio=1 os_prio=0 tid=0x00007fc5c83f3000 nid=0x6580 in Object.wait() [0x00007fc5afbd6000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:502)
	at org.openide.util.lookup.implspi.ActiveQueue.removeBetter(ActiveQueue.java:225)
	at org.openide.util.lookup.implspi.ActiveQueue.access$400(ActiveQueue.java:57)
	at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.java:180)
	- locked <0x00000000c0553e20> (a java.lang.ref.ReferenceQueue$Lock)

"Service Thread" #8 daemon prio=9 os_prio=0 tid=0x00007fc5c80cb800 nid=0x657e runnable [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C1 CompilerThread2" #7 daemon prio=9 os_prio=0 tid=0x00007fc5c80be800 nid=0x657d waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" #6 daemon prio=9 os_prio=0 tid=0x00007fc5c80bc800 nid=0x657c waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" #5 daemon prio=9 os_prio=0 tid=0x00007fc5c80ba000 nid=0x657b waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007fc5c80b8800 nid=0x657a waiting on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007fc5c8080000 nid=0x6579 in Object.wait() [0x00007fc5b4b58000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
	- locked <0x00000000c0109958> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007fc5c807e000 nid=0x6578 in Object.wait() [0x00007fc5b4d59000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:502)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
	- locked <0x00000000c04068f8> (a java.lang.ref.Reference$Lock)

"VM Thread" os_prio=0 tid=0x00007fc5c8079000 nid=0x6577 runnable 

"GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00007fc5c8020800 nid=0x6573 runnable 

"GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00007fc5c8022000 nid=0x6574 runnable 

"GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00007fc5c8024000 nid=0x6575 runnable 

"GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00007fc5c8025800 nid=0x6576 runnable 

"VM Periodic Task Thread" os_prio=0 tid=0x00007fc5c80ce800 nid=0x657f waiting on condition 

JNI global references: 3521

Heap
 PSYoungGen      total 267776K, used 117779K [0x00000000eab00000, 0x00000000ffc00000, 0x0000000100000000)
  eden space 186368K, 41% used [0x00000000eab00000,0x00000000ef6ee358,0x00000000f6100000)
  from space 81408K, 49% used [0x00000000f6100000,0x00000000f8816988,0x00000000fb080000)
  to   space 77312K, 0% used [0x00000000fb080000,0x00000000fb080000,0x00000000ffc00000)
 ParOldGen       total 412672K, used 370105K [0x00000000c0000000, 0x00000000d9300000, 0x00000000eab00000)
  object space 412672K, 89% used [0x00000000c0000000,0x00000000d696e688,0x00000000d9300000)
 Metaspace       used 105170K, capacity 119416K, committed 119680K, reserved 1150976K
  class space    used 13315K, capacity 17487K, committed 17536K, reserved 1048576K
Comment 11 blacharz 2015-11-09 15:07:01 UTC
Another thing. After cancelling the update, following appears in the ide log:


INFO [org.netbeans.core.network.proxy.NbProxySelector]: Timeout when waiting for DNS response. (svne1..........)


Nonetheless, when i put the repo url into the browser it works.
Comment 12 blacharz 2015-11-09 15:10:12 UTC
Just checked the proxy. On the general tab of the options window, pressed the test connection button and green icon appears, meaning connection successful.
Comment 13 blacharz 2015-11-09 15:13:13 UTC
Tried to reproduce the problem in the version 8.0.2 and it works with the same steps being performed.
Comment 14 blacharz 2015-11-09 15:26:52 UTC
And the output for version 8.0.2 cli snv (1.9) client:



==[IDE]== Nov 9, 2015 4:11:44 PM Updating "nw3ntf-ejb" to HEAD
update -r HEAD --force /home/wro03572/dev_env/source_code_checkout/trunk/shared/mediation/.. --config-dir /home/wro03572/.netbeans/8.0.2/config/svn/config --non-interactive --username wro03572 --password ******
svn: E170013: Unable to connect to a repository at URL 'https://svne1......................'
svn: E215004: No more credentials or we tried too many times.
Authentication failed

update -r HEAD --force /home/wro03572/dev_env/source_code_checkout/trunk/shared/mediation/.. --config-dir /home/wro03572/.netbeans/8.0.2/config/svn/config --non-interactive --username wro03572 --password ******
U    dev_env/source_code_checkout/trunk/.............../../pom.xml
Updated to revision 1514890.
==[IDE]== Nov 9, 2015 4:11:57 PM Updating "nw3ntf-ejb" to HEAD finished.
Comment 15 Ondrej Vrabec 2015-11-09 16:07:53 UTC
NB is waiting for the native gnome keyring to finish its operation:
"org.netbeans.api.keyring.Keyring" #79 daemon prio=1 os_prio=0 tid=0x00007fc5484b2800 nid=0x6889 runnable [0x00007fc526f20000]
   java.lang.Thread.State: RUNNABLE
	at com.sun.jna.Native.invokeInt(Native Method)
	at com.sun.jna.Function.invoke(Function.java:383)
	at com.sun.jna.Function.invoke(Function.java:315)
	at com.sun.jna.Library$Handler.invoke(Library.java:212)
	at com.sun.proxy.$Proxy57.gnome_keyring_item_create_sync(Unknown Source)
	at org.netbeans.modules.keyring.gnome.GnomeProvider.save(GnomeProvider.java:128)
	at org.netbeans.api.keyring.Keyring.saveImpl(Keyring.java:155)
	- locked <0x00000000f610bdd8> (a java.lang.Class for org.netbeans.api.keyring.Keyring)
	at org.netbeans.api.keyring.Keyring.access$200(Keyring.java:75)
	at org.netbeans.api.keyring.Keyring$2.run(Keyring.java:184)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

Maybe the gnome keyring is asking for the ,aster password somewhere in the background?
Comment 16 blacharz 2015-11-09 16:11:58 UTC
Did not see it. I minimized/moved windows, and nothing. Although, when starting 8.0.2 there is window requesting the master password. In case of the 8.1 no such window appears.

I will try to stop the gnome-keyring, and see what happens.
Comment 17 blacharz 2015-11-09 16:26:43 UTC
Ok it seems that this is a problem.

1. Starting update with the keyring turned on.
2. Asks for passwort to the repo.
3. Entering credentials.
4. Long waiting, nothing happens.
5. Killing gnome-keyring process.
6. SVN update success.

Is it possible to enforce netbeans not to use keyring only store password in the svn directory? Or perhaps there should be some choice given to the user.
Comment 18 blacharz 2015-11-09 16:47:35 UTC
Gnome keyring is restarted every time, i.e. killing it and new process appears.
Comment 19 blacharz 2015-11-12 06:50:36 UTC
Hi.

Any news on the issue?

Regards.
Comment 20 Ondrej Vrabec 2015-11-12 09:27:20 UTC
Try starting NetBeans with the following commandline switch: -J-Dnetbeans.keyring.no.native=true
That will completely turn off gnome keyring support in the IDE.
Comment 21 blacharz 2015-11-12 10:14:43 UTC
Hi.

Thanks for the hint. It works with clie client as it should :-)

Does the issue reported is expected to be fixed??

Regards.