NullPointerException: null Error #56

Closed
opened 2021-01-20 09:08:33 +00:00 by WalrusSlayer · 5 comments
WalrusSlayer commented 2021-01-20 09:08:33 +00:00 (Migrated from github.com)

Describe the bug
Doesn't seem to do anything but spam console.

To Reproduce

  1. Startup Server
  2. Error:
    `
  [03:56:35 WARN]: [VehiclesPlusPro] Task #18221 for VehiclesPlusPro v2.1.0-dev4 generated an exception
  java.lang.NullPointerException: null
  at me.legofreak107.vehiclesplus.vehicles.vehicles.objects.StorageVehicle.loadFromStorage(StorageVehicle.java:158) ~[?:?]
  at me.legofreak107.vehiclesplus.vehicles.managers.MainManager.loadVehicles(MainManager.java:282) ~[?:?]
  at me.legofreak107.vehiclesplus.vehicles.listeners.PlayerJoin$1.run(PlayerJoin.java:22) ~[?:?]
  at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Paper-414]
  at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.4.jar:git-Paper-414]
  at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1293) ~[patched_1.16.4.jar:git-Paper-414]
  at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.4.jar:git-Paper-414]
  at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1208) ~[patched_1.16.4.jar:git-Paper-414]
  at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:996) ~[patched_1.16.4.jar:git-Paper-414]
  at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173) ~[patched_1.16.4.jar:git-Paper-414]
  at java.lang.Thread.run(Thread.java:834) [?:?]

`

Expected behavior
No idea what it does. Game seemingly works fine, but it spams console.

Server and Plugin Information

  • Installed plugins: image
  • Version: 2.0.10
  • VehiclesPlus Version: Pro
  • Server Platform and Version: PaperSpigot 1.16.4 #416
  • Operating System (if applicable): Server Host

Additional context
Timings Report:
https://timings.aikar.co/?id=5931da5e8e504c7fbb46a5375484853c

**Describe the bug** Doesn't seem to do anything but spam console. **To Reproduce** 1. Startup Server 2. Error: `   | [03:56:35 WARN]: [VehiclesPlusPro] Task #18221 for VehiclesPlusPro v2.1.0-dev4 generated an exception -- | --   | java.lang.NullPointerException: null   | at me.legofreak107.vehiclesplus.vehicles.vehicles.objects.StorageVehicle.loadFromStorage(StorageVehicle.java:158) ~[?:?]   | at me.legofreak107.vehiclesplus.vehicles.managers.MainManager.loadVehicles(MainManager.java:282) ~[?:?]   | at me.legofreak107.vehiclesplus.vehicles.listeners.PlayerJoin$1.run(PlayerJoin.java:22) ~[?:?]   | at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Paper-414]   | at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.4.jar:git-Paper-414]   | at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1293) ~[patched_1.16.4.jar:git-Paper-414]   | at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.4.jar:git-Paper-414]   | at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1208) ~[patched_1.16.4.jar:git-Paper-414]   | at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:996) ~[patched_1.16.4.jar:git-Paper-414]   | at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173) ~[patched_1.16.4.jar:git-Paper-414]   | at java.lang.Thread.run(Thread.java:834) [?:?] ` **Expected behavior** No idea what it does. Game seemingly works fine, but it spams console. **Server and Plugin Information** - Installed plugins: ![image](https://user-images.githubusercontent.com/40503028/105151954-96881780-5ad4-11eb-9819-e7481999d89d.png) - Version: 2.0.10 - VehiclesPlus Version: Pro - Server Platform and Version: PaperSpigot 1.16.4 #416 - Operating System (if applicable): Server Host **Additional context** Timings Report: https://timings.aikar.co/?id=5931da5e8e504c7fbb46a5375484853c
stijnb1234 commented 2021-01-20 09:15:01 +00:00 (Migrated from github.com)

Did you add vehicles yourself, or do you use the default vehicles?

Did you add vehicles yourself, or do you use the default vehicles?
WalrusSlayer commented 2021-01-20 09:15:48 +00:00 (Migrated from github.com)

Did you add vehicles yourself, or do you use the default vehicles?

Default, though I combined the Resourcepack with another.

> Did you add vehicles yourself, or do you use the default vehicles? Default, though I combined the Resourcepack with another.
WalrusSlayer commented 2021-01-20 09:17:05 +00:00 (Migrated from github.com)

https://download.mc-packs.net/pack/f6fba886951c767c3de06f4c9c68fa877c8daaba.zip

Is the link. If it helps to take a look at it, particularly sounds.json.

https://download.mc-packs.net/pack/f6fba886951c767c3de06f4c9c68fa877c8daaba.zip Is the link. If it helps to take a look at it, particularly sounds.json.
stijnb1234 commented 2021-03-27 12:04:26 +00:00 (Migrated from github.com)

Remove your data folder. It contains a corrupted vehicle.

Remove your `data` folder. It contains a corrupted vehicle.
relavis commented 2021-04-07 21:57:50 +00:00 (Migrated from github.com)

Please reopen if you still need support.

Please reopen if you still need support.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SBDevelopment/VehiclesPlus#56
No description provided.