Bug 551851

Summary: ModelAssembler.processFragment(MModelFragments, MModelFragment, String, String, boolean) error message is useless
Product: [Eclipse Project] Platform Reporter: Christoph Laeubrich <laeubi>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3    
Version: 4.13   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 562497    

Description Christoph Laeubrich CLA 2019-10-07 08:37:03 EDT
org.eclipse.e4.ui.internal.workbench.ModelAssembler.processFragment(MModelFragments, MModelFragment, String, String, boolean) emits an error like this:

"Fragment from <x> of <Y> could not be validated and was not merged <Z>"

But does not include the actual error. So for any non trivial fragment.e4xmi the message is completely useless to the user as he has no idea whats wrong.

The use needs all details from the DiagnosticResult to get an idea whats going on.
Comment 1 Christoph Laeubrich CLA 2019-10-07 08:42:12 EDT
Current Workaround is to attach a debugger and then extract the necessary information manually.