Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358711 - R4E Unable to create an anomaly from the editor
Summary: R4E Unable to create an anomaly from the editor
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P1 normal (vote)
Target Milestone: 0.9   Edit
Assignee: Sebastien Dubois CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 358635
  Show dependency tree
 
Reported: 2011-09-23 07:57 EDT by Jacques Bouthillier CLA
Modified: 2012-01-24 15:35 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacques Bouthillier CLA 2011-09-23 07:57:29 EDT
LINUX environment + window environment:
Create an anomaly from the editor. The anomaly will show in the Review. Then try a second time to add a new anomaly by selecting some code in the editor and the following error occurs:
Note: I tested with rules set if ever it changes anything:

!STACK 0
java.lang.NullPointerException
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.NewAnomalyHandler.addAnomaly(NewAnomalyHandler.java:256)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.NewAnomalyHandler.addAnomalyFromText(NewAnomalyHandler.java:139)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.NewAnomalyHandler.execute(NewAnomalyHandler.java:94)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
	at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
	at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)
Comment 1 Sebastien Dubois CLA 2011-09-23 11:11:52 EDT
This is a sidfe effect of bug 358635
Comment 2 Sebastien Dubois CLA 2011-09-23 15:03:01 EDT
The following problems are fixed:

- No more exceptions when adding anomalies
- Position is correctly set regardless from where the anomaly is created
- Class, Rank and Due date are set correctly
- The update Rule dialog shows and records the correct information