Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 207874 - error in the log "Could not format notification for: xxx"
Summary: error in the log "Could not format notification for: xxx"
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.2   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 211892 (view as bug list)
Depends on:
Blocks: 205861
  Show dependency tree
 
Reported: 2007-10-29 18:36 EDT by Eugene Kuleshov CLA
Modified: 2007-12-04 17:32 EST (History)
1 user (show)

See Also:


Attachments
mylyn/context/zip (1.82 KB, application/octet-stream)
2007-11-15 01:04 EST, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2007-10-29 18:36:54 EDT
The task this error is referring to came from jira query. But this issue is even more weird because I have task notification disabled in Mylyn settings.

-- Error Log --
Date: Mon Oct 29 16:11:24 EDT 2007
Message: Could not format notification for: add scripts to install required jars to local Maven repository

Severity: Error
Plugin ID: org.eclipse.mylyn
Stack Trace:
java.lang.NullPointerException
	at java.util.ArrayList.<init>(ArrayList.java:131)
	at org.eclipse.mylyn.tasks.ui.TasksUiPlugin$Change.<init>(TasksUiPlugin.java:1078)
	at org.eclipse.mylyn.tasks.ui.TasksUiPlugin.getDiff(TasksUiPlugin.java:1055)
	at org.eclipse.mylyn.tasks.ui.TasksUiPlugin.getChangedAttributes(TasksUiPlugin.java:990)
	at org.eclipse.mylyn.tasks.ui.TasksUiPlugin.getIncommingNotification(TasksUiPlugin.java:925)
	at org.eclipse.mylyn.internal.tasks.ui.views.TaskListToolTip.getIncommingText(TaskListToolTip.java:210)
	at org.eclipse.mylyn.internal.tasks.ui.views.TaskListToolTip.createToolTipContentArea(TaskListToolTip.java:365)
	at org.eclipse.jface.window.ToolTip.toolTipShow(ToolTip.java:332)
	at org.eclipse.jface.window.ToolTip.toolTipOpen(ToolTip.java:433)
	at org.eclipse.jface.window.ToolTip.toolTipCreate(ToolTip.java:321)
	at org.eclipse.jface.window.ToolTip.access$2(ToolTip.java:315)
	at org.eclipse.jface.window.ToolTip$ToolTipOwnerControlListener.handleEvent(ToolTip.java:580)
	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:153)
	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(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
Comment 1 Steffen Pingel CLA 2007-10-29 18:47:16 EDT
This is invoked by the tooltip.
Comment 2 Steffen Pingel CLA 2007-11-15 01:04:05 EST
Added null check.

Additionally removed brackets from incoming changes presentation and fixed a bug where the values in lists (e.g. changes of CCs) would not be separated by comma.
Comment 3 Steffen Pingel CLA 2007-11-15 01:04:08 EST
Created attachment 82945 [details]
mylyn/context/zip
Comment 4 Steffen Pingel CLA 2007-12-04 17:32:31 EST
*** Bug 211892 has been marked as a duplicate of this bug. ***