Running stanbol 0.9.0 incubating version throw Failed To start OSGI framework
I am trying to run apache stanbol 0.9.0 incubating version.I run mvn
install -DskipTests that finished successfully. After building
dependency but whenever I tried to run
org.apache.stanbol.launcher.full-0.9.0-incubating.jar.
Output
> 16.11.2018 03:47:06.955 *INFO* [main] Checking launcher JAR in folder sling
> 16.11.2018 03:47:06.964 *INFO* [main] Existing launcher is up to date, using it: 2.3.0 (org.apache.sling.launchpad.base.jar)
> 16.11.2018 03:47:06.965 *INFO* [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from
> org.apache.sling.launchpad.base.jar
> 16.11.2018 03:47:06.972 *INFO* [main] Starting launcher ...
> 16.11.2018 03:47:06.973 *INFO* [main] HTTP server port: 8080
> 16.11.2018 03:47:07.041 *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) at
> org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:159)
> at
> org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java: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:422) at
> java.util.ArrayList.get(ArrayList.java:435) at
> org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.java:1046)
> at
> org.apache.felix.framework.BundleImpl.getSymbolicName(BundleImpl.java:863)
> at
> org.apache.sling.launchpad.base.impl.SlingFelix.getSymbolicName(SlingFelix.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.java:201)
> at org.apache.felix.framework.Felix.<init>(Felix.java:374) at
> org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.java:39)
> at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:235)
> ... 5 more
> 16.11.2018 03:47:07.042 *ERROR* [main] There was a problem launching Sling
> 16.11.2018 03:47:07.042 *INFO* [Sling Terminator] Java VM is shutting down
Please help me to sort out this issue. Is this OSGI framework version issue or something else?
java osgi apache-stanbol
add a comment |
I am trying to run apache stanbol 0.9.0 incubating version.I run mvn
install -DskipTests that finished successfully. After building
dependency but whenever I tried to run
org.apache.stanbol.launcher.full-0.9.0-incubating.jar.
Output
> 16.11.2018 03:47:06.955 *INFO* [main] Checking launcher JAR in folder sling
> 16.11.2018 03:47:06.964 *INFO* [main] Existing launcher is up to date, using it: 2.3.0 (org.apache.sling.launchpad.base.jar)
> 16.11.2018 03:47:06.965 *INFO* [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from
> org.apache.sling.launchpad.base.jar
> 16.11.2018 03:47:06.972 *INFO* [main] Starting launcher ...
> 16.11.2018 03:47:06.973 *INFO* [main] HTTP server port: 8080
> 16.11.2018 03:47:07.041 *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) at
> org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:159)
> at
> org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java: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:422) at
> java.util.ArrayList.get(ArrayList.java:435) at
> org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.java:1046)
> at
> org.apache.felix.framework.BundleImpl.getSymbolicName(BundleImpl.java:863)
> at
> org.apache.sling.launchpad.base.impl.SlingFelix.getSymbolicName(SlingFelix.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.java:201)
> at org.apache.felix.framework.Felix.<init>(Felix.java:374) at
> org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.java:39)
> at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:235)
> ... 5 more
> 16.11.2018 03:47:07.042 *ERROR* [main] There was a problem launching Sling
> 16.11.2018 03:47:07.042 *INFO* [Sling Terminator] Java VM is shutting down
Please help me to sort out this issue. Is this OSGI framework version issue or something else?
java osgi apache-stanbol
If this happens when following the README in the stanbol repo then the best way to move forward is to report this as an issue in the issue tracker of stanbol.
– Christian Schneider
Nov 18 '18 at 7:56
add a comment |
I am trying to run apache stanbol 0.9.0 incubating version.I run mvn
install -DskipTests that finished successfully. After building
dependency but whenever I tried to run
org.apache.stanbol.launcher.full-0.9.0-incubating.jar.
Output
> 16.11.2018 03:47:06.955 *INFO* [main] Checking launcher JAR in folder sling
> 16.11.2018 03:47:06.964 *INFO* [main] Existing launcher is up to date, using it: 2.3.0 (org.apache.sling.launchpad.base.jar)
> 16.11.2018 03:47:06.965 *INFO* [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from
> org.apache.sling.launchpad.base.jar
> 16.11.2018 03:47:06.972 *INFO* [main] Starting launcher ...
> 16.11.2018 03:47:06.973 *INFO* [main] HTTP server port: 8080
> 16.11.2018 03:47:07.041 *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) at
> org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:159)
> at
> org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java: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:422) at
> java.util.ArrayList.get(ArrayList.java:435) at
> org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.java:1046)
> at
> org.apache.felix.framework.BundleImpl.getSymbolicName(BundleImpl.java:863)
> at
> org.apache.sling.launchpad.base.impl.SlingFelix.getSymbolicName(SlingFelix.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.java:201)
> at org.apache.felix.framework.Felix.<init>(Felix.java:374) at
> org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.java:39)
> at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:235)
> ... 5 more
> 16.11.2018 03:47:07.042 *ERROR* [main] There was a problem launching Sling
> 16.11.2018 03:47:07.042 *INFO* [Sling Terminator] Java VM is shutting down
Please help me to sort out this issue. Is this OSGI framework version issue or something else?
java osgi apache-stanbol
I am trying to run apache stanbol 0.9.0 incubating version.I run mvn
install -DskipTests that finished successfully. After building
dependency but whenever I tried to run
org.apache.stanbol.launcher.full-0.9.0-incubating.jar.
Output
> 16.11.2018 03:47:06.955 *INFO* [main] Checking launcher JAR in folder sling
> 16.11.2018 03:47:06.964 *INFO* [main] Existing launcher is up to date, using it: 2.3.0 (org.apache.sling.launchpad.base.jar)
> 16.11.2018 03:47:06.965 *INFO* [main] Loading launcher class org.apache.sling.launchpad.base.app.MainDelegate from
> org.apache.sling.launchpad.base.jar
> 16.11.2018 03:47:06.972 *INFO* [main] Starting launcher ...
> 16.11.2018 03:47:06.973 *INFO* [main] HTTP server port: 8080
> 16.11.2018 03:47:07.041 *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) at
> org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:159)
> at
> org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java: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:422) at
> java.util.ArrayList.get(ArrayList.java:435) at
> org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.java:1046)
> at
> org.apache.felix.framework.BundleImpl.getSymbolicName(BundleImpl.java:863)
> at
> org.apache.sling.launchpad.base.impl.SlingFelix.getSymbolicName(SlingFelix.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.java:201)
> at org.apache.felix.framework.Felix.<init>(Felix.java:374) at
> org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.java:39)
> at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:235)
> ... 5 more
> 16.11.2018 03:47:07.042 *ERROR* [main] There was a problem launching Sling
> 16.11.2018 03:47:07.042 *INFO* [Sling Terminator] Java VM is shutting down
Please help me to sort out this issue. Is this OSGI framework version issue or something else?
java osgi apache-stanbol
java osgi apache-stanbol
asked Nov 16 '18 at 4:01
sajjusajju
61
61
If this happens when following the README in the stanbol repo then the best way to move forward is to report this as an issue in the issue tracker of stanbol.
– Christian Schneider
Nov 18 '18 at 7:56
add a comment |
If this happens when following the README in the stanbol repo then the best way to move forward is to report this as an issue in the issue tracker of stanbol.
– Christian Schneider
Nov 18 '18 at 7:56
If this happens when following the README in the stanbol repo then the best way to move forward is to report this as an issue in the issue tracker of stanbol.
– Christian Schneider
Nov 18 '18 at 7:56
If this happens when following the README in the stanbol repo then the best way to move forward is to report this as an issue in the issue tracker of stanbol.
– Christian Schneider
Nov 18 '18 at 7:56
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53331249%2frunning-stanbol-0-9-0-incubating-version-throw-failed-to-start-osgi-framework%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53331249%2frunning-stanbol-0-9-0-incubating-version-throw-failed-to-start-osgi-framework%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If this happens when following the README in the stanbol repo then the best way to move forward is to report this as an issue in the issue tracker of stanbol.
– Christian Schneider
Nov 18 '18 at 7:56