Startup Bug #180
Labels
No Label
API
Addon Request
Bug
Duplicate
Enhancement
Feature Request
High Priority
Hybrid Software
Incompatibility
Invalid
Legacy
Low Priority
Missing Information
Needs Confirmation
Possible with API
Question
Won't Fix
v3
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SBDevelopment/VehiclesPlus#180
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Plugin just didn't started
Screenshots or Video Recordings
If applicable, add screenshots or video recordings to help explain your problem.
Server and Plugin Information
Additional context
[17:00:40] [Server thread/ERROR]: Error occurred while enabling VehiclesPlus v3.0.0-SNAPSHOT (Is it up to date?) java.lang.NullPointerException: Cannot invoke "org.bukkit.Location.getDirection()" because "center" is null at nl.sbdeveloper.vehiclesplus.utils.LocationUtil.calculateOffset(LocationUtil.java:28) ~[VehiclesPlus-v3-PRE6.1.jar:?] at nl.sbdeveloper.vehiclesplus.api.stands.ArmorStandBuilder.<init>(ArmorStandBuilder.java:25) ~[VehiclesPlus-v3-PRE6.1.jar:?] at nl.sbdeveloper.vehiclesplus.api.stands.ArmorStandBuilder.<init>(ArmorStandBuilder.java:21) ~[VehiclesPlus-v3-PRE6.1.jar:?] at nl.sbdeveloper.vehiclesplus.api.stands.ArmorStandBuilder.<init>(ArmorStandBuilder.java:17) ~[VehiclesPlus-v3-PRE6.1.jar:?] at nl.sbdeveloper.vehiclesplus.api.vehicles.impl.SpawnedVehicle.<init>(SpawnedVehicle.java:49) ~[VehiclesPlus-v3-PRE6.1.jar:?] at nl.sbdeveloper.vehiclesplus.api.vehicles.impl.PersistentVehicle.<init>(PersistentVehicle.java:11) ~[VehiclesPlus-v3-PRE6.1.jar:?] at nl.sbdeveloper.vehiclesplus.api.vehicles.impl.StorageVehicle.spawnPersistent(StorageVehicle.java:196) ~[VehiclesPlus-v3-PRE6.1.jar:?] at nl.sbdeveloper.vehiclesplus.VehiclesPlus.lambda$onEnable$1(VehiclesPlus.java:121) ~[VehiclesPlus-v3-PRE6.1.jar:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?] at nl.sbdeveloper.vehiclesplus.VehiclesPlus.onEnable(VehiclesPlus.java:121) ~[VehiclesPlus-v3-PRE6.1.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.19.4.jar:git-Paper-550] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.19.4.jar:git-Paper-550] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:563) ~[paper-1.19.4.jar:git-Paper-550] at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:474) ~[paper-1.19.4.jar:git-Paper-550] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:638) ~[paper-1.19.4.jar:git-Paper-550] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[paper-1.19.4.jar:git-Paper-550] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.19.4.jar:git-Paper-550] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1104) ~[paper-1.19.4.jar:git-Paper-550] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-550] at java.lang.Thread.run(Thread.java:840) ~[?:?]
Do you still have the VehiclesPlus plugin's data folder of this error?
I've resolved the startup issue, but I'm still interested in what caused this issue.