phaniteja-24 / hudson-eclipse

Automatically exported from code.google.com/p/hudson-eclipse
0 stars 0 forks source link

Bad version number inside .class file #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Install SpringSource Tool Suite v2.x
2.Add Hudson Eclipse Plugin update site
3.Install v1.0.8 of the plugin
4. Add Hudon view to workspace

What is the expected output? What do you see instead?
Should see the hudson view with no errors. Instead see error message and
stack trace "bad version number inside .class file"

What version of the product are you using? On what operating system?
v1.0.8, Win XP, java version "1.6.0_15", Java(TM) SE Runtime Environment
(build 1.6.0_15-b03), Java HotSpot(TM) Client VM (build 14.1-b02, mixed
mode, sharing)

Please provide any additional information below.
Have had to roll back to v.1.0.7, but my colleague who has installed
vanilla cannot use the hudson plugin via install via the update site.

Original issue reported on code.google.com by sleeping...@googlemail.com on 14 Oct 2009 at 4:25

GoogleCodeExporter commented 9 years ago
Same for me.

Eclipse Ganymede 3.4.2

Error log:
!ENTRY org.eclipse.equinox.registry 4 1 2009-10-15 10:08:45.145
!MESSAGE Unable to create the selected preference page.
!STACK 0
java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClas
sLoader.java:165)
    at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManage
r.java:554)
    at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathMana
ger.java:524)
    at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Classpat
hManager.java:455)
    at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoa
der(ClasspathManager.java:443)
    at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathMan
ager.java:423)
    at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultC
lassLoader.java:193)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoade
r.java:370)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLo
ader.java:446)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.jav
a:399)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.jav
a:387)
    at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassL
oader.java:87)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.jav
a:315)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
    at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle
.java:1274)
    at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExt
ension(RegistryStrategyOSGI.java:160)
    at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(E
xtensionRegistry.java:867)
    at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtensio
n(ConfigurationElement.java:243)
    at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableEx
tension(ConfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
    at
org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(WorkbenchPref
erenceNode.java:47)
    at org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1306)
    at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPref
erenceDialog.java:385)
    at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1197)
    at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPrefer
enceDialog.java:682)
    at org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:702)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at
org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialo
g.java:698)
    at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:880)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredVi
ewer.java:840)
    at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.jav
a:1153)
    at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.jav
a:1178)
    at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:250)
    at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:244)
    at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:418)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont
ributionItem.java:583)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.
java:500)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribution
Item.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:592)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Original comment by paal.orby on 15 Oct 2009 at 8:20

Attachments:

GoogleCodeExporter commented 9 years ago
SOLVED: Tried with Java 6 and it worked as expected :-)

Original comment by paal.orby on 15 Oct 2009 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by jre...@gmail.com on 15 Oct 2009 at 8:37