mknittig / googlecode-mylyn-connector

Automatically exported from code.google.com/p/googlecode-mylyn-connector
0 stars 0 forks source link

Synchronization Failed problem #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Synchronize the task list. It was working before.  I use this everyday and I 
don't remember doing anything in my IDE to have caused the problem.  I just 
noticed after adding 4 new issues in the web interface it was no longer synched 
with my IDE.

2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
eclipse.buildId=Galileo R2
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product 
org.eclipse.epp.package.jee.product

Please provide any additional information below.
org.eclipse.core.runtime.AssertionFailedException: null argument:
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
    at org.eclipse.mylyn.tasks.core.data.TaskAttribute.setValue(TaskAttribute.java:531)
    at org.eclipse.mylyn.tasks.core.data.TaskAttributeMapper.setValue(TaskAttributeMapper.java:268)
    at org.eclipse.mylyn.tasks.core.data.TaskMapper.setValue(TaskMapper.java:465)
    at org.eclipse.mylyn.tasks.core.data.TaskMapper.setSummary(TaskMapper.java:433)
    at org.eclipse.mylyn.internal.web.tasks.WebRepositoryConnector.getTaskData(WebRepositoryConnector.java:180)
    at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.synchronizeTask(SynchronizeTasksJob.java:237)
    at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.runInternal(SynchronizeTasksJob.java:210)
    at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.run(SynchronizeTasksJob.java:152)
    at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.run(SynchronizeTasksJob.java:128)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Notification failed for: null
java.lang.NullPointerException
    at org.eclipse.mylyn.internal.tasks.core.TaskList.fireDelta(TaskList.java:260)
    at org.eclipse.mylyn.internal.tasks.core.TaskList.notifySynchronizationStateChanged(TaskList.java:494)
    at org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal.synchronizeTasks(TasksUiInternal.java:486)
    at org.eclipse.mylyn.internal.tasks.ui.actions.RefreshRepositoryTasksAction.synchronizeAllTasks(RefreshRepositoryTasksAction.java:59)
    at org.eclipse.mylyn.internal.tasks.ui.actions.RefreshRepositoryTasksAction.run(RefreshRepositoryTasksAction.java:49)
    at org.eclipse.mylyn.internal.tasks.ui.actions.RefreshRepositoryTasksAction.run(RefreshRepositoryTasksAction.java:67)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Original issue reported on code.google.com by royce....@gmail.com on 24 Sep 2010 at 8:33

GoogleCodeExporter commented 8 years ago
Got here when googled this error.

> Error data: 

Not just synchronizing, nearly any operation on tasks results in it. I just 
tried toggling off auto-synchronize to see if this changes the amount of errors.

> Session data:

eclipse.buildId=I20110613-1736
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL
Framework arguments:  -showlocation -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -showlocation -product 
org.eclipse.epp.package.jee.product

This happens on a fresh workspace, Eclipse version is Indigo.

Stack trace from Eclipse error log:

java.lang.NullPointerException
    at org.eclipse.mylyn.internal.tasks.core.TaskList.fireDelta(TaskList.java:271)
    at org.eclipse.mylyn.internal.tasks.core.TaskList.notifyElementsChanged(TaskList.java:493)
    at org.eclipse.mylyn.internal.tasks.core.TaskJobFactory$1.done(TaskJobFactory.java:97)
    at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
    at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
    at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
    at org.eclipse.core.internal.jobs.JobManager.cancel(JobManager.java:325)
    at org.eclipse.core.internal.jobs.InternalJob.cancel(InternalJob.java:187)
    at org.eclipse.core.runtime.jobs.Job.cancel(Job.java:195)
    at org.eclipse.mylyn.internal.tasks.ui.TaskListSynchronizationScheduler.cancel(TaskListSynchronizationScheduler.java:105)
    at org.eclipse.mylyn.internal.tasks.ui.TaskListSynchronizationScheduler.setInterval(TaskListSynchronizationScheduler.java:127)
    at org.eclipse.mylyn.internal.tasks.ui.TaskListSynchronizationScheduler.setInterval(TaskListSynchronizationScheduler.java:118)
    at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.updateSynchronizationScheduler(TasksUiPlugin.java:534)
    at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.access$1(TasksUiPlugin.java:516)
    at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin$3.propertyChange(TasksUiPlugin.java:359)
    at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372)
    at org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.java:813)
    at org.eclipse.mylyn.internal.tasks.ui.actions.SynchronizeAutomaticallyAction.run(SynchronizeAutomaticallyAction.java:38)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    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:4165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    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:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Original comment by Tomasz.B...@gmail.com on 24 Aug 2011 at 11:51

GoogleCodeExporter commented 8 years ago
Hi,

I am getting this issue on Kepler when I try to associate a new Trac system to 
Mylyn.

org.eclipse.core.runtime.AssertionFailedException: null argument:
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
    at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
    at org.eclipse.mylyn.tasks.core.data.TaskAttribute.setValue(TaskAttribute.java:584)
    at org.eclipse.mylyn.internal.trac.core.TracTaskDataHandler.updateTaskData(TracTaskDataHandler.java:178)
    at org.eclipse.mylyn.internal.trac.core.TracTaskDataHandler.createTaskDataFromTicket(TracTaskDataHandler.java:117)
    at org.eclipse.mylyn.internal.trac.core.TracRepositoryConnector.performQuery(TracRepositoryConnector.java:493)
    at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQuery(SynchronizeQueriesJob.java:311)
    at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQueries(SynchronizeQueriesJob.java:268)
    at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.run(SynchronizeQueriesJob.java:201)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

----------------

eclipse.buildId=4.3.0.I20130605-2000
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.rcp.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product 
org.eclipse.epp.package.rcp.product -data 
e:\Projects\15-localization\tools\eclipse_workspace

Original comment by anders.h...@gmail.com on 1 Jul 2013 at 9:24