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

Robert Munteanu resolved SLING-4633.
------------------------------------
    Resolution: Fixed

Fixed in https://svn.apache.org/r1674996 . Please reopen if the fix does not 
work for you 

> 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