Giter Site home page Giter Site logo

bluemap-essentials's People

Contributors

pop4959 avatar puremin0rez avatar technicjelle avatar

Stargazers

 avatar

Watchers

 avatar

bluemap-essentials's Issues

NPE on getWorld()

Spigot 1.18.1-3388
EssentialsX 2.19.3-dev+6-739600e
BlueMap 1.7.2
BlueBridgeCore 1.3.1
BlueMap-Essentials 1.0.3

No errors on server start-up. When moving to home in world_city

[20:53:15] [Craft Scheduler Thread - 89/WARN]: [BlueMap-Essentials] Plugin BlueMap-Essentials v1.0.3 generated an exception while executing task 8671
java.lang.NullPointerException: Cannot invoke "org.bukkit.Location.getWorld()" because "homeLocation" is null
        at org.popcraft.bluemapessentials.BlueMapEssentials.addHomeMarkers(BlueMapEssentials.java:161) ~[?:?]
        at org.popcraft.bluemapessentials.BlueMapEssentials.addMarkers(BlueMapEssentials.java:106) ~[?:?]
        at org.popcraft.bluemapessentials.BlueMapEssentials.refreshMarkers(BlueMapEssentials.java:207) ~[?:?]
        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3388-Spigot-9fd34ab-fb92f34]
        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot-1.18.1-R0.1-SNAPSHOT.jar:3388-Spigot-9fd34ab-fb92f34]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]

Cannot invoke "com.earth2me.essentials.User.getHomes()" because "user" is null

What i did / Steps to reproduce

Expected result

[10:17:06 INFO]: [BlueMap] Baking resources...
[10:17:06 INFO]: [BlueMap] Resources loaded.
[10:17:06 INFO]: [BlueMap] Initializing Storage: 'file' (Type: FILE)
[10:17:06 INFO]: [BlueMap] WebServer bound to: 0.0.0.0/0.0.0.0:8123
[10:17:06 INFO]: [BlueMap] WebServer started.
[10:17:10 INFO]: [BlueMap] Loaded!

Actual result

[10:17:06 INFO]: [BlueMap] Baking resources...
[10:17:06 INFO]: [BlueMap] Resources loaded.
[10:17:06 INFO]: [BlueMap] Initializing Storage: 'file' (Type: FILE)
[10:17:06 INFO]: [BlueMap] WebServer bound to: 0.0.0.0/0.0.0.0:8123
[10:17:06 INFO]: [BlueMap] WebServer started.
[10:17:10 ERROR]: [BlueMap] BlueMapAPI: A BlueMapAPI listener threw an exception (onEnable)!
java.lang.NullPointerException: Cannot invoke "com.earth2me.essentials.User.getHomes()" because "user" is null
at org.popcraft.bluemapessentials.BlueMapEssentials.addHomeMarkers(BlueMapEssentials.java:140) ~[BlueMap-Essentials.jar:?]
at org.popcraft.bluemapessentials.BlueMapEssentials.addMarkers(BlueMapEssentials.java:91) ~[BlueMap-Essentials.jar:?]
at org.popcraft.bluemapessentials.BlueMapEssentials.lambda$onEnable$0(BlueMapEssentials.java:50) ~[BlueMap-Essentials.jar:?]
at de.bluecolored.bluemap.api.BlueMapAPI.registerInstance(BlueMapAPI.java:201) ~[BlueMap.jar:?]
at de.bluecolored.bluemap.common.api.BlueMapAPIImpl.register(BlueMapAPIImpl.java:137) ~[BlueMap.jar:?]
at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:319) ~[BlueMap.jar:?]
at de.bluecolored.bluemap.bukkit.BukkitPlugin.lambda$onEnable$0(BukkitPlugin.java:147) ~[BlueMap.jar:?]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.3.jar:git-Purpur-1861]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.3.jar:git-Purpur-1861]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.3.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[10:17:10 INFO]: [BlueMap] Loaded!

Context

BlueMap Version:
BlueMap 3.7
Current: git-Purpur-1861 (MC: 1.19.3)*
EssentialsX 2.20.0-dev+20-582a357 (build 1441, commit 582a357)

The plugin is very unreliable in my use.

Sometimes it works sometimes it does not.
For one player it can be rock solid, it can completely ignore two others...

The server is on these plugins too: ActionHealth, AntiPopup, BlueMap, Essentials, EssentialsSpawn, Multiverse-Core, Multiverse-Inventories, Multiverse-Portals, NoChatReports, spark

I assume the plugin is getting data from /plugins/Essentials/userdata/ files
And I checked and homes are set there.
It probably put that data through api to bluemap, but I dunno where can I check if they are stored. They are not in per world config files in marker-sets.

Anyway, for now I set up homes manually.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.