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

Bug 345396

Summary: NullPointerException when convert Association Class to Association
Product: [Technology] Tigerstripe Reporter: Maria Kolchinskaja <mshulgina>
Component: DiagramsAssignee: Project Inbox <tigerstripe.diagram-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: valentin
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Maria Kolchinskaja CLA 2011-05-11 07:00:48 EDT
Build Identifier: 

NullPointerException error when I convert Association Class to Association on Class diagram.

1. Create Tigerstripe project with 3 entities and association class. 
2. Extend Association Class to the Entity.
3. Create class diagram and add Association Class to the diagram.
4. Select Association Class line and select 'convert to Association'

As a result, the error is erased:
An internal error occurred during: "Model updating...".
java.lang.NullPointerException

See error log:
java.lang.NullPointerException
at org.eclipse.tigerstripe.workbench.internal.api.impl.updater.request.ArtifactDeleteRequest.execute(ArtifactDeleteRequest.java:82)
at org.eclipse.tigerstripe.workbench.internal.api.impl.updater.ModelUpdaterImpl$1.run(ModelUpdaterImpl.java:56)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Reproducible: Always
Comment 1 Valentin Yerastov CLA 2011-05-30 07:05:27 EDT
This bug fixed by changes in  
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345871
Comment 2 Maria Kolchinskaja CLA 2011-05-31 00:59:36 EDT
Verified