[
https://issues.apache.org/jira/browse/SLING-4633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14503029#comment-14503029
]
Kevin A. Roll commented on SLING-4633:
--------------------------------------
When I ran the build I got
[ERROR] Failed to execute goal
org.apache.sling:maven-launchpad-plugin:2.0.10:prepare-package
(prepare-package-jar) on project standalone: Unable to load dependency
information from properties file. Unable to parse element 'level', must be
an integer (position: START_TAG seen ...<bundles>\n <startLevel
level="boot">... @3:28) -> [Help 1]
I updated the version of the maven-launchpad-plugin to 2.3.2 and it works. It
appears that I have a functioning Sling up and running.
The original project that was generated for me did not have the <jarWebSupport>
section, and I think that was a big part of the problem.
> 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
> Affects Versions: Launchpad Webapp Archetype 1.0.0, Launchpad Standalone
> Archetype 1.0.0
> Reporter: Kevin A. Roll
> 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)