Skip to content
Snippets Groups Projects
Commit c84beceb authored by buczekp's avatar buczekp
Browse files

NPE fix

SVN: 20200
parent f1c84156
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,10 @@ public abstract class AbstractDataSetsSection extends DisposableTabContent
{
// when tab is closed dispose also the metadata component
super.disposeComponents();
metadataComponent.dispose(); // NOTE: second dispose on a grid does nothing
if (metadataComponent != null)
{
metadataComponent.dispose(); // NOTE: second dispose on a grid does nothing
}
}
private static AbstractExternalDataGrid extractBrowser(IDisposableComponent metadataComponent)
......
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