Grafana 6.5.1 got TypeError “Cannot read property ‘setTable’ of undefined”

hi!
i made panel plugin.
In order to prevent the dashboard from being modified, the following variables are declared.

class myPlugin extends PanelCtrl {
  constructor() {
  this.dashboard.meta.canEdit = false; }
}
export { myPlugin as PanelCtrl };

When to use Table panel, I get the following error:

> TypeError: Cannot read property 'setTable' of undefined
>     at TablePanelEditor.tsx:40
>     at s (TablePanelEditor.tsx:3)
>     at u.<anonymous> (TablePanel.tsx:29)
>     at u.emit (index.js:150)
>     at e.emit (emitter.ts:27)
>     at t.e.render (panel_ctrl.ts:222)
>     at t.render (module.ts:232)
>     at panel_editor_tab.ts:28
>     at angular.js:20566
>     at p (angular.js:6428)

I think this is a grafana internal problem.
Is there a way I can print a Table without receiving this error?