You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a dockable that's failing to restore for some reason. This is causing DockingStateAPI.restoreTabbed to attempt creating a dynamic dockable instance, but this dockable isn't dynamic, so it fails. The log message for this only explains that it couldn't find a (String, String) constructor, and not why the dockable failed in the first place.
Not entirely sure how to do it better. getDockable simply looks up the name. But the code should throw a DockableNotFoundException if the dockable fails to be found and fails to load as a dynamic dockable.
The text was updated successfully, but these errors were encountered:
Persistent ID and class-name for tabs and simple panels are now loaded based on name, not index.
When a failed dockable fails to load as a dynamic dockable, the log message is severe and dockable is set to null to force a DockableNotFoundException.
Persistent ID and class-name for tabs and simple panels are now loaded based on name, not index.
When a failed dockable fails to load as a dynamic dockable, the log message is severe and dockable is set to null to force a DockableNotFoundException.
I have a dockable that's failing to restore for some reason. This is causing DockingStateAPI.restoreTabbed to attempt creating a dynamic dockable instance, but this dockable isn't dynamic, so it fails. The log message for this only explains that it couldn't find a (String, String) constructor, and not why the dockable failed in the first place.
Not entirely sure how to do it better.
getDockable
simply looks up the name. But the code should throw aDockableNotFoundException
if the dockable fails to be found and fails to load as a dynamic dockable.The text was updated successfully, but these errors were encountered: