java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Invalid Plugin.yml
    via GitHub by MrAwesome68
    ,
  • Magnolia Community Forums - Thread
    via by Unknown author,
  • Upon Stash restart, the following is logged: {noformat} 2013-07-30 12:16:18,997 INFO [localhost-startStop-1] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /usr/local/Stash for 4773@NLAMSQBSC01 2013-07-30 12:16:47,558 INFO [localhost-startStop-1] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:46182 2013-07-30 12:16:47,881 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger Starting Stash 2.3.0 (72a2042b28 built on Mon Mar 25 23:16:03 CET 2013) 2013-07-30 12:16:47,881 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger JVM: Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM 1.6.0_45-b06 2013-07-30 12:16:57,878 WARN [localhost-startStop-1] c.a.plugin.osgi.factory.OsgiPlugin Unable to install plugin 'com.atlassian.plugins.rest.atlassian-rest-module' com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.impl.AbstractPlugin.install(AbstractPlugin.java:329) ~[atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.impl.AbstractDelegatingPlugin.install(AbstractDelegatingPlugin.java:205) [atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:706) [atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:178) [atlassian-plugins-core-2.13.4.jar:na] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:57,890 ERROR [localhost-startStop-1] o.s.web.context.ContextLoader Context initialization failed com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] [...] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:57,893 ERROR [localhost-startStop-1] c.a.j.s.w.c.JohnsonContextLoaderListener The Spring WebApplicationContext could not be started com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] [...] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [fileServerServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [scmServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [streamsEmptyActivityServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,163 ERROR [localhost-startStop-1] c.a.j.s.w.s.JohnsonDispatcherServlet Bypassing SpringMVC dispatcher [spring-mvc] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,623 WARN [http-bio-7990-exec-1] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available 2013-07-30 12:16:58,892 WARN [http-bio-7990-exec-2] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available {noformat} Problem was unsufficient rights to subdirectory of <STASH_HOME>/plugins. Removed directories and restarted stash. It seems like the access rights for the plugin directory were messed up. It might be a good idea to implement a 'directory access sanity check' upon starting stash/jira/etc. That way, such small errors can be located and solved more quickly.
    via by Malik Mangier,
  • Upon Stash restart, the following is logged: {noformat} 2013-07-30 12:16:18,997 INFO [localhost-startStop-1] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory /usr/local/Stash for 4773@NLAMSQBSC01 2013-07-30 12:16:47,558 INFO [localhost-startStop-1] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:46182 2013-07-30 12:16:47,881 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger Starting Stash 2.3.0 (72a2042b28 built on Mon Mar 25 23:16:03 CET 2013) 2013-07-30 12:16:47,881 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger JVM: Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM 1.6.0_45-b06 2013-07-30 12:16:57,878 WARN [localhost-startStop-1] c.a.plugin.osgi.factory.OsgiPlugin Unable to install plugin 'com.atlassian.plugins.rest.atlassian-rest-module' com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.impl.AbstractPlugin.install(AbstractPlugin.java:329) ~[atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.impl.AbstractDelegatingPlugin.install(AbstractDelegatingPlugin.java:205) [atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:706) [atlassian-plugins-core-2.13.4.jar:na] at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:178) [atlassian-plugins-core-2.13.4.jar:na] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:57,890 ERROR [localhost-startStop-1] o.s.web.context.ContextLoader Context initialization failed com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] [...] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:57,893 ERROR [localhost-startStop-1] c.a.j.s.w.c.JohnsonContextLoaderListener The Spring WebApplicationContext could not be started com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to install bundle at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:473) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPluginUninstalledHelper.install(OsgiPluginUninstalledHelper.java:68) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.factory.OsgiPlugin.installInternal(OsgiPlugin.java:381) ~[atlassian-plugins-osgi-2.13.4.jar:na] [...] Caused by: org.osgi.framework.BundleException: Invalid bundle format at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:624) ~[atlassian-plugins-osgi-2.13.4.jar:na] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.installBundle(FelixOsgiContainerManager.java:469) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 26 common frames omitted Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) ~[na:1.6.0_45] at java.util.zip.ZipFile.<init>(ZipFile.java:127) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:136) ~[na:1.6.0_45] at java.util.jar.JarFile.<init>(JarFile.java:100) ~[na:1.6.0_45] at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager$BundleRegistration.install(FelixOsgiContainerManager.java:602) ~[atlassian-plugins-osgi-2.13.4.jar:na] ... 27 common frames omitted {noformat} {noformat} 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [fileServerServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [scmServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,131 ERROR [localhost-startStop-1] c.a.j.s.w.c.s.JohnsonHttpRequestHandlerServlet Bypassing HttpRequestHandlerServlet [streamsEmptyActivityServlet] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,163 ERROR [localhost-startStop-1] c.a.j.s.w.s.JohnsonDispatcherServlet Bypassing SpringMVC dispatcher [spring-mvc] initialisation; Spring initialisation failed: The Spring WebApplicationContext could not be started 2013-07-30 12:16:58,623 WARN [http-bio-7990-exec-1] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available 2013-07-30 12:16:58,892 WARN [http-bio-7990-exec-2] c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available {noformat} Problem was unsufficient rights to subdirectory of <STASH_HOME>/plugins. Removed directories and restarted stash. It seems like the access rights for the plugin directory were messed up. It might be a good idea to implement a 'directory access sanity check' upon starting stash/jira/etc. That way, such small errors can be located and solved more quickly.
    via by Malik Mangier | DevTools PA,
  • Plugin can not install
    via GitHub by MarkAtIntemo
    ,
    • java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file at com.zeroturnaround.javarebel.nF.rethrow(JRebel:31) at com.zeroturnaround.javarebel.nF.logAndRethrow(JRebel:21) at com.zeroturnaround.javarebel.fe.<init>(JRebel:46) at com.zeroturnaround.javarebel.fm.a(JRebel:75) at com.zeroturnaround.javarebel.fm.a(JRebel:51) at com.zeroturnaround.javarebel.fm.<init>(JRebel:40) at com.zeroturnaround.javarebel.fg.a(JRebel:220) at com.zeroturnaround.javarebel.fg.b(JRebel:210) at com.zeroturnaround.javarebel.fg.a(JRebel:50) at com.zeroturnaround.javarebel.fk.run(JRebel:182) at com.zeroturnaround.javarebel.pf.a(JRebel:442) at com.zeroturnaround.javarebel.ph.run(JRebel:178) at com.zeroturnaround.javarebel.pr.a(JRebel:1061) at com.zeroturnaround.javarebel.pt.run(JRebel:575) at java.lang.Thread.run(Thread.java:662) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:127) at java.util.jar.JarFile.<init>(JarFile.java:136) at java.util.jar.JarFile.<init>(JarFile.java:100) at com.zeroturnaround.javarebel.fe.<init>(JRebel:34)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    marcbouvierdav
    2 times, last one,
    52 more bugmates