karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntle <n...@castortech.com>
Subject java.lang.ArrayIndexOutOfBoundsException: 34983 when install war file
Date Tue, 19 Feb 2019 15:44:20 GMT
I'm new karaf and I'm trying to install JavaBridge.war
(http://php-java-bridge.sourceforge.net/pjb/download.php) on karaf runtime
4.2.3 and i got quite some errors. At first, installing the war with the
bundle:install -s
give me this error: "Unable to cache bundle:". Connecting a debugger show me
that the WebBundleConnection cannot retrieve the manifest of the war (Caused
by: java.lang.NullPointerException
although the war do have the manifest file in META-INF.
Then i unzip the war and place the folder in karaf's deploy folder and start
the server, this time WebBundleConnection found the manifest and went
further abit. When it's trying to analyze the bundle to convert into wab, it
failed at com.ibm.icu.text.SimpleDateFormat.class with
java.lang.ArrayIndexOutOfBoundsException. A quick google show that this
error was reported back in 2014
and should be fixed in bndlib 2.4.1. I think karaf 4.2.3 is using
pax-url-war 2.6.1 which uses biz.aQute.bnd.bndlib 2.3.0 which may not have
this bug fixed.  Can someone confirm this bug? Should i build karaf with a
higher version of bndlib?

Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html

View raw message