Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Mylyn 3.8.1 - updating Folding Error(Folding Mylyn CDT)
Mylyn 3.8.1 - updating Folding Error [message #909163] Thu, 06 September 2012 12:53 Go to next message
Joao Reis is currently offline Joao Reis
Messages: 1
Registered: September 2012
Junior Member
Everytime i open a new file this message error showns: Update Folding Error and delays the opening and slows eclipse CDT.

I use TaskTop Pro integration with Mylyn in CDT and cecause i have so much spagheti code i always had to have the auto folding activated.

I looked for a solution and changing the following files on the plugins folder:
org.eclipse.cdt.mylyn.ui_3.8.1.v20120725-0100.jar with org.eclipse.cdt.mylyn.ui_3.8.0.v20120612-0600.jar

it solved the problem but then the focus active task for file Outline it shows empty.
A role back is needed i thing but didn't try it yet.


Exception Stack Trace:
java.lang.NoSuchMethodError: org.eclipse.cdt.internal.ui.editor.CEditor.getInputCElement()Lorg/eclipse/cdt/core/model/ICElement;
	at org.eclipse.mylyn.internal.cdt.ui.editor.ActiveFoldingListener.updateFolding(ActiveFoldingListener.java:129)
	at org.eclipse.mylyn.internal.cdt.ui.editor.ActiveFoldingListener$2.runInUIThread(ActiveFoldingListener.java:104)
	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	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:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)


regards
JR
Re: Mylyn 3.8.1 - updating Folding Error [message #909406 is a reply to message #909163] Fri, 07 September 2012 01:03 Go to previous message
Steffen Pingel is currently offline Steffen Pingel
Messages: 706
Registered: July 2009
Senior Member
Please file a bug and include details about the version of Eclipse and CDT
you are using: http://eclipse.org/mylyn/support/

Thanks,

Steffen

Joao Reis wrote:

> Everytime i open a new file this message error showns: Update Folding
> Error and delays the opening and slows eclipse CDT.
>
> I use TaskTop Pro integration with Mylyn in CDT and cecause i have so much
> spagheti code i always had to have the auto folding activated.
>
> I looked for a solution and changing the following files on the plugins
> folder:
> org.eclipse.cdt.mylyn.ui_3.8.1.v20120725-0100.jar with
> org.eclipse.cdt.mylyn.ui_3.8.0.v20120612-0600.jar
>
> it solved the problem but then the focus active task for file Outline it
> shows empty. A role back is needed i thing but didn't try it yet.
>
>
> Exception Stack Trace:
>
> java.lang.NoSuchMethodError:
>
org.eclipse.cdt.internal.ui.editor.CEditor.getInputCElement()Lorg/eclipse/cdt/core/model/ICElement;
> at
>
org.eclipse.mylyn.internal.cdt.ui.editor.ActiveFoldingListener.updateFolding(ActiveFoldingListener.java:129)
> at
>
org.eclipse.mylyn.internal.cdt.ui.editor.ActiveFoldingListener$2.runInUIThread(ActiveFoldingListener.java:104)
> at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at
> org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at
>
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144) at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at
>
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1022)
> at
>
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
>
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)
> at
>
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:585) at
>
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at
>
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> at
>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
> 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:629) at
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at
> org.eclipse.equinox.launcher.Main.run(Main.java:1438)
>
>
> regards
> JR
--
Steffen Pingel
Principal Software Engineer, Eclipse Mylyn Tasks Lead
http://tasktop.com
Previous Topic:Automated git Branch Switching
Next Topic:Mylyn 3.8.0 and Atlassian JIRA v5.1.4 not working
Goto Forum:
  


Current Time: Wed Aug 27 19:14:47 EDT 2014

Powered by FUDForum. Page generated in 0.01983 seconds