You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/05/19 01:15:10 UTC

[jira] [Closed] (SLING-2348) Running the Lauchpad throws an ArrayIndexOutOfBoundException

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

Felix Meschberger closed SLING-2348.
------------------------------------


Close after release.
                
> Running the Lauchpad throws an ArrayIndexOutOfBoundException
> ------------------------------------------------------------
>
>                 Key: SLING-2348
>                 URL: https://issues.apache.org/jira/browse/SLING-2348
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>    Affects Versions: Launchpad Base 2.3.0
>         Environment: Java 7, Windows XP
>            Reporter: Bruno Barin
>            Priority: Blocker
>             Fix For: Launchpad Base 2.4.0
>
>
> When trying to run the launchpad example I get the following exception:
> 02.01.2012 10:57:06.808 *ERROR* [main] Failed to Start OSGi framework
> org.osgi.framework.BundleException: Uncaught Instantiation Issue: java.lang.Arra
> yIndexOutOfBoundsException: -1
>         at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:245)
>         at org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegat
> e.java:159)
>         at org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.j
> ava:159)
>         at org.apache.sling.launchpad.app.Main.startSling(Main.java:244)
>         at org.apache.sling.launchpad.app.Main.<init>(Main.java:107)
>         at org.apache.sling.launchpad.app.Main.main(Main.java:56)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
>         at java.util.ArrayList.elementData(ArrayList.java:371)
>         at java.util.ArrayList.get(ArrayList.java:384)
>         at org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.jav
> a:1046)
>         at org.apache.felix.framework.BundleImpl.getSymbolicName(BundleImpl.java
> :863)
>         at org.apache.sling.launchpad.base.impl.SlingFelix.getSymbolicName(Sling
> Felix.java:32)
>         at org.apache.felix.framework.Felix.toString(Felix.java:1012)
>         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.j
> ava:201)
>         at org.apache.felix.framework.Felix.<init>(Felix.java:374)
>         at org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.jav
> a:39)
>         at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:235)
>         ... 5 more
> 02.01.2012 10:57:06.824 *ERROR* [main] There was a problem launching Sling
> 02.01.2012 10:57:06.824 *INFO* [Sling Terminator] Java VM is shutting down

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira