Skip to content
Snippets Groups Projects
Commit 0f845352 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

bugfix: added null check

parent b847e58b
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,9 @@ public final class ElementCompositorService extends
private IElementCompositor<EObject> findWorkingCompositor(
EObject container, EObject contained,
IElementCompositionContext context, boolean decompose) {
if (container == null) {
return null;
}
List<IElementCompositor<EObject>> list = getRegisteredHandlers(container
.getClass());
if (list == null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment