Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Some errorrs occurred whilst installing the downloaded plugins" on valid install #356

Closed
csnyulas opened this issue Mar 8, 2016 · 0 comments

Comments

@csnyulas
Copy link
Member

csnyulas commented Mar 8, 2016

Got this after updating SWRLTab to the latest version (1.0.0.beta-17)
screenshot plugin update error message

This is basically the same as protegeproject/swrltab-plugin#16, which was closed as it was supposed to be fixed, but it still occurs for me in Protege 5.0.0, Build beta-24-SNAPSHOT.

Here is the exception on the console:

org.osgi.framework.BundleException: Unresolved constraint in bundle swrltab-plugin [32]: Singleton conflict.
    at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002) ~[org.apache.felix.main.jar:na]
    at org.apache.felix.framework.Felix.startBundle(Felix.java:2045) ~[org.apache.felix.main.jar:na]
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976) ~[org.apache.felix.main.jar:na]
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963) ~[org.apache.felix.main.jar:na]
    at org.protege.editor.core.update.PluginInstaller.installPlugin(PluginInstaller.java:324) [protege-editor-core.jar:na]
    at org.protege.editor.core.update.PluginInstaller.install(PluginInstaller.java:101) [protege-editor-core.jar:na]
    at org.protege.editor.core.update.PluginInstaller.lambda$run$32(PluginInstaller.java:55) [protege-editor-core.jar:na]
    at org.protege.editor.core.update.PluginInstaller$$Lambda$135/1702322013.run(Unknown Source) [protege-editor-core.jar:na]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]

and here is the detailed log:

Level:       INFO
Time:        1457399531507
Message:     ----------------------- Downloading and Installing Plugin ----------------------

Level:       INFO
Time:        1457399531508
Message:     Downloading the SWRLTab plugin (Version 1.0.0.beta-17)

Level:       INFO
Time:        1457399531508
Message:     Downloading the SWRLTab plugin from: https://github.com/protegeproject/swrltab-plugin/releases/download/swrltab-plugin-1.0.0-beta-17/swrltab-plugin-1.0.0-beta-17.jar

Level:       INFO
Time:        1457399544555
Message:     The SWRLTab plugin has been downloaded to /tmp/swrltab7215247226595840510.jar

Level:       INFO
Time:        1457399544596
Message:     Copied the SWRLTab plugin to swrltab.jar in the plugins directory

Level:       INFO
Time:        1457399544597
Message:     Installing the SWRLTab plugin

Level:       ERROR
Time:        1457399544620
Message:     An error occurred whilst installing the SWRLTab plugin.  This error was caused because the version of this plugin (1.0.0.beta-17)was either missing some other components that are not installed or, more likely,it is not compatible with this version of Protégé.
org.osgi.framework.BundleException
StackTrace:  
    org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
    org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
    org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)
    org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)
    org.protege.editor.core.update.PluginInstaller.installPlugin(PluginInstaller.java:324)
    org.protege.editor.core.update.PluginInstaller.install(PluginInstaller.java:101)
    org.protege.editor.core.update.PluginInstaller.lambda$run$32(PluginInstaller.java:55)
    org.protege.editor.core.update.PluginInstaller$$Lambda$135/1702322013.run(Unknown Source)
    java.lang.Thread.run(Thread.java:745)

Level:       INFO
Time:        1457399544627
Message:     
@matthewhorridge matthewhorridge changed the title Some errorrs occurred whilst installing the downloaded plugins "Some errorrs occurred whilst installing the downloaded plugins" on valid install Mar 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant