Skip to content

Uncaught exception in toolbox onClick_ #9597

@BrandonKoala

Description

@BrandonKoala

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

I have a plugin which adds a sub-element into the toolbox which contains an id. When clicking on this element, getToolboxItemById returns null but throws Cannot read properties of null (reading 'isSelectable').

Reproduction steps

  1. Create element in toolbox which has an id (or call onClick_ on element that isn't in the toolbox)
  2. Error is thrown

Priority

No response

Stack trace

TypeError: Cannot read propertyies of null (reading 'isSelectable')

Screenshots

No response

Browsers

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions