This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

problems with osgi

By: a guest on Jan 16th, 2012  |  syntax: None  |  size: 10.94 KB  |  views: 43  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. osgi> install file:/home/santiago/Desktop/plugins/dropbox.jar
  2. Bundle id is 3
  3.  
  4. osgi> start 3
  5. org.osgi.framework.BundleException: Exception in com.santiagogp.social.dropbox.DropboxBundleActivator.start() of bundle Dropbox-osgi.
  6.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
  7.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
  8.         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
  9.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
  10.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)
  11.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333)
  12.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  13.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  14.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  15.         at java.lang.reflect.Method.invoke(Method.java:601)
  16.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209)
  17.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155)
  18.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140)
  19.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104)
  20.         at java.lang.Thread.run(Thread.java:722)
  21. Caused by: java.lang.NoClassDefFoundError: javax/management/RuntimeErrorException
  22.         at com.santiagogp.social.dropbox.DropboxBundleActivator.start(DropboxBundleActivator.java:24)
  23.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
  24.         at java.security.AccessController.doPrivileged(Native Method)
  25.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
  26.         ... 14 more
  27. Caused by: java.lang.ClassNotFoundException: javax.management.RuntimeErrorException
  28.         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
  29.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  30.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
  31.         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  32.         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  33.         ... 18 more
  34. Nested Exception:
  35. java.lang.NoClassDefFoundError: javax/management/RuntimeErrorException
  36.         at com.santiagogp.social.dropbox.DropboxBundleActivator.start(DropboxBundleActivator.java:24)
  37.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
  38.         at java.security.AccessController.doPrivileged(Native Method)
  39.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
  40.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
  41.         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
  42.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
  43.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)
  44.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333)
  45.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  46.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  47.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  48.         at java.lang.reflect.Method.invoke(Method.java:601)
  49.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209)
  50.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155)
  51.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140)
  52.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104)
  53.         at java.lang.Thread.run(Thread.java:722)
  54. Caused by: java.lang.ClassNotFoundException: javax.management.RuntimeErrorException
  55.         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
  56.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  57.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
  58.         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  59.         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  60.         ... 18 more
  61. Nested Exception:
  62. java.lang.ClassNotFoundException: javax.management.RuntimeErrorException
  63.         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
  64.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  65.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
  66.         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  67.         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  68.         at com.santiagogp.social.dropbox.DropboxBundleActivator.start(DropboxBundleActivator.java:24)
  69.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
  70.         at java.security.AccessController.doPrivileged(Native Method)
  71.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
  72.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
  73.         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
  74.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
  75.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)
  76.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333)
  77.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  78.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  79.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  80.         at java.lang.reflect.Method.invoke(Method.java:601)
  81.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209)
  82.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155)
  83.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140)
  84.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104)
  85.         at java.lang.Thread.run(Thread.java:722)
  86. Nested Exception:
  87. java.lang.NoClassDefFoundError: javax/management/RuntimeErrorException
  88.         at com.santiagogp.social.dropbox.DropboxBundleActivator.start(DropboxBundleActivator.java:24)
  89.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
  90.         at java.security.AccessController.doPrivileged(Native Method)
  91.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
  92.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
  93.         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
  94.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
  95.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)
  96.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333)
  97.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  98.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  99.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  100.         at java.lang.reflect.Method.invoke(Method.java:601)
  101.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209)
  102.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155)
  103.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140)
  104.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104)
  105.         at java.lang.Thread.run(Thread.java:722)
  106. Caused by: java.lang.ClassNotFoundException: javax.management.RuntimeErrorException
  107.         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
  108.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  109.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
  110.         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  111.         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  112.         ... 18 more
  113. Nested Exception:
  114. java.lang.ClassNotFoundException: javax.management.RuntimeErrorException
  115.         at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
  116.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
  117.         at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
  118.         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  119.         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  120.         at com.santiagogp.social.dropbox.DropboxBundleActivator.start(DropboxBundleActivator.java:24)
  121.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
  122.         at java.security.AccessController.doPrivileged(Native Method)
  123.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
  124.         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
  125.         at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
  126.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
  127.         at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:291)
  128.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:333)
  129.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  130.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  131.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  132.         at java.lang.reflect.Method.invoke(Method.java:601)
  133.         at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209)
  134.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155)
  135.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140)
  136.         at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104)
  137.         at java.lang.Thread.run(Thread.java:722)
clone this paste RAW Paste Data