facebook

Spring config editor content assist not working in 6.5

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #287056 Reply

    Alex Volanis
    Member

    I just installed the Pulse enabled 6.5 and find that the Spring configuration editor does not have content assist. Actually it seems to work until the workspace is restarted for the first time. After that there is no way to get content assist either during typing xml or by ctrl-Space. There is no popup at all anymore. I searched for an answer in the forums and cannot find anything related.

    Here is my installation summary:

    *** Date:
    Monday, July 14, 2008 12:28:28 AM EDT

    ** 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 Project SDK

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

    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 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 Plug-in Development Environment

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

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

    #287057

    Alex Volanis
    Member

    Just now by pure luck I discovered this exception in the error log that I had not seen previously. It seems to be the root cause but I cannot see why it would work once and fail following a workspace restart. Am I missing something? I seem to need a Mylyn JAR or what?

    java.lang.NoClassDefFoundError: org/eclipse/mylyn/context/core/ContextCorePlugin
    at org.springframework.ide.eclipse.mylyn.ui.editor.FocusedStructuredTextViewerContentAssistProcessor.computeCompletionProposals(FocusedStructuredTextViewerContentAssistProcessor.java:102)
    at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:300)
    at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1759)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:478)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:475)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:410)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)

    #287084

    loopingrage
    Member

    I’m a paying customer and am encountering the same error. Spring IDE content assist triggers a plugin error: “Unhandled event loop exception” with the same stack trace posted by avolanis. I tried installing Mylyn from the Pulse Catalog to no avail.

    Please advise.

    #287145

    Riyad Kalla
    Member

    Guys,
    Mylyn borked their update site when Ganymede was released that caused a slew of bugs with dependencies on it to break. Can you try and right-click on your profile in the Pulse Explorer and select “Reinstall and Run”, that won’t re-downloading all the plugins but it will re-build the launch profile and re-evaluate all the dependencies completely. I hope that does the trick.

    #287154

    Alex Volanis
    Member

    I tried that without success. It did clear up some other issues I had with validation and everything else seems to be working now except for things that depend on mylyn. I see a handful of class not found type errors for mylyn packages. Any idea on the ETA for the issue getting corrected?

    #287156

    loopingrage
    Member

    All good on my end. Thanks guys (and gals).

    #287192

    loopingrage
    Member

    I spoke too soon. The problem came back after restarting MyEclipse (my computer). This is getting really annoying. Is this an issue with Pulse or the MyEclipse 6.5 release in general?

    #287214

    mgumbs
    Member

    Any solution to this issue? I’m facing a similar situation. I get the java.lang.NoClassDefFoundError: org/eclipse/mylyn/context/core/ContextCorePlugin exception whenever I try to edit a file while a task is active.

    Mylyn 2.3 seems to work just fine but then I loose some of my subversive integration.

    Thoughts?

    #287215

    mgumbs
    Member

    I took a look at pkg structure and it seems

    org/eclipse/mylyn/context/core/ContextCorePlugin

    is now

    org/eclipse/mylyn/internal/context/core/ContextCorePlugin

    (note the “internal” package).

    Also, there exists

    org.eclipse/mylyn/context/core/ContextCore

    .

    #287216

    mgumbs
    Member

    BTW, the jar file for my last post is

    org.eclipse.mylyn.context.core_3.0.1.v20080716-2200-e33.jar
    #287224

    Riyad Kalla
    Member

    Guys,

    I’m not *that* familiar with Mylyn, but have you tried clicking the green “+” next to it as well as the other plugins that offer Mylyn integration (like SpringIDE) to install any Mylyn integration optional components to make sure all the pieces are there to talk to each other?

    Also with regards to Mylyn I don’t know why you would be getting a missing core class exception, is it possible that class is part of the “Focused UI” optional component that belongs to Mylyn? (again click the green plus next to Mylyn to see all the Related/Optional software that can be installed for it).

    #287227

    loopingrage
    Member

    The strange this is that I don’t have (nor want) any Mylyn features installed. It seems like MyEclipse bundles it regardless.

    #287240

    Riyad Kalla
    Member

    I double-checked the MyEclipse and Eclipse Classic profiles and didn’t see Mylyn in there… if you view your profile do you see it listed in the profile anywhere from the Pulse Explorer?

    #287242

    mgumbs
    Member

    I don’t think this is a matter of a missing component. The component seems to be there…however it seems to have been moved. My guess is there needs to be a patch applied to MyEclipse to look for the culprit class in the correct package. I found some spring plugin patches (http://jira.springframework.org/browse/IDE-889) that makes use of

    org.eclipse/mylyn/context/core/ContextCore  /*Notice the ContextCore rather than ContextCorePlugin*/

    Again, it seems that

    ContextCorePlugin

    has been moved from

    org.eclipse.mylyn.context.core

    to

    org.eclipse.mylyn.internal.context.core /*Note the new "internal" package*/

    and this seems to be what causes the NoClassDefFoundError.

    It is my understanding the MyEclipse has Spring support built in and I’m not sure if this is the same as the Spring plugin that is available. Either way, I didn’t want to risk manually installing the patched Spring Plugin without understanding what this would mean for the built in version.

    Can someone from MyEclipseIDE provide some advice on this?

    #287250

    Riyad Kalla
    Member

    I’ve sent this to the Dev team to evaluate, hang tight. (also thank you for the detailed research mgumbs)

Viewing 15 posts - 1 through 15 (of 20 total)
Reply To: Spring config editor content assist not working in 6.5

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