Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327368

Summary: UML2 Export NPE on error
Product: [Technology] Tigerstripe Reporter: Daniel Johnson <danijoh2>
Component: PluginAssignee: Project Inbox <tigerstripe.plugin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nmehrega
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch_3267368 none

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.