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

Bug 331106

Summary: NPE in JPAEditorToolBehaviorProvider
Product: [WebTools] Dali JPA Tools Reporter: Kaloyan Raev <kaloyan>
Component: Diagram EditorAssignee: Project Inbox <wtp.inc.jpaeditor-inbox>
Status: RESOLVED FIXED QA Contact: Stefan Dimov <stefan.dimov>
Severity: major    
Priority: P3    
Version: 0.5   
Target Milestone: 0.5 RC4   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
NPE stack trace
none
NPE fix none

Description Kaloyan Raev CLA 2010-11-25 05:50:24 EST
Created attachment 183842 [details]
NPE stack trace

I got the attached NPE when I open an existing complex diagram. As a consequence part of the diagram is corrupted. 

A strange workaround is to disable the JPA Validator. Then the NPE does not happen and the diagram is displayed correctly.
Comment 1 Stefan Dimov CLA 2010-11-25 13:32:43 EST
Created attachment 183876 [details]
NPE fix
Comment 2 Stefan Dimov CLA 2010-11-26 06:04:29 EST
Patch submitted