Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364510 - R4Eclipse open and close group generates an error
Summary: R4Eclipse open and close group generates an error
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sebastien Dubois CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 15:14 EST by Jacques Bouthillier CLA
Modified: 2012-04-04 14:51 EDT (History)
2 users (show)

See Also:


Attachments
Picture of the error (37.90 KB, application/octet-stream)
2011-11-22 15:15 EST, Jacques Bouthillier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacques Bouthillier CLA 2011-11-22 15:14:14 EST
When removing both group from the navigator view, I got a null pointer error. See error1NoGroup in attachment
Comment 1 Jacques Bouthillier CLA 2011-11-22 15:15:46 EST
Created attachment 207387 [details]
Picture of the error

Error popup window happening when removing the last group
Comment 2 Jacques Bouthillier CLA 2012-02-22 10:13:12 EST
To reproduce:
1- Open a review in the review navigator
2- Switch view to get the table view
3- Open preference, remove the group
4- Select the item left in the r4e navigator view
5- --> Following error occurs: The review is not cleaned from the R4E Navigator view

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.mylyn.reviews.r4e.ui.internal.utils.CommandUtils.useWorkspaceResource(CommandUtils.java:535)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.navigator.ReviewNavigatorDecorator.decorateText(ReviewNavigatorDecorator.java:158)
	at org.eclipse.jface.viewers.DecoratingCellLabelProvider.getText(DecoratingCellLabelProvider.java:202)
	at org.eclipse.jface.viewers.DecoratingCellLabelProvider.updateLabel(DecoratingCellLabelProvider.java:304)
	at org.eclipse.jface.viewers.DecoratingCellLabelProvider.update(DecoratingCellLabelProvider.java:679)
	at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
	at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:934)
	at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:102)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1014)
	at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:481)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2141)
Comment 3 Sebastien Dubois CLA 2012-04-04 14:51:11 EDT
This bug is fixed in the current 0.9.0 release as of 31-03-2012