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 258973 - Subversion update fails with "500 Internal Server Error"
Summary: Subversion update fails with "500 Internal Server Error"
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-22 14:22 UTC by mindjoy
Modified: 2016-04-22 17:55 UTC (History)
0 users

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 mindjoy 2016-04-22 14:22:37 UTC
When running Subversion > Update ... (any), getting an error (in popup):

org.apache.subversion.javahl.ClientException: E175002: OPTIONS of '/...': 500 Internal Server Error (https://...)
E175002: OPTIONS request failed on '...'
Comment 1 Ondrej Vrabec 2016-04-22 14:42:35 UTC
http://stackoverflow.com/questions/14509251/svn-error-e175002 suggests it's either a server configuration issue or user configuration issue (proxy settings etc). Are you behind a proxy? Can you connect using commandline svn?
Comment 2 mindjoy 2016-04-22 15:24:30 UTC
I don't have command line svn, isn't that something that's built in NetBeans itself? What are the requirements to have SVN working with NetBeans out of the box?
Eclipse works fine.
Comment 3 mindjoy 2016-04-22 15:25:29 UTC
Also, TortoiseSVN works fine too.
Comment 4 Ondrej Vrabec 2016-04-22 15:47:28 UTC
(In reply to mindjoy from comment #2)
> I don't have command line svn, isn't that something that's built in NetBeans
> itself?
No, not really, only the adapter for the CLI tool. NetBeans is able to work with three different svn clients: commandline, JavaHL natives and built-in SvnKit. Which one are you using? If it's SvnKit try to switch to JavaHL if it makes any difference: http://wiki.netbeans.org/FaqSubversionClients

Also attach the IDE log with the error: http://wiki.netbeans.org/FaqLogMessagesFile
Comment 5 mindjoy 2016-04-22 16:08:45 UTC
Here is the error stack from the log:

svn: E175002: OPTIONS request failed on '/...'
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:798)
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:398)
	at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:386)
	at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:720)
	at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:634)
	at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:109)
	at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1044)
	at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:155)
	at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.createRepository(SvnRepositoryAccess.java:110)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepository(SvnNgRepositoryAccess.java:210)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:194)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:111)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:38)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
	at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
	at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
	at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.update(SVNClientImpl.java:496)
Caused: org.apache.subversion.javahl.ClientException: svn: E175002: OPTIONS of '/...': 500 Internal Server Error (https://...)
svn: E175002: OPTIONS request failed on '/...'
	at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1492)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.update(SVNClientImpl.java:498)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.update(AbstractJhlClientAdapter.java:1127)
Caused: org.tigris.subversion.svnclientadapter.SVNClientException
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.update(AbstractJhlClientAdapter.java:1132)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.update(AbstractJhlClientAdapter.java:1101)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.netbeans.modules.subversion.client.SvnClientInvocationHandler.handle(SvnClientInvocationHandler.java:461)
	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 com.sun.proxy.$Proxy30.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)
[catch] 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)
WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter arbitrarily from one of ModuleCL@47769fc4[org.netbeans.libs.svnClientAdapter.svnkit] and ModuleCL@7329cf53[org.netbeans.libs.svnClientAdapter.javahl] starting from SystemClassLoader[673 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.apache.subversion.javahl.ClientException arbitrarily from one of ModuleCL@47769fc4[org.netbeans.libs.svnClientAdapter.svnkit] and ModuleCL@7329cf53[org.netbeans.libs.svnClientAdapter.javahl] starting from SystemClassLoader[673 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
Comment 6 mindjoy 2016-04-22 16:10:21 UTC
According to http://wiki.netbeans.org/FaqSubversionClients, I should install Subversion Edge or Subversion. What is recommended and simplest way to make this work?
Comment 7 Ondrej Vrabec 2016-04-22 16:14:36 UTC
https://sliksvn.com/pub/ - and install 1.8.9 version.
Comment 8 mindjoy 2016-04-22 16:31:48 UTC
Why not the latest: 1.9.3?
Comment 9 Ondrej Vrabec 2016-04-22 17:09:14 UTC
1.9.3 is not supported in NetBeans 8.1, it can work only with 1.8 and older. 1.9 support will come in 8.2 (already in development builds)
Comment 10 mindjoy 2016-04-22 17:55:21 UTC
Ok, thank you. 1.8.9 works now.