Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327368 - UML2 Export NPE on error
Summary: UML2 Export NPE on error
Status: RESOLVED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: Plugin (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-08 18:21 EDT by Daniel Johnson CLA
Modified: 2010-10-14 17:45 EDT (History)
1 user (show)

See Also:


Attachments
patch_3267368 (11.19 KB, patch)
2010-10-08 18:23 EDT, Daniel Johnson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Johnson CLA 2010-10-08 18:21:12 EDT
Build Identifier: 

During the UML2 Export any error is covered up by a NPE making it difficult/impossible to find the root cause of the problem.

Reproducible: Always

Steps to Reproduce:
Happens everytime a failure occurs, for example when you try to export to a directory that does not exist, or that is write protected.
Comment 1 Daniel Johnson CLA 2010-10-08 18:23:43 EDT
Created attachment 180525 [details]
patch_3267368

Fixes NPE while error is encountered in UML2 export. Also asks the user if they would like to create the export directory if it does not already exist.
Class changed: UML2ExportWizard
Comment 2 Navid Mehregani CLA 2010-10-14 17:45:15 EDT
Thanks Dan! Patch submitted.