Bug 394778 - NPE with Assign to Participant command
Summary: NPE with Assign to Participant command
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: 0.12.0   Edit
Assignee: Alvaro Sanchez-Leon CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2012-11-21 09:07 EST by Alvaro Sanchez-Leon CLA
Modified: 2012-11-21 15:41 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Sanchez-Leon CLA 2012-11-21 09:07:42 EST
When selecting the command "Assign to Participant" from the review navigator context menu, the following null pointer exception occurs while trying to resolve the shell from the active work bench window.


eclipse.buildId=M20120914-1540
java.version=1.5.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Framework arguments:  -showLocation
Command-line arguments:  -os win32 -ws win32 -arch x86 -showLocation

Error
Wed Nov 21 09:01:39 EST 2012
An internal error occurred during: "Add Assignees to Element...".

java.lang.NullPointerException
	at org.eclipse.mylyn.reviews.r4e.ui.internal.dialogs.R4EUIDialogFactory.getParticipantInputDialog(R4EUIDialogFactory.java:359)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.utils.UIUtils.getAssignParticipants(UIUtils.java:1031)
	at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.handlers.AddAssignHandler$1.run(AddAssignHandler.java:81)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Alvaro Sanchez-Leon CLA 2012-11-21 15:41:31 EST
Fixed by differing the resolution of the UI Shell upon dialogue opening via the use of an instance of an IShellProvider

the implementation has now been to master