提交 1e5a5888 编写于 作者: S serge-rider

ERD load fix (NPE)

上级 72c6ee6b
......@@ -247,7 +247,10 @@ public class ERDEditorEmbedded extends ERDEditorPart implements IDatabaseEditor,
Collection<? extends DBSEntityAssociation> fks = rootTable.getAssociations(monitor);
if (fks != null) {
for (DBSEntityAssociation fk : fks) {
result.add(fk.getAssociatedEntity());
DBSEntity associatedEntity = fk.getAssociatedEntity();
if (associatedEntity != null) {
result.add(associatedEntity);
}
}
}
monitor.worked(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册