Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Mylyn not able to parse backup files !!!
Mylyn not able to parse backup files !!! [message #49263] Thu, 29 May 2008 14:02 Go to next message
Eclipse UserFriend
Originally posted by: chlache.talita.org

After updating from m7 to rc2 i got into an incredible mess.
First I ran into one crash(most likely due to Mylyn) after another reading my workspace.
Now it finally works but Mylyn cannot read its own backup data properly.
I guess thats the worst thing a software can do - not be able to read your own backup data.
All categories are empty. Everything is now put into uncategorized. Dozens of tasks.
Some tasks seems to be empty.

Mylyn seems to get more and more buggy. One time - after switching tasks - all editors gone
next time nothing changes at all - the editors stay the same.

And the newest thing: two tasks stay active all the time. I cannot turn the old task off.

Sorry I did not file a bug report. I am pissed and too busy and I lost my account data too.
Re: Mylyn not able to parse backup files !!! [message #49270 is a reply to message #49263] Thu, 29 May 2008 15:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chlache.talita.org

I went back to m7.
First Mylyn cannot create its TaskView - ERROR.

!ENTRY org.eclipse.ui.workbench 4 0 2008-05-29 16:06:36.703
!MESSAGE Unable to create view ID org.eclipse.mylyn.tasks.ui.views.tasks: An unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException
at org.eclipse.mylyn.tasks.core.AbstractTaskContainer.getChildr en(AbstractTaskContainer.java:75)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getFilteredRootChildren(TaskListContentProvider.java:1 91)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getFilteredChildrenFor(TaskListContentProvider.java:17 3)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getChildren(TaskListContentProvider.java:82)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.hasChildren(TaskListContentProvider.java:89)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2076)
at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer .java:581)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2102)
at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(Abst ractTreeViewer.java:2752)
at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.j ava:841)
at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:828)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:802)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:776)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:633)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitial izeTree(AbstractTreeViewer.java:1490)
at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree( TreeViewer.java:822)
at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:1474)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1365)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(Tre eViewer.java:396)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1328)
at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1467)
at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.inpu tChanged(FilteredTree.java:905)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:251)
at org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1603)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.creat ePartControl(TaskListView.java:779)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 0)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
at org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:668)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
at org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
at org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2557)
at org.eclipse.ui.internal.WorkbenchWindow$25.run(WorkbenchWind ow.java:2862)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2843)
at org.eclipse.ui.internal.WorkbenchWindow$19.runWithException( WorkbenchWindow.java:2160)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3759)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3384)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1365)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3759)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2305)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 10)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:494)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:489)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:112)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
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(EclipseS tarter.java:379)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

I need to delete the .mylyn directory of the workspace.
Taskview shows up without errors.
Restore from Backup. Task Data are restored almost right.
One task is empty.

Andreas Chlache wrote:
> After updating from m7 to rc2 i got into an incredible mess.
> First I ran into one crash(most likely due to Mylyn) after another
> reading my workspace.
> Now it finally works but Mylyn cannot read its own backup data properly.
> I guess thats the worst thing a software can do - not be able to read
> your own backup data.
> All categories are empty. Everything is now put into uncategorized.
> Dozens of tasks.
> Some tasks seems to be empty.
>
> Mylyn seems to get more and more buggy. One time - after switching tasks
> - all editors gone
> next time nothing changes at all - the editors stay the same.
>
> And the newest thing: two tasks stay active all the time. I cannot turn
> the old task off.
>
> Sorry I did not file a bug report. I am pissed and too busy and I lost
> my account data too.
>
>
Re: Mylyn not able to parse backup files !!! [message #49279 is a reply to message #49270] Thu, 29 May 2008 17:53 Go to previous messageGo to next message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
Andreas:

It looks like your Mylyn was partially updated, either due to a network
problem or an install/p2 problem. Could you please file a bug against
Mylyn with this stack trace and let us know how up updated/installed?

In the meantime, if you have any more problems with the 3.0 RCs please
do the following:

1) Uninstall or delete the old plug-ins. Make sure you leave the
<workspace>/.mylyn directory around since it holds the snapshots.

2) Install Mylyn 2.3.x from: http://www.eclipse.org/mylyn/downloads/

3) Restore tasks from a backup if they disappeared, via the Task List's
view menu.

Mik

Andreas Chlache wrote:
> I went back to m7.
> First Mylyn cannot create its TaskView - ERROR.
>
> !ENTRY org.eclipse.ui.workbench 4 0 2008-05-29 16:06:36.703
> !MESSAGE Unable to create view ID
> org.eclipse.mylyn.tasks.ui.views.tasks: An unexpected exception was thrown.
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.mylyn.tasks.core.AbstractTaskContainer.getChildr en(AbstractTaskContainer.java:75)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getFilteredRootChildren(TaskListContentProvider.java:1 91)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getFilteredChildrenFor(TaskListContentProvider.java:17 3)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getChildren(TaskListContentProvider.java:82)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.hasChildren(TaskListContentProvider.java:89)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2076)
>
> at
> org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer .java:581)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2102)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(Abst ractTreeViewer.java:2752)
>
> at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.j ava:841)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:828)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:802)
>
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:776)
>
> at
> org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:633)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.internalInitial izeTree(AbstractTreeViewer.java:1490)
>
> at
> org.eclipse.jface.viewers.TreeViewer.internalInitializeTree( TreeViewer.java:822)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:1474)
>
> at
> org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1365)
>
> at
> org.eclipse.jface.viewers.TreeViewer.preservingSelection(Tre eViewer.java:396)
>
> at
> org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1328)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1467)
>
> at
> org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.inpu tChanged(FilteredTree.java:905)
>
> at
> org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:251)
> at
> org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1603)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.creat ePartControl(TaskListView.java:779)
>
> at
> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 0)
> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
> at
> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>
> at
> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>
> at
> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>
> at
> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>
> at
> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:668)
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
> at
> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>
> at
> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>
> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
> at
> org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2557)
> at
> org.eclipse.ui.internal.WorkbenchWindow$25.run(WorkbenchWind ow.java:2862)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2843)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow$19.runWithException( WorkbenchWindow.java:2160)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:132)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3759)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3384)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
>
> at
> org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1365)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:132)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3759)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3384)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2305)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 10)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:494)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:489)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:112)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> 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(EclipseS tarter.java:379)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>
> I need to delete the .mylyn directory of the workspace.
> Taskview shows up without errors.
> Restore from Backup. Task Data are restored almost right.
> One task is empty.
>
> Andreas Chlache wrote:
>> After updating from m7 to rc2 i got into an incredible mess.
>> First I ran into one crash(most likely due to Mylyn) after another
>> reading my workspace.
>> Now it finally works but Mylyn cannot read its own backup data properly.
>> I guess thats the worst thing a software can do - not be able to read
>> your own backup data.
>> All categories are empty. Everything is now put into uncategorized.
>> Dozens of tasks.
>> Some tasks seems to be empty.
>>
>> Mylyn seems to get more and more buggy. One time - after switching
>> tasks - all editors gone
>> next time nothing changes at all - the editors stay the same.
>>
>> And the newest thing: two tasks stay active all the time. I cannot
>> turn the old task off.
>>
>> Sorry I did not file a bug report. I am pissed and too busy and I lost
>> my account data too.
>>
>>
Re: Mylyn not able to parse backup files !!! [message #49322 is a reply to message #49263] Thu, 29 May 2008 18:04 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> Mylyn seems to get more and more buggy. One time - after switching tasks -
> all editors gone next time nothing changes at all - the editors stay the
> same.

If you activate a task that has not been activated beforethe open editors
will remain open. Please file a bug if the activated task had been
activated before.

> And the newest thing: two tasks stay active all the time. I cannot turn
> the old task off.

I have filed a new bug and will investigate that:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=234682

> Sorry I did not file a bug report. I am pissed and too busy and I lost my
> account data too.

The account data is stored in the eclipse keystore. The default location
depends on your operating system but you can force it to a particular
location to share it between Eclipse installations, e.g.:

eclipse -keystore ~/.eclipsekeystore

Steffen
Re: Mylyn not able to parse backup files !!! [message #49352 is a reply to message #49322] Thu, 29 May 2008 19:06 Go to previous messageGo to next message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
Registered: July 2009
Senior Member
Steffen Pingel wrote:
> The account data is stored in the eclipse keystore. The default location
> depends on your operating system but you can force it to a particular
> location to share it between Eclipse installations, e.g.:
>
> eclipse -keystore ~/.eclipsekeystore
>
Didn't Eclipse Platform changed implementation and storage of that
data in 3.4? I saw note for CVS plugin that users would have to re-enter
credentials. Though Task Repositories details always been stored outside
of keystore and shouldn't be lost.

regards,
Eugene
Re: Mylyn not able to parse backup files !!! [message #49382 is a reply to message #49352] Thu, 29 May 2008 19:56 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
>> The account data is stored in the eclipse keystore. The default location
>> depends on your operating system but you can force it to a particular
>> location to share it between Eclipse installations, e.g.:
>>
>> eclipse -keystore ~/.eclipsekeystore
>>
> Didn't Eclipse Platform changed implementation and storage of that
> data in 3.4? I saw note for CVS plugin that users would have to re-enter
> credentials. Though Task Repositories details always been stored outside
> of keystore and shouldn't be lost.

Yes, Eclipse 3.4 includes the new Equinox Security framework that is used by
CVS. Mylyn does make not use of the new APIs at this point and is still
using the old keystore.

Steffen
Re: Mylyn not able to parse backup files !!! [message #589821 is a reply to message #49263] Thu, 29 May 2008 15:19 Go to previous message
Eclipse UserFriend
Originally posted by: chlache.talita.org

I went back to m7.
First Mylyn cannot create its TaskView - ERROR.

!ENTRY org.eclipse.ui.workbench 4 0 2008-05-29 16:06:36.703
!MESSAGE Unable to create view ID org.eclipse.mylyn.tasks.ui.views.tasks: An unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException
at org.eclipse.mylyn.tasks.core.AbstractTaskContainer.getChildr en(AbstractTaskContainer.java:75)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getFilteredRootChildren(TaskListContentProvider.java:1 91)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getFilteredChildrenFor(TaskListContentProvider.java:17 3)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getChildren(TaskListContentProvider.java:82)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.hasChildren(TaskListContentProvider.java:89)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2076)
at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer .java:581)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2102)
at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(Abst ractTreeViewer.java:2752)
at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.j ava:841)
at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:828)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:802)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:776)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:633)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitial izeTree(AbstractTreeViewer.java:1490)
at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree( TreeViewer.java:822)
at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:1474)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1365)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(Tre eViewer.java:396)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1328)
at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1467)
at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.inpu tChanged(FilteredTree.java:905)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:251)
at org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1603)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.creat ePartControl(TaskListView.java:779)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 0)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
at org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:668)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
at org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
at org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2557)
at org.eclipse.ui.internal.WorkbenchWindow$25.run(WorkbenchWind ow.java:2862)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2843)
at org.eclipse.ui.internal.WorkbenchWindow$19.runWithException( WorkbenchWindow.java:2160)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3759)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3384)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1365)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3759)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2305)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 10)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:494)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:489)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:112)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
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(EclipseS tarter.java:379)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

I need to delete the .mylyn directory of the workspace.
Taskview shows up without errors.
Restore from Backup. Task Data are restored almost right.
One task is empty.

Andreas Chlache wrote:
> After updating from m7 to rc2 i got into an incredible mess.
> First I ran into one crash(most likely due to Mylyn) after another
> reading my workspace.
> Now it finally works but Mylyn cannot read its own backup data properly.
> I guess thats the worst thing a software can do - not be able to read
> your own backup data.
> All categories are empty. Everything is now put into uncategorized.
> Dozens of tasks.
> Some tasks seems to be empty.
>
> Mylyn seems to get more and more buggy. One time - after switching tasks
> - all editors gone
> next time nothing changes at all - the editors stay the same.
>
> And the newest thing: two tasks stay active all the time. I cannot turn
> the old task off.
>
> Sorry I did not file a bug report. I am pissed and too busy and I lost
> my account data too.
>
>
Re: Mylyn not able to parse backup files !!! [message #589835 is a reply to message #49270] Thu, 29 May 2008 17:53 Go to previous message
Mik Kersten is currently offline Mik KerstenFriend
Messages: 287
Registered: July 2009
Senior Member
Andreas:

It looks like your Mylyn was partially updated, either due to a network
problem or an install/p2 problem. Could you please file a bug against
Mylyn with this stack trace and let us know how up updated/installed?

In the meantime, if you have any more problems with the 3.0 RCs please
do the following:

1) Uninstall or delete the old plug-ins. Make sure you leave the
<workspace>/.mylyn directory around since it holds the snapshots.

2) Install Mylyn 2.3.x from: http://www.eclipse.org/mylyn/downloads/

3) Restore tasks from a backup if they disappeared, via the Task List's
view menu.

Mik

Andreas Chlache wrote:
> I went back to m7.
> First Mylyn cannot create its TaskView - ERROR.
>
> !ENTRY org.eclipse.ui.workbench 4 0 2008-05-29 16:06:36.703
> !MESSAGE Unable to create view ID
> org.eclipse.mylyn.tasks.ui.views.tasks: An unexpected exception was thrown.
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.mylyn.tasks.core.AbstractTaskContainer.getChildr en(AbstractTaskContainer.java:75)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getFilteredRootChildren(TaskListContentProvider.java:1 91)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getFilteredChildrenFor(TaskListContentProvider.java:17 3)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.getChildren(TaskListContentProvider.java:82)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListContentPro vider.hasChildren(TaskListContentProvider.java:89)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2076)
>
> at
> org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer .java:581)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2102)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(Abst ractTreeViewer.java:2752)
>
> at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.j ava:841)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:828)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:802)
>
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:776)
>
> at
> org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:633)
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.internalInitial izeTree(AbstractTreeViewer.java:1490)
>
> at
> org.eclipse.jface.viewers.TreeViewer.internalInitializeTree( TreeViewer.java:822)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:1474)
>
> at
> org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1365)
>
> at
> org.eclipse.jface.viewers.TreeViewer.preservingSelection(Tre eViewer.java:396)
>
> at
> org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1328)
>
> at
> org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1467)
>
> at
> org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.inpu tChanged(FilteredTree.java:905)
>
> at
> org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:251)
> at
> org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1603)
>
> at
> org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.creat ePartControl(TaskListView.java:779)
>
> at
> org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:371)
>
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:230)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
>
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:30 0)
> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
> at
> org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:180)
>
> at
> org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:270)
>
> at
> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
>
> at
> org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:473)
>
> at
> org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
>
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:668)
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
> at
> org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:568)
>
> at
> org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:271)
>
> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:964)
> at
> org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:2557)
> at
> org.eclipse.ui.internal.WorkbenchWindow$25.run(WorkbenchWind ow.java:2862)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:2843)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow$19.runWithException( WorkbenchWindow.java:2160)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:132)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3759)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3384)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
>
> at
> org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1365)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:132)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3759)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3384)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2305)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 10)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:494)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:489)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:112)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
>
> 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(EclipseS tarter.java:379)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>
> I need to delete the .mylyn directory of the workspace.
> Taskview shows up without errors.
> Restore from Backup. Task Data are restored almost right.
> One task is empty.
>
> Andreas Chlache wrote:
>> After updating from m7 to rc2 i got into an incredible mess.
>> First I ran into one crash(most likely due to Mylyn) after another
>> reading my workspace.
>> Now it finally works but Mylyn cannot read its own backup data properly.
>> I guess thats the worst thing a software can do - not be able to read
>> your own backup data.
>> All categories are empty. Everything is now put into uncategorized.
>> Dozens of tasks.
>> Some tasks seems to be empty.
>>
>> Mylyn seems to get more and more buggy. One time - after switching
>> tasks - all editors gone
>> next time nothing changes at all - the editors stay the same.
>>
>> And the newest thing: two tasks stay active all the time. I cannot
>> turn the old task off.
>>
>> Sorry I did not file a bug report. I am pissed and too busy and I lost
>> my account data too.
>>
>>
Re: Mylyn not able to parse backup files !!! [message #589850 is a reply to message #49263] Thu, 29 May 2008 18:04 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> Mylyn seems to get more and more buggy. One time - after switching tasks -
> all editors gone next time nothing changes at all - the editors stay the
> same.

If you activate a task that has not been activated beforethe open editors
will remain open. Please file a bug if the activated task had been
activated before.

> And the newest thing: two tasks stay active all the time. I cannot turn
> the old task off.

I have filed a new bug and will investigate that:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=234682

> Sorry I did not file a bug report. I am pissed and too busy and I lost my
> account data too.

The account data is stored in the eclipse keystore. The default location
depends on your operating system but you can force it to a particular
location to share it between Eclipse installations, e.g.:

eclipse -keystore ~/.eclipsekeystore

Steffen
Re: Mylyn not able to parse backup files !!! [message #589855 is a reply to message #49322] Thu, 29 May 2008 19:06 Go to previous message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
Registered: July 2009
Senior Member
Steffen Pingel wrote:
> The account data is stored in the eclipse keystore. The default location
> depends on your operating system but you can force it to a particular
> location to share it between Eclipse installations, e.g.:
>
> eclipse -keystore ~/.eclipsekeystore
>
Didn't Eclipse Platform changed implementation and storage of that
data in 3.4? I saw note for CVS plugin that users would have to re-enter
credentials. Though Task Repositories details always been stored outside
of keystore and shouldn't be lost.

regards,
Eugene
Re: Mylyn not able to parse backup files !!! [message #589862 is a reply to message #49352] Thu, 29 May 2008 19:56 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
>> The account data is stored in the eclipse keystore. The default location
>> depends on your operating system but you can force it to a particular
>> location to share it between Eclipse installations, e.g.:
>>
>> eclipse -keystore ~/.eclipsekeystore
>>
> Didn't Eclipse Platform changed implementation and storage of that
> data in 3.4? I saw note for CVS plugin that users would have to re-enter
> credentials. Though Task Repositories details always been stored outside
> of keystore and shouldn't be lost.

Yes, Eclipse 3.4 includes the new Equinox Security framework that is used by
CVS. Mylyn does make not use of the new APIs at this point and is still
using the old keystore.

Steffen
Previous Topic:Problem with Mylyn 2.3.2 and Eclipse 3.4RC2
Next Topic:Eclipse crashes when I am using my mylyn connector
Goto Forum:
  


Current Time: Fri Apr 26 06:07:03 GMT 2024

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

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

Back to the top