Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320706 - [General] Papyrus gives misleading error messages, if model load fails
Summary: [General] Papyrus gives misleading error messages, if model load fails
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 07:14 EDT by Ansgar Radermacher CLA
Modified: 2010-11-09 17:00 EST (History)
1 user (show)

See Also:
sebastien.gerard: iplog-


Attachments
Fixes the problem by adding nested exceptions (1.19 KB, patch)
2010-07-23 07:17 EDT, Ansgar Radermacher CLA
sebastien.gerard: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ansgar Radermacher CLA 2010-07-23 07:14:25 EDT
Build Identifier: 

If a damaged model is opened, the exception is catched and logged, but execution continues. In the sequence, an NPE is triggered due to not-initialized variables. The user only sees this message (unless he examines the log). He should see the original UML2 error message instead, since it might contain a hint what is broken/how-to fix the file.

Reproducible: Always
Comment 1 Ansgar Radermacher CLA 2010-07-23 07:17:58 EDT
Created attachment 175051 [details]
Fixes the problem by adding nested exceptions
Comment 2 Yann Tanguy CLA 2010-07-23 07:47:35 EDT
Commit in r2457.