[ 
https://issues.apache.org/jira/browse/SLING-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14503753#comment-14503753
 ] 

Robert Munteanu commented on SLING-4633:
----------------------------------------

{quote}Failed to execute goal 
org.apache.sling:maven-launchpad-plugin:2.0.10:prepare-package{quote}

That's strange, I just double-checked and we're using 2.3.0 in the archetype. 
Maybe those were part of your local changes?

> Launchpad archetypes do not run on Java 7 or newer
> --------------------------------------------------
>
>                 Key: SLING-4633
>                 URL: https://issues.apache.org/jira/browse/SLING-4633
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>    Affects Versions: Launchpad Webapp Archetype 1.0.0, Launchpad Standalone 
> Archetype 1.0.0
>            Reporter: Kevin A. Roll
>            Assignee: Robert Munteanu
>            Priority: Blocker
>             Fix For: Launchpad Webapp Archetype 1.0.2, Launchpad Standalone 
> Archetype 1.0.2
>
>
> 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)

Reply via email to