Skip to content

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

Open

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

  1. bipul21 commented on Jan 17, 2019

    @bipul21
    Collaborator

    Noted we will fix the same and release new version soon.

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