[
https://issues.apache.org/jira/browse/SLING-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500507#comment-14500507
]
Kevin A. Roll commented on SLING-4633:
--------------------------------------
I tried changing the version of org.apache.sling.launchpad.base in the POM
file, but this did not work for me. It appears there is a tight coupling
between that version and the default bundle list, and I was not able to produce
a working build after a lot of experimentation.
> Standalone Launchpad archetype needs to be updated
> --------------------------------------------------
>
> Key: SLING-4633
> URL: https://issues.apache.org/jira/browse/SLING-4633
> Project: Sling
> Issue Type: Bug
> Components: Launchpad
> Reporter: Kevin A. Roll
> Priority: Blocker
>
> The Maven archetype 'sling-launchpad-standalone-archetype' needs to be
> updated to a newer version of Sling. The current version contains a known bug
> which causes an immediate crash on startup:
> 16.04.2015 12:51:57.845 *ERROR* [main] Failed to Start OSGi framework
> org.osgi.framework.BundleException: Uncaught Instantiation Issue:
> java.lang.ArrayIndexOutOfBoundsException: -1
> at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:245)
> 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.java:1046)
> The code generated by the archetype is unusable due to this problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)