facebook

Error when opening Spring config file

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #287524 Reply

    Mike Suiter
    Member

    I get the following error whenever I open a Spring Config file:

    An error has occurred. See error log for more details.
    org/eclipse/mylyn/context/core/IInteractionContextListener

    The log file contains:

    
    !ENTRY org.eclipse.ui.workbench 4 2 2008-07-24 15:30:10.518
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NoClassDefFoundError: org/eclipse/mylyn/context/core/IInteractionContextListener
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:501)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:471)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:430)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:413)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:408)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at org.springframework.ide.eclipse.beans.mylyn.ui.BeansActiveFoldingEditorTracker.registerEditor(BeansActiveFoldingEditorTracker.java:58)
        at org.springframework.ide.eclipse.beans.mylyn.ui.BeansActiveFoldingEditorTracker.editorOpened(BeansActiveFoldingEditorTracker.java:43)
        at org.eclipse.mylyn.monitor.ui.AbstractEditorTracker.partOpened(AbstractEditorTracker.java:32)
        at org.eclipse.ui.internal.PartListenerList$5.run(PartListenerList.java:132)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:857)
        at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
        at org.eclipse.ui.internal.PartListenerList.firePartOpened(PartListenerList.java:130)
        at org.eclipse.ui.internal.PartService.firePartOpened(PartService.java:141)
        at org.eclipse.ui.internal.WWinPartService$1.partOpened(WWinPartService.java:52)
        at org.eclipse.ui.internal.PartListenerList2$5.run(PartListenerList2.java:128)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:857)
        at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
        at org.eclipse.ui.internal.PartListenerList2.firePartOpened(PartListenerList2.java:126)
        at org.eclipse.ui.internal.PartService.firePartOpened(PartService.java:144)
        at org.eclipse.ui.internal.WorkbenchPagePartList.firePartOpened(WorkbenchPagePartList.java:34)
        at org.eclipse.ui.internal.PartList.partOpened(PartList.java:227)
        at org.eclipse.ui.internal.PartList.access$0(PartList.java:200)
        at org.eclipse.ui.internal.PartList$1.propertyChanged(PartList.java:37)
        at org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(WorkbenchPartReference.java:372)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:607)
        at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2739)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2651)
        at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPage.java:2643)
        at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2595)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2590)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2574)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2565)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:644)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:603)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:286)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:194)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:175)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:268)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:316)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:613)
        at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:857)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
        at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
        at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
        at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
        at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
        at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    

    MyEclipse 6.5 was installed via Pulse.

    A second question is when editting a Spring Config file, Ctrl+Space for autocomplete doesn’t work. For example, I used to be able to type

    <bean id=”urlMapping” class=”SimpleUrlHandlerMapping

    then hit Ctrl+Space and it would autocomplete my class using the package name. Could this problem be a result of the above error?

    #287553 Reply

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    What editor are you opening the the file with?

    Do you have any other plugins installed with MyEclipse?

    #287558 Reply

    Mike Suiter
    Member

    I don’t have any other MyEclipse plugins installed.

    *** Date:
    Friday, July 25, 2008 9:31:52 AM CDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.0 GA
    Build id: 6.5.0-GA-20080609

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.5.0 GA
    Build id: 6.5.0-GA-20080609

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    D:\Eclipse\MyEclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    D:\Eclipse\MyEclipse\../Pulse\Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    D:\Eclipse\MyEclipse\../Pulse\Common\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -clean
    -configuration
    D:\Eclipse\MyEclipse\configuration
    -vm
    D:\Eclipse\Pulse\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll

    #287565 Reply

    Loyal Water
    Member

    msuiter,
    Can you open the pulse explorer and right click on MyEclipse 6.5 profile and select Reinstall and Run. Does that fix the issue?

    #290174 Reply

    Karsten
    Member

    Hi all,

    I ran into the same problem. How was it finally solved?

    Thanks in advance
    Karsten

    #290205 Reply

    Loyal Water
    Member

    Karsten,
    Are you working with pulse? Did you try the “Reinstall and Run” option?

    #290272 Reply

    crush_spin
    Member

    I am also facing the same problem. can you please let me know how to solve it? And no, I am not using Pulse.

    Thanks.

    #290347 Reply

    Loyal Water
    Member

    I need you to go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    Can you switch to a new workspace, create a new spring project and check if you are able to open the config file without issues..

    #290412 Reply

    Karsten
    Member

    Hi Nipun,

    sorry for the delay. I do not use the Pulse version so far. What what I can say – maybe this might help. I think the error just came after installing the SVN plugin subclipse. This requires the Mylyn Plugin as well and after this I thing, the error came up when opening the Spring config files.

    Does this gives you a hint?
    Thanks in advance
    Karsten

    #290527 Reply

    Loyal Water
    Member

    Karsten,
    Thank you for this additional information. Ill let the dev team know about this. I’ll get back to you with an update asap.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Error when opening Spring config file

You must be logged in to post in the forum log in