提交 b163df2d 编写于 作者: J jurgen

Cas value fetch fix

上级 61687921
...@@ -53,6 +53,7 @@ Export-Package: org.jkiss.dbeaver, ...@@ -53,6 +53,7 @@ Export-Package: org.jkiss.dbeaver,
org.jkiss.dbeaver.runtime.load, org.jkiss.dbeaver.runtime.load,
org.jkiss.dbeaver.runtime.load.jobs, org.jkiss.dbeaver.runtime.load.jobs,
org.jkiss.dbeaver.runtime.preferences, org.jkiss.dbeaver.runtime.preferences,
org.jkiss.dbeaver.runtime.properties,
org.jkiss.dbeaver.runtime.qm, org.jkiss.dbeaver.runtime.qm,
org.jkiss.dbeaver.runtime.qm.meta, org.jkiss.dbeaver.runtime.qm.meta,
org.jkiss.dbeaver.runtime.sql, org.jkiss.dbeaver.runtime.sql,
......
...@@ -136,7 +136,11 @@ abstract class ViewValuePanel extends Composite { ...@@ -136,7 +136,11 @@ abstract class ViewValuePanel extends Composite {
log.error("Error filling toolbar actions", e); log.error("Error filling toolbar actions", e);
} }
if (valueViewer != null) { if (valueViewer != null) {
valueViewer.createControl(); try {
valueViewer.createControl();
} catch (Exception e) {
log.error(e);
}
} else { } else {
final Composite placeholder = UIUtils.createPlaceholder(viewPlaceholder, 1); final Composite placeholder = UIUtils.createPlaceholder(viewPlaceholder, 1);
placeholder.setBackground(placeholder.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); placeholder.setBackground(placeholder.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册