java.lang.NoSuchMethodError: org.eclipse.jdt.core.ICompilationUnit.getWorkingCopy(Lorg/eclipse/jdt/core/WorkingCopyOwner;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/jdt/core/ICompilationUnit;

Spring JIRA | Christian Dupuis | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    BeansJavaCompletionUtils uses Eclipse 3.3 API. For backwards compatibility to Eclipse 3.2 this API usage must be removed. {code} !SESSION 2007-09-23 23:50:08.392 ----------------------------------------------- eclipse.buildId=M20070212-1330 java.version=1.6.0_02 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.ui 4 4 2007-09-23 23:50:44.444 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2007-09-23 23:50:44.444 !MESSAGE org.eclipse.jdt.core.ICompilationUnit.getWorkingCopy(Lorg/eclipse/jdt/core/WorkingCopyOwner;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/jdt/core/ICompilationUnit; !STACK 0 java.lang.NoSuchMethodError: org.eclipse.jdt.core.ICompilationUnit.getWorkingCopy(Lorg/eclipse/jdt/core/WorkingCopyOwner;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/jdt/core/ICompilationUnit; at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.createSourceCompilationUnit(BeansJavaCompletionUtils.java:190) at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.addClassValueProposals(BeansJavaCompletionUtils.java:94) at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.addClassValueProposals(BeansJavaCompletionUtils.java:76) at org.springframework.ide.eclipse.beans.ui.editor.namespaces.bean.BeansContentAssistProcessor.addClassAttributeValueProposals(BeansContentAssistProcessor.java:91) at org.springframework.ide.eclipse.beans.ui.editor.namespaces.bean.BeansContentAssistProcessor.computeAttributeValueProposals(BeansContentAssistProcessor.java:418) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.AbstractContentAssistProcessor.addAttributeValueProposals(AbstractContentAssistProcessor.java:135) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.DelegatingContentAssistProcessor.addAttributeValueProposals(DelegatingContentAssistProcessor.java:30) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1164) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1198) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:102) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1303) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:113) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:233) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1612) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:473) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:470) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:405) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:399) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1441) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:376) {code}

    Spring JIRA | 10 years ago | Christian Dupuis
    java.lang.NoSuchMethodError: org.eclipse.jdt.core.ICompilationUnit.getWorkingCopy(Lorg/eclipse/jdt/core/WorkingCopyOwner;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/jdt/core/ICompilationUnit;
  2. 0

    BeansJavaCompletionUtils uses Eclipse 3.3 API. For backwards compatibility to Eclipse 3.2 this API usage must be removed. {code} !SESSION 2007-09-23 23:50:08.392 ----------------------------------------------- eclipse.buildId=M20070212-1330 java.version=1.6.0_02 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.ui 4 4 2007-09-23 23:50:44.444 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2007-09-23 23:50:44.444 !MESSAGE org.eclipse.jdt.core.ICompilationUnit.getWorkingCopy(Lorg/eclipse/jdt/core/WorkingCopyOwner;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/jdt/core/ICompilationUnit; !STACK 0 java.lang.NoSuchMethodError: org.eclipse.jdt.core.ICompilationUnit.getWorkingCopy(Lorg/eclipse/jdt/core/WorkingCopyOwner;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/jdt/core/ICompilationUnit; at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.createSourceCompilationUnit(BeansJavaCompletionUtils.java:190) at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.addClassValueProposals(BeansJavaCompletionUtils.java:94) at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.addClassValueProposals(BeansJavaCompletionUtils.java:76) at org.springframework.ide.eclipse.beans.ui.editor.namespaces.bean.BeansContentAssistProcessor.addClassAttributeValueProposals(BeansContentAssistProcessor.java:91) at org.springframework.ide.eclipse.beans.ui.editor.namespaces.bean.BeansContentAssistProcessor.computeAttributeValueProposals(BeansContentAssistProcessor.java:418) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.AbstractContentAssistProcessor.addAttributeValueProposals(AbstractContentAssistProcessor.java:135) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.DelegatingContentAssistProcessor.addAttributeValueProposals(DelegatingContentAssistProcessor.java:30) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1164) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1198) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:102) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1303) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:113) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:233) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1612) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:473) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:470) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:405) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:399) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1441) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:376) {code}

    Spring JIRA | 10 years ago | Christian Dupuis
    java.lang.NoSuchMethodError: org.eclipse.jdt.core.ICompilationUnit.getWorkingCopy(Lorg/eclipse/jdt/core/WorkingCopyOwner;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/jdt/core/ICompilationUnit;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.eclipse.jdt.core.ICompilationUnit.getWorkingCopy(Lorg/eclipse/jdt/core/WorkingCopyOwner;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/jdt/core/ICompilationUnit;

      at org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.createSourceCompilationUnit()
    2. org.springframework.ide
      DelegatingContentAssistProcessor.addAttributeValueProposals
      1. org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.createSourceCompilationUnit(BeansJavaCompletionUtils.java:190)
      2. org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.addClassValueProposals(BeansJavaCompletionUtils.java:94)
      3. org.springframework.ide.eclipse.beans.ui.editor.util.BeansJavaCompletionUtils.addClassValueProposals(BeansJavaCompletionUtils.java:76)
      4. org.springframework.ide.eclipse.beans.ui.editor.namespaces.bean.BeansContentAssistProcessor.addClassAttributeValueProposals(BeansContentAssistProcessor.java:91)
      5. org.springframework.ide.eclipse.beans.ui.editor.namespaces.bean.BeansContentAssistProcessor.computeAttributeValueProposals(BeansContentAssistProcessor.java:418)
      6. org.springframework.ide.eclipse.beans.ui.editor.contentassist.AbstractContentAssistProcessor.addAttributeValueProposals(AbstractContentAssistProcessor.java:135)
      7. org.springframework.ide.eclipse.beans.ui.editor.contentassist.DelegatingContentAssistProcessor.addAttributeValueProposals(DelegatingContentAssistProcessor.java:30)
      7 frames
    3. org.eclipse.wst
      XMLContentAssistProcessor.computeCompletionProposals
      1. org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1164)
      2. org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1198)
      3. org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:102)
      4. org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1303)
      5. org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:113)
      5 frames
    4. Structured Source Editor
      CompoundContentAssistProcessor.computeCompletionProposals
      1. org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:233)
      1 frame
    5. JFace Text
      CompletionProposalPopup$2.run
      1. org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1612)
      2. org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:473)
      3. org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:470)
      4. org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:405)
      4 frames
    6. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
      1 frame
    7. JFace Text
      ContentAssistant.showPossibleCompletions
      1. org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:399)
      2. org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1441)
      2 frames
    8. Structured Source Editor
      StructuredTextViewer.doOperation
      1. org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:376)
      1 frame