Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350940 - Error: 3004 Unexpected Error Occurred
Summary: Error: 3004 Unexpected Error Occurred
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 10:12 EDT by Simon Goodall CLA
Modified: 2011-08-26 08:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Goodall CLA 2011-07-01 10:12:13 EDT
What steps will reproduce the problem?
1. Imported local Task context from a different workspace
2. Any change to task list causes the following exception
3. 


-- Error Details --
Date: Fri Jul 01 15:01:44 BST 2011
Message: Notification failed for: null
Severity: Error
Product: Eclipse Platform 3.6.2.v201102101200 (org.eclipse.platform.ide)
Plugin: org.eclipse.mylyn.tasks.core
Session Data:
eclipse.buildId=M20110210-1200
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments:  -showlocation
Command-line arguments:  -os win32 -ws win32 -arch x86 -data C:\Projects\workspace -showlocation


Exception Stack Trace:
java.lang.NullPointerException
at org.eclipse.mylyn.internal.tasks.core.TaskList.fireDelta(TaskList.java:260)
at org.eclipse.mylyn.internal.tasks.core.TaskList.notifyElementsChanged(TaskList.java:482)
at org.eclipse.mylyn.internal.tasks.core.TaskList.notifyElementChanged(TaskList.java:503)
at org.eclipse.mylyn.internal.context.ui.commands.ClearContextHandler.run(ClearContextHandler.java:43)
at org.eclipse.mylyn.internal.context.ui.editors.ContextEditorFormPage$8.linkActivated(ContextEditorFormPage.java:340)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)
at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)
at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Comment 1 Steffen Pingel CLA 2011-07-26 13:48:19 EDT
Can you provide steps how you imported the task context?
Comment 2 Simon Goodall CLA 2011-07-28 07:17:26 EDT
I have two workspaces configured on different branches of the same codebase.

I created a new set of tasks in one.
Ran the task export (from file menu) and saved a zip file
In the other eclipse/workspace I imported the tasks


My problem workspace seemed to correct itself after a restart of eclipse

I've just retested on a fresh workspace and not been able to reproduce the problem myself.
Comment 3 Steffen Pingel CLA 2011-08-26 08:32:47 EDT
Looking at the stack trace it's not clear to me why the listener object would be null. I would recommend updating to the latest version since the code has changed slightly since then.

I'll mark this as resolved for now but please reopen in case you encounter this problem again.