Skip to content

Failed to get data for custom chart with id permsPlugin #5225

@lorenzop

Description

@lorenzop

Type of bug

Compatibility issue, Error in console

/ess dump all output

(https://essentialsx.net/dump.html?id=d74de341ccc14a80b32fd52dca15bebc)

Error log (if applicable)

https://pastebin.com/E6dtRWt7

Bug description

It seems essentials doesn't know how to handle unsupported permissions plugins. I found 2 other issue tickets with the same error, #4892 and #4726 but they were closed and the error never reproduced. I think this is the cause.

Here is a simple fix, however I haven't compiled and tested this, as I don't have gradle. It's a simple fix, just don't return null. I'm also unsure if this will modify the chart in a way that's unwanted, so best to check with the devs before compiling and running this.

lorenzop@97a4a35

Steps to reproduce

Use a custom or less common permissions plugin which is unsupported by EssentialsX.

Expected behaviour

Expect to silently report nothing to bStats, or as in my suggested change, report "other" to bStats.

Actual behaviour

bStats throws an exception due to a custom chart containing a null key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: unconfirmedPotential bugs that need replicating to verify.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions