#4 An error occurred while automatically activating bundle edu.

v2.4.0
closed
Blake
5
2014-09-01
2005-11-04
Marc L. Smith
No

org.osgi.framework.BundleException: The activator
edu.buffalo.cse.green.PlugIn for bundle edu.buffalo.cse.green is
invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundl
eActivator(AbstractBundle.java:151)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start
(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker
(BundleHost.java:321)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start
(AbstractBundle.java:266)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalCla
ss(EclipseClassLoader.java:116)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalCl
ass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.load
Class(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass
(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass
(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass
(AbstractBundle.java:1259)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExec
utableExtension(ConfigurationElement.java:152)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExec
utableExtension(ConfigurationElement.java:142)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExec
utableExtension(ConfigurationElement.java:129)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.crea
teExecutableExtension(ConfigurationElementHandle.java:48)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run
(WorkbenchPlugin.java:240)
at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension
(WorkbenchPlugin.java:236)
at
org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createP
age(WorkbenchPreferenceNode.java:46)
at org.eclipse.jface.preference.PreferenceDialog.createPage
(PreferenceDialog.java:1211)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage
(FilteredPreferenceDialog.java:238)
at org.eclipse.jface.preference.PreferenceDialog.showPage
(PreferenceDialog.java:1114)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage
(FilteredPreferenceDialog.java:351)
at org.eclipse.jface.preference.PreferenceDialog
$8.selectionChanged(PreferenceDialog.java:638)
at org.eclipse.jface.viewers.StructuredViewer$3.run
(StructuredViewer.java:763)
at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChan
ged(StructuredViewer.java:761)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect
(StructuredViewer.java:1042)
at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected
(StructuredViewer.java:1062)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent
(OpenStrategy.java:231)
at org.eclipse.jface.util.OpenStrategy.access$4
(OpenStrategy.java:226)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:
392)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:
35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages
(Display.java:2932)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2708)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:
809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.internal.OpenPreferencesAction.run
(OpenPreferencesAction.java:66)
at org.eclipse.ui.carbon.CarbonUIEnhancer.runAction
(CarbonUIEnhancer.java:176)
at org.eclipse.ui.carbon.CarbonUIEnhancer.access$1
(CarbonUIEnhancer.java:157)
at org.eclipse.ui.carbon.CarbonUIEnhancer$2.commandProc
(CarbonUIEnhancer.java:95)
at org.eclipse.swt.internal.carbon.OS.MenuSelect(Native Method)
at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2540)
at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget
(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2682)
at org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:
334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.UnsupportedClassVersionError: edu/buffalo/
cse/green/PlugIn (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.defin
eClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass
(EclipseClassLoader.java:227)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findCl
assImpl(DefaultClassLoader.java:343)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findCl
ass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.find
LocalClass(AbstractClassLoader.java:183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLo
calClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalCla
ss(EclipseClassLoader.java:82)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalCl
ass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.load
Class(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass
(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass
(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundl
eActivator(AbstractBundle.java:144)
... 66 more
Root exception:
java.lang.UnsupportedClassVersionError: edu/buffalo/cse/green/
PlugIn (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.defin
eClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass
(EclipseClassLoader.java:227)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findCl
assImpl(DefaultClassLoader.java:343)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findCl
ass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.find
LocalClass(AbstractClassLoader.java:183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLo
calClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalCla
ss(EclipseClassLoader.java:82)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalCl
ass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.load
Class(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass
(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass
(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundl
eActivator(AbstractBundle.java:144)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start
(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker
(BundleHost.java:321)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start
(AbstractBundle.java:266)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalCla
ss(EclipseClassLoader.java:116)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalCl
ass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.load
Class(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass
(BundleLoader.java:275)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass
(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass
(AbstractBundle.java:1259)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExec
utableExtension(ConfigurationElement.java:152)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExec
utableExtension(ConfigurationElement.java:142)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExec
utableExtension(ConfigurationElement.java:129)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.crea
teExecutableExtension(ConfigurationElementHandle.java:48)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run
(WorkbenchPlugin.java:240)
at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension
(WorkbenchPlugin.java:236)
at
org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createP
age(WorkbenchPreferenceNode.java:46)
at org.eclipse.jface.preference.PreferenceDialog.createPage
(PreferenceDialog.java:1211)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage
(FilteredPreferenceDialog.java:238)
at org.eclipse.jface.preference.PreferenceDialog.showPage
(PreferenceDialog.java:1114)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage
(FilteredPreferenceDialog.java:351)
at org.eclipse.jface.preference.PreferenceDialog
$8.selectionChanged(PreferenceDialog.java:638)
at org.eclipse.jface.viewers.StructuredViewer$3.run
(StructuredViewer.java:763)
at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChan
ged(StructuredViewer.java:761)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect
(StructuredViewer.java:1042)
at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected
(StructuredViewer.java:1062)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent
(OpenStrategy.java:231)
at org.eclipse.jface.util.OpenStrategy.access$4
(OpenStrategy.java:226)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:
392)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:
35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages
(Display.java:2932)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2708)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:
809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.internal.OpenPreferencesAction.run
(OpenPreferencesAction.java:66)
at org.eclipse.ui.carbon.CarbonUIEnhancer.runAction
(CarbonUIEnhancer.java:176)
at org.eclipse.ui.carbon.CarbonUIEnhancer.access$1
(CarbonUIEnhancer.java:157)
at org.eclipse.ui.carbon.CarbonUIEnhancer$2.commandProc
(CarbonUIEnhancer.java:95)
at org.eclipse.swt.internal.carbon.OS.MenuSelect(Native Method)
at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2540)
at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget
(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2682)
at org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:
334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

Discussion

  • Blake
    Blake
    2005-11-04

    Logged In: YES
    user_id=1231978

    The wrapped exception is:
    java.lang.UnsupportedClassVersionError

    This leads me to believe the JRE/JDK you're running doesn't
    support Green. Green requires 1.5. Ensure that your
    workspace and JRE settings (under Window > Preferences >
    Java > Compiler, Window > Preferences > Java > Installed
    JREs) are set to use the appropriate version.

     
  • Blake
    Blake
    2005-11-04

    Logged In: YES
    user_id=1231978

    The wrapped exception is:
    java.lang.UnsupportedClassVersionError

    This leads me to believe the JRE/JDK you're running doesn't
    support Green. Green requires 1.5. Ensure that your
    workspace and JRE settings (under Window > Preferences >
    Java > Compiler, Window > Preferences > Java > Installed
    JREs) are set to use the appropriate version.

     
  • Blake
    Blake
    2005-11-04

    Logged In: YES
    user_id=1231978

    The wrapped exception is:
    java.lang.UnsupportedClassVersionError

    This leads me to believe the JRE/JDK you're running doesn't
    support Green. Green requires 1.5. Ensure that your
    workspace and JRE settings (under Window > Preferences >
    Java > Compiler, Window > Preferences > Java > Installed
    JREs) are set to use the appropriate version.

     
  • Blake
    Blake
    2005-11-05

    Logged In: YES
    user_id=1231978

    The problem was the JRE version under Window > Preferences >
    Java > Installed JREs. (wrong version, 1.5 required)

     
  • Blake
    Blake
    2005-11-05

    • milestone: --> v2.4.0
    • assigned_to: nobody --> bcmartin
    • status: open --> closed