Skip to content

NPE when calling Local.stop() without providing BrowserStack key #35

Description

@rlundy

When Local.stop() is called without having provided the BrowserStack key in the options, a NullPointerException results.

Expected Behavior

While I can see a case for requiring the BrowserStack key when stopping a BrowserStack instance (but only if it's actually used), if it is required but not provided, then a meaningful error message should be provided rather than a NPE with no message.

Actual Behavior

A NullPointerException is thrown, and there's no exception message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions