| Summary: | NullPointerException when presenting ReqIf model that doesn't contain ProR tool extensions | ||
|---|---|---|---|
| Product: | [Modeling] MDT.RMF | Reporter: | Mark Broerkens <eclipse> |
| Component: | ProR | Assignee: | Michael Jastram <michael> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | critical | ||
| Priority: | P1 | CC: | michael |
| Version: | unspecified | ||
| Target Milestone: | m12.01 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
See #364887 Duplicate *** This bug has been marked as a duplicate of bug 364887 *** Closed |
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)