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

GitHub | ellisgl | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to get Properties/Methods for Event

    GitHub | 8 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