Commit 11a3df94 authored by Simon Barner's avatar Simon Barner
Browse files

Avoid NPE when opening the editor (as a WcetTableEditor) for a freshly created TaskArchitecture.

refs 2950,2562
parent b590fd6a
......@@ -106,7 +106,8 @@ public class ParameterTableTreeViewerManager<T extends ParameterTable> extends T
private void createSourceEntityAnnotationColumn() {
String columnLabel;
if(!allocationTableEditor.getSourceViewModelElements().isEmpty()) {
if(allocationTableEditor.getEditedObject() != null &&
!allocationTableEditor.getSourceViewModelElements().isEmpty()) {
// List is non-empty: Label can be determined using first source element
columnLabel =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment