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 267961 - Incompatible JavaHL library loaded. Subversion 1.8.x required.
Summary: Incompatible JavaHL library loaded. Subversion 1.8.x required.
Status: RESOLVED INVALID
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 8.1
Hardware: Other Other
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-09 23:12 UTC by schulte2004
Modified: 2016-09-11 15:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Logfile when switching to JavaHL. (159.05 KB, text/x-log)
2016-09-09 23:12 UTC, schulte2004
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schulte2004 2016-09-09 23:12:45 UTC
Created attachment 161987 [details]
Logfile when switching to JavaHL.

I compiled subversion using --enable-javahl and wanted to use JavaHL in netbeans. This has worked without problems until the latest update. Using $ svn --version 
svn, Version 1.9.4 (r1740329) the resulting JavaHL can no longer be loaded by the IDE. See the attached messages.log containing the exceptions caught when switching to JavaHL and also containing exceptions thrown by SvnKit which stopped working for me years ago by throwing various NullPointerExceptions.


$ ls -lah /usr/local/lib/libsvnjavahl-1.*                                                                                                                         
-rw-r--r--  1 root  bin     1.6M Sep 10 00:33 /usr/local/lib/libsvnjavahl-1.a
-rw-r--r--  1 root  bin     1.5K Sep 10 00:33 /usr/local/lib/libsvnjavahl-1.la
lrwxr-xr-x  1 root  wheel    21B Sep 10 00:53 /usr/local/lib/libsvnjavahl-1.so@ -> libsvnjavahl-1.so.0.0
-rw-r--r--  1 root  bin     883K Sep 10 00:33 /usr/local/lib/libsvnjavahl-1.so.0.0
Comment 1 schulte2004 2016-09-09 23:18:56 UTC
[...]

INFO [org.netbeans.libs.svnclientadapter]: Javahl client adapter is not available
Incompatible JavaHL library loaded.  Subversion 1.8.x required.
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: JavaHL not available. Falling back on SvnKit.
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: svnClientAdapter running on svnkit

[...]

WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter arbitrarily from one of ModuleCL@75e568c9[org.netbeans.libs.svnClientAdapter.svnkit] and ModuleCL@7077d3c3[org.netbeans.libs.svnClientAdapter.javahl] starting from SystemClassLoader[503 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@75e568c9[org.netbeans.libs.svnClientAdapter.svnkit] and ModuleCL@7077d3c3[org.netbeans.libs.svnClientAdapter.javahl] starting from SystemClassLoader[503 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
Comment 2 Ondrej Vrabec 2016-09-11 15:36:56 UTC
SVN 1.9 is supported in NetBeans 8.2, not in 8.1