Announcement Announcement Module
Collapse
No announcement yet.
java.lang.NoSuchFieldError: listBackground Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.lang.NoSuchFieldError: listBackground

    I receive this error when I double click on web-application-config.xml

    Error
    Sun Apr 29 01:35:56 CEST 2012
    Unhandled event loop exception

    java.lang.NoSuchFieldError: listBackground
    at org.springframework.ide.eclipse.beans.ui.graph.edi tor.GraphEditor.configureGraphicalViewer(GraphEdit or.java:316)
    at org.springframework.ide.eclipse.beans.ui.graph.edi tor.GraphEditor.createGraphicalViewer(GraphEditor. java:405)
    at org.springframework.ide.eclipse.beans.ui.graph.edi tor.GraphEditor.createPartControl(GraphEditor.java :417)
    at com.springsource.sts.config.ui.editors.SpringConfi gGraphPage.createPartControl(SpringConfigGraphPage .java:47)
    at org.eclipse.ui.part.MultiPageEditorPart.addPage(Mu ltiPageEditorPart.java:241)
    at org.eclipse.ui.forms.editor.FormEditor.addPage(For mEditor.java:325)
    at org.eclipse.ui.part.MultiPageEditorPart.addPage(Mu ltiPageEditorPart.java:211)
    at org.eclipse.ui.forms.editor.FormEditor.addPage(For mEditor.java:308)
    at com.springsource.sts.config.ui.editors.SpringConfi gEditor.addBeanGraphPage(SpringConfigEditor.java:6 7)
    at com.springsource.sts.config.ui.editors.SpringConfi gEditor.createBeanGraphPage(SpringConfigEditor.jav a:82)
    at com.springsource.sts.config.ui.editors.SpringConfi gEditor.updateNamespacePages(SpringConfigEditor.ja va:183)
    at com.springsource.sts.config.ui.editors.AbstractCon figEditor.createNamespacePages(AbstractConfigEdito r.java:275)
    at com.springsource.sts.config.ui.editors.AbstractCon figEditor.addPages(AbstractConfigEditor.java:245)
    at org.eclipse.ui.forms.editor.FormEditor.createPages (FormEditor.java:138)
    at org.eclipse.ui.part.MultiPageEditorPart.createPart Control(MultiPageEditorPart.java:348)
    at org.eclipse.ui.internal.EditorReference.createPart Helper(EditorReference.java:670)
    at org.eclipse.ui.internal.EditorReference.createPart (EditorReference.java:465)
    at org.eclipse.ui.internal.WorkbenchPartReference.get Part(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPa ne.java:313)
    at org.eclipse.ui.internal.presentations.PresentableP art.setVisible(PresentablePart.java:180)
    at org.eclipse.ui.internal.presentations.util.Present ablePartFolder.select(PresentablePartFolder.java:2 70)
    at org.eclipse.ui.internal.presentations.util.LeftToR ightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedS tackPresentation.selectPart(TabbedStackPresentatio n.java:473)
    at org.eclipse.ui.internal.PartStack.refreshPresentat ionSelection(PartStack.java:1245)
    at org.eclipse.ui.internal.PartStack.setSelection(Par tStack.java:1198)
    at org.eclipse.ui.internal.PartStack.presentationSele ctionChanged(PartStack.java:834)
    at org.eclipse.ui.internal.PartStack.access$1(PartSta ck.java:823)
    at org.eclipse.ui.internal.PartStack$1.selectPart(Par tStack.java:137)
    at org.eclipse.ui.internal.presentations.util.TabbedS tackPresentation$1.handleEvent(TabbedStackPresenta tion.java:133)
    at org.eclipse.ui.internal.presentations.util.Abstrac tTabFolder.fireEvent(AbstractTabFolder.java:269)
    at org.eclipse.ui.internal.presentations.util.Abstrac tTabFolder.fireEvent(AbstractTabFolder.java:278)
    at org.eclipse.ui.internal.presentations.defaultprese ntation.DefaultTabFolder.access$1(DefaultTabFolder .java:1)
    at org.eclipse.ui.internal.presentations.defaultprese ntation.DefaultTabFolder$2.handleEvent(DefaultTabF older.java:88)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1053)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1062)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Wid get.java:774)
    at org.eclipse.swt.custom.CTabFolder.setSelection(CTa bFolder.java:2746)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFold er.java:1433)
    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CT abFolder.java:257)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:4165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3754)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2701)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2665)
    at org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2499)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench. java:679)
    at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:668)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:14 10)


    My Eclipse config:

    STS
    Version: 2.9.1.RELEASE
    Build Id: 201203221000


    eclipse platform 3.7.2
    java EE IDE feature 1.4.2

    eclipse.buildId=M20120208-0800
    java.version=1.6.0_20
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_ES
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product


    Any ideas?

  • #2
    Hey!

    Please take a look which version of org.eclipse.draw2d you have installed. If just one, which version is it? If multiple, please list the installed versions. It looks like an incompatibility with a class from that bundle.

    -Martin

    Comment


    • #3
      Hello Martin, there is just one version of org.eclipse.draw2d -> 3.7.2.20111017-2020

      Regards.

      Comment


      • #4
        Leo will investigate this issue. We saw this once before, but didn't find the cause of this. Hopefully we can figure out what is causing it this time.

        Comment


        • #5
          I'm also getting this error

          Comment


          • #6
            I have no idea if this is related in any way to this error but after I removed CodePro AnalytiX plugin for Eclipse 3.5 (Galileo) and replaced it with CodePro AnalytiX plugin for Eclipse 3.7 (Galileo) this error stopped.

            Comment


            • #7
              Hey!

              Good to hear that you solved this problem by updating the CodePro AnalytiX plugin. I still have no idea why that influenced Spring IDE, but I guess that CodePro AnalytiX maybe forced a different version of the draw2d plugin to get installed and therefore confused Spring IDE. I think we should put a version constraint on our dependency to avoid this kind of problem in the future.

              Thanks for letting us know!!!

              Cheers,
              -Martin

              Comment

              Working...
              X