Skip to content

[BUG] cannot invoke Number.doubleValue() because number is null #4048

@tonyjamesstark

Description

@tonyjamesstark

Describe the issue

This error message just popped up on the console... unclear how it was provoked or how long it's been there. was reloading the plugin after making a minor config change (adding an ip to the whitelist)

Exceptions & Other Logs

no logs generated, console output below

[03:33:31 INFO]: [Plan] Processing complete.
[03:33:31 INFO]: [Plan] Transaction queue closed.
[03:33:31 INFO]: [Plan] Waiting queries to finish to avoid SQLite crashing JVM..
[03:33:31 INFO]: [Plan] Closed SQLite connection.
[03:33:31 INFO]: [Plan] Player Analytics Disabled.
[03:33:31 INFO]: [Plan] 
[03:33:31 INFO]: [Plan]            ██▌
[03:33:31 INFO]: [Plan]      ██▌   ██▌
[03:33:31 INFO]: [Plan]   ██▌██▌██▌██▌  Player Analytics
[03:33:31 INFO]: [Plan]   ██▌██▌██▌██▌  v5.6 build 2965
[03:33:31 INFO]: [Plan] 
[03:33:31 INFO]: [Plan] Config: Moved Webserver.Security.Cookies_expire_after to Webserver.Security.Cookies_expire_after.Time
[03:33:31 INFO]: [Plan] Config: Removed Customized_files.Plan
[03:33:31 INFO]: [Plan] Locale: 'English' by AuroraLS3
[03:33:31 INFO]: [Plan] Downloading SQLite Driver, this may take a while...
[03:33:31 INFO]: [Plan] Database: Making sure schema is up to date..
[03:33:31 INFO]: [Plan] SQLite-database connection established.
[03:33:31 ERROR]: [Plan] Plan-v5.6 build 2965
java.lang.NullPointerException: Cannot invoke "java.lang.Number.doubleValue()" because "number" is null
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.settings.config.paths.key.Setting.timeValidator(Setting.java:67) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.settings.config.paths.key.Setting.isValid(Setting.java:84) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.settings.config.paths.key.Setting.isInvalid(Setting.java:88) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.settings.config.PlanConfig.get(PlanConfig.java:81) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.delivery.webserver.auth.ActiveCookieStore.enable(ActiveCookieStore.java:91) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.delivery.webserver.WebServerSystem.enable(WebServerSystem.java:58) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.PlanSystem.enableSystems(PlanSystem.java:181) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.PlanSystem.enableOtherThanCommands(PlanSystem.java:138) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.PlanSystem.enable(PlanSystem.java:176) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.Plan.onEnable(Plan.java:94) ~[Plan-5.6-build-2965.jar:?]
        at Plan-5.6-build-2965.jar/com.djrapitops.plan.commands.subcommands.PluginStatusCommands.lambda$onReload$0(PluginStatusCommands.java:76) ~[Plan-5.6-build-2965.jar:?]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[03:33:31 ERROR]: [Plan] Plugin Failed to Initialize Correctly. If this issue is caused by config settings you can use /plan reload
[03:33:31 ERROR]: [Plan] This error should be reported at https://github.com/plan-player-analytics/Plan/issues
[03:33:31 INFO]: [Plan] Processing complete.
[03:33:31 INFO]: [Plan] Waiting for unfinished transactions to avoid data loss..
[03:33:31 INFO]: [Plan] You're using the latest version.
[03:33:31 INFO]: [Plan] All database patches applied successfully.
[03:33:31 INFO]: [Plan] Transaction queue closed.
[03:33:31 INFO]: [Plan] Waiting queries to finish to avoid SQLite crashing JVM..
[03:33:31 INFO]: [Plan] Closed SQLite connection.
[03:33:31 INFO]: [Plan] Player Analytics Disabled.
[03:33:31 INFO]: Reload Complete

Plugin versions

see above

Additional information

tried a restart of the server, same issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssues that contain unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions