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

Bug 353988

Summary: NPE during open diagram
Product: [WebTools] Dali JPA Tools Reporter: Stefan Dimov <stefan.dimov>
Component: Diagram EditorAssignee: Stefan Dimov <stefan.dimov>
Status: RESOLVED FIXED QA Contact: Stefan Dimov <stefan.dimov>
Severity: critical    
Priority: P3 Flags: stefan.dimov: review+
Version: 3.0   
Target Milestone: 3.0.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch for both HEAD and R3_0_maintenance branches none

Description Stefan Dimov CLA 2011-08-05 06:48:28 EDT
In rare cases org.eclipse.graphiti.mm.algorithms.Text.getFont() returns null. I will report this as a Graphiti bug. For now, I will just create a patch, which is a workaround for the problem, because we need it urgently in one of our proprietary products.
Comment 1 Stefan Dimov CLA 2011-08-05 07:05:13 EDT
Created attachment 200971 [details]
patch for both HEAD and R3_0_maintenance branches
Comment 2 Stefan Dimov CLA 2011-08-05 07:05:57 EDT
Patch submitted in both HEAD and R3_0_maintenance branches ...