Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Change Mylyn.tasks.ui.jar cause Unhandled event loop exception
Change Mylyn.tasks.ui.jar cause Unhandled event loop exception [message #1403029] Sun, 20 July 2014 08:41 Go to next message
gu ruihang is currently offline gu ruihangFriend
Messages: 1
Registered: July 2014
Junior Member
I want to develop a project based on Mylyn. Just add a simple button in Mylyn task editor ui. So what i need to do is change some codes in org.eclipse.mylyn.tasks.ui.jar.

In my project, i add a plugin udf.HybridBRClassifier into org.eclipse.mylyn.tasks.ui.jar's dependecies. when i run as debug application, its useful. but when i export changed org.eclipse.mylyn.tasks.ui.jar as jar file and exchange the source jar in eclipse/plugins/ and run eclipse, it throws Unhandled event loop exception.

here is details:
java.lang.NoClassDefFoundError: udf/HybridBRClassifier/Model/CommunicatingInformation
at extpackages.HybridBRClassifier.ui.PredictUi.PredictingTask(
at extpackages.HybridBRClassifier.ui.PredictUi.MouseupFunction(
at extpackages.HybridBRClassifier.ui.PredictUi.access$0(
at extpackages.HybridBRClassifier.ui.PredictUi$1.mouseUp(
at org.eclipse.swt.widgets.TypedListener.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Display.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Display.runDeferredEvents(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
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(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(
Caused by: java.lang.ClassNotFoundException: udf.HybridBRClassifier.Model.CommunicatingInformation cannot be found by org.eclipse.mylyn.tasks.ui_3.12.0.v20140521-2340
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(Unknown Source)
... 32 more

i have already add plugin udf.HybridBRClassifier into dependencies, so i don't think the problem is here.
the plugin udf.HybridBRClassifier itself is ok because i write another plugin dependent on udf.HybridBRClassifier and it can run rightly.
Re: Change Mylyn.tasks.ui.jar cause Unhandled event loop exception [message #1403756 is a reply to message #1403029] Fri, 25 July 2014 23:55 Go to previous message
Sam Davis is currently offline Sam DavisFriend
Messages: 98
Registered: July 2012

If you just want to add a button to the task editor toolbar, you don't need to modify tasks.ui at all. You can just use the menus extension point from your own plugin:

<command commandId="..."

Previous Topic:Mylyn 3.12 is now available
Next Topic:github connector and problems with labels and other attributes
Goto Forum:

Current Time: Thu Oct 06 18:29:54 GMT 2022

Powered by FUDForum. Page generated in 0.01445 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top