| Summary: | NullPointerExceptions changing to or from Model Explorer | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Allan Jacobs <jacobsallanster> |
| Component: | Core | Assignee: | Project Inbox <mdt-papyrus-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Not able to reproduce the bug under Kepler M5 |
Build Identifier: M20110909-1335 Changing from Project Explorer to Model Explorer or from Model Explorer to Project Explorer causes a NullPointerException to be thrown if the context is not perfect. Papyrus plug-in version 0.8.1.v201109161. Reproducible: Always Steps to Reproduce: 1. File New > Papyrus Project 2. Project Name: NPEPapyrus 3. Use default location 4. Finish 5. Project Explorer: Open NPEPapyrus 6. Project Explorer: Open NPEPapyrus > model 7. Close model.di in the editor. 8. Project Explorer: Focus to di. Right click. Open with Papyrus Editor Core. 9. Click on Model Explorer tab. This will work fine. 10. Project Explorer: Focus to di. Right click. Open with Text Editor. 11. Click on Model Explorer tab. Click on Project Explorer tab. NullPointer exception dialog will appear and have to be dismissed. 12. Project Explorer: Focus to di. Right click. Open with Text Editor. NullPointer exception dialog will appear and have to be dismissed. 13. Project Explorer: Focus to model (single click). 14. Click on Model Explorer tab. Click on Project Explorer tab. NullPointer exception dialog will appear and have to be dismissed.