[ 
https://issues.apache.org/jira/browse/JCLOUDS-674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Custine closed JCLOUDS-674.
---------------------------------
    Resolution: Fixed

Fixed by upgrading Karaf to 2.3.9 (latest 2.3.x available) and syncing 
dependencies according to [the Karaf dependency 
matrix|http://karaf.apache.org/index/documentation/karaf-dependencies/karaf-deps-2.3.x.html].

I can't find any issues with Java 8 using Karaf 2.3.9 but I am not sure Java 8 
support is official.  I will be looking at an upgrade to Karaf 3 or 4 which 
officially support Java 8 in the future, but those will not be trivial upgrades.

> jclouds-cli interactive mode does not work with Java 8
> ------------------------------------------------------
>
>                 Key: JCLOUDS-674
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-674
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-cli
>    Affects Versions: 1.8.0
>            Reporter: Andrew Gaul
>            Assignee: Chris Custine
>             Fix For: 1.9.0
>
>
> Refuses to launch with:
> {noformat}
> Could not create framework: java.lang.ArrayIndexOutOfBoundsException: -1
> java.lang.ArrayIndexOutOfBoundsException: -1
>         at java.util.ArrayList.elementData(ArrayList.java:403)
>         at java.util.ArrayList.get(ArrayList.java:416)
>         at 
> org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.java:1050)
>         at 
> org.apache.felix.framework.BundleImpl.getSymbolicName(BundleImpl.java:859)
>         at org.apache.felix.framework.Felix.toString(Felix.java:1019)
>         at org.apache.felix.framework.Logger.doLog(Logger.java:128)
>         at org.apache.felix.framework.Logger._log(Logger.java:181)
>         at org.apache.felix.framework.Logger.log(Logger.java:114)
>         at 
> org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:201)
>         at org.apache.felix.framework.Felix.<init>(Felix.java:374)
>         at 
> org.apache.felix.framework.FrameworkFactory.newFramework(FrameworkFactory.java:28)
>         at org.apache.karaf.main.Main.launch(Main.java:268)
>         at org.apache.karaf.main.Main.main(Main.java:429)
> {noformat}
> Note that non-interactive mode works.  Related to JCLOUDS-673?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to