jdk.nashorn.internal.runtime.ECMAException: TypeError: org.bukkit.event.player.PlayerMoveEvent@3755be94 is not an Object

GitHub | ellisgl | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unable to get Properties/Methods for Event

    GitHub | 7 months ago | ellisgl
    jdk.nashorn.internal.runtime.ECMAException: TypeError: org.bukkit.event.player.PlayerMoveEvent@3755be94 is not an Object

    Root Cause Analysis

    1. jdk.nashorn.internal.runtime.ECMAException

      TypeError: org.bukkit.event.player.PlayerMoveEvent@3755be94 is not an Object

      at jdk.nashorn.internal.runtime.ECMAErrors.error()
    2. jdk.nashorn.internal
      NativeObject.keys
      1. jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)[nashorn.jar:?]
      2. jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:213)[nashorn.jar:?]
      3. jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:185)[nashorn.jar:?]
      4. jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:172)[nashorn.jar:?]
      5. jdk.nashorn.internal.objects.NativeObject.notAnObject(NativeObject.java:136)[nashorn.jar:?]
      6. jdk.nashorn.internal.objects.NativeObject.keys(NativeObject.java:439)[nashorn.jar:?]
      6 frames