Skip to content

Null-pointer when calling subscribe() #462

Description

@sbaechler

I was getting a TypeError: Cannot read properties of undefined (reading 'subscribe'):

sentry-error

We pause subscriptions before a batch action that can trigger mutliple websocket events and resume them once the batch is done. In that case that was after 2 seconds.

For this we call unsubscribe on the subscriptions and subscribe shortly after.

I guess for some reason _disposeStompHandler was called in between.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions