Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353988 - NPE during open diagram
Summary: NPE during open diagram
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: Diagram Editor (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: 3.0.1   Edit
Assignee: Stefan Dimov CLA
QA Contact: Stefan Dimov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 06:48 EDT by Stefan Dimov CLA
Modified: 2011-08-05 07:05 EDT (History)
0 users

See Also:
stefan.dimov: review+


Attachments
patch for both HEAD and R3_0_maintenance branches (1.69 KB, patch)
2011-08-05 07:05 EDT, Stefan Dimov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ...