Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366152 - NullPointerException when presenting ReqIf model that doesn't contain ProR tool extensions
Summary: NullPointerException when presenting ReqIf model that doesn't contain ProR to...
Status: CLOSED DUPLICATE of bug 364887
Alias: None
Product: MDT.RMF
Classification: Modeling
Component: ProR (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P1 critical (vote)
Target Milestone: m12.01   Edit
Assignee: Michael Jastram CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 03:58 EST by Mark Broerkens CLA
Modified: 2012-01-06 10:25 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 Mark Broerkens CLA 2011-12-09 03:58:17 EST
A NullPointerException is thrown in case a reqif xml file without ProR tool extension information is presented. 

==== Where the failure occurs ====
	private ProrPresentationConfigurations getPresentationConfigurations(ReqIf rif) {
		ProrToolExtension uiExtension = ConfigurationUtil.getProrToolExtension(rif);
-->		ProrPresentationConfigurations configs = uiExtension
				.getPresentationConfigurations();
		return configs;
	}

==== Stack Trace ===
java.lang.NullPointerException
	at org.eclipse.rmf.pror.reqif10.presentation.ui.IDPresentationService.getPresentationConfigurations(IDPresentationService.java:140)
	at org.eclipse.rmf.pror.reqif10.presentation.ui.IDPresentationService.getConfigurationElements(IDPresentationService.java:127)
	at org.eclipse.rmf.pror.reqif10.presentation.ui.IDPresentationService.ensureAllConfigsHaveAdapters(IDPresentationService.java:68)
	at org.eclipse.rmf.pror.reqif10.presentation.ui.IDPresentationService.openReqif(IDPresentationService.java:52)
	at org.eclipse.rmf.pror.reqif10.presentation.service.PresentationManager.notifiyOpenReqif(PresentationManager.java:37)
	at org.eclipse.rmf.pror.reqif10.editor.presentation.Reqif10Editor.openRif(Reqif10Editor.java:1043)
	at org.eclipse.rmf.pror.reqif10.editor.presentation.Reqif10Editor.createPages(Reqif10Editor.java:992)
Comment 1 Michael Jastram CLA 2011-12-21 08:26:02 EST
See #364887
Comment 2 Michael Jastram CLA 2012-01-05 06:07:36 EST
Duplicate

*** This bug has been marked as a duplicate of bug 364887 ***
Comment 3 Michael Jastram CLA 2012-01-06 10:25:45 EST
Closed