Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Failed to initialize VirtualDisplayItem on the 1.16.5 Paper server #506

Open
tetsealeo opened this issue Nov 17, 2024 · 0 comments
Open

Comments

@tetsealeo
Copy link

Description

When I used QuickShop happen the error.

Console Oouput:
maksi@instance-KmYmSFnl:~/minecraft/test$ ./start.sh
System Info: Java 16 (OpenJDK 64-Bit Server VM 16.0.2+7) Host: Linux 5.10.0-19-amd64 (amd64)
Loading libraries, please wait...
[07:18:50 INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[07:18:50 INFO]: Reloading ResourceManager: Default, bukkit
[07:18:50 INFO]: Loaded 7 recipes
[07:18:50 INFO]: Starting minecraft server version 1.16.5
[07:18:50 INFO]: Loading properties
[07:18:50 INFO]: This server is running Paper version git-Paper-794 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
[07:18:50 INFO]: Debug logging is disabled
[07:18:50 INFO]: Server Ping Player Sample Count: 12
[07:18:50 INFO]: Using 4 threads for Netty based IO
[07:18:50 INFO]: Default game type: SURVIVAL
[07:18:50 INFO]: Generating keypair
[07:18:51 INFO]: Starting Minecraft server on *:29000
[07:18:51 INFO]: Using epoll channel type
[07:18:51 INFO]: [NBTAPI] Loading NBTAPI v2.14.0
[07:18:51 INFO]: [NBTAPI] [NBTAPI] Found Minecraft: v1_16_R3! Trying to find NMS support
[07:18:51 INFO]: [NBTAPI] [NBTAPI] NMS support 'MC1_16_R3' loaded!
[07:18:51 INFO]: [NBTAPI] [NBTAPI] Using the plugin 'NBTAPI' to create a bStats instance!
[07:18:51 INFO]: [Vault] Loading Vault v1.7.3-b131
[07:18:51 INFO]: [Essentials] Loading Essentials v2.20.1
[07:18:51 INFO]: [ProtocolLib] Loading ProtocolLib v5.3.0
[07:18:51 INFO]: [QuickShop] Loading QuickShop v5.1.2.5
[07:18:51 INFO]: [QuickShop] QuickShop Reremake - Early boot step - Booting up
[07:18:51 INFO]: [QuickShop] [OK] Signature Verify
[07:18:51 INFO]: [QuickShop] [OK] Plugin Manifest Check
[07:18:51 INFO]: [QuickShop] [OK] Potential Infection Characteristics Check
[07:18:51 INFO]: [QuickShop] Reading the configuration...
[07:18:51 INFO]: [QuickShop] Loading messages translation over-the-air (this may need take a while).
[07:18:51 INFO]: [QuickShop] Translation over-the-air platform selected: Crowdin
[07:18:51 INFO]: [QuickShop] Checking for translation updates, this may need a while...
[07:18:52 INFO]: [NBTAPI] [NBTAPI] The NBT-API seems to be up-to-date!
[07:18:53 INFO]: [QuickShop] Loading up integration modules.
[07:18:53 INFO]: [QuickShop] QuickShop Reremake - Early boot step - Complete
[07:18:53 INFO]: Server permissions file permissions.yml is empty, ignoring it
[07:18:53 INFO]: [Vault] Enabling Vault v1.7.3-b131
[07:18:53 WARN]: [Vault] Loaded class com.earth2me.essentials.api.Economy from Essentials v2.20.1 which is not a depend, softdepend or loadbefore of this plugin.
[07:18:53 INFO]: [Vault] [Economy] Essentials Economy found: Waiting
[07:18:53 INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
[07:18:53 INFO]: [Vault] Enabled Version 1.7.3-b131
[07:18:53 INFO]: [ProtocolLib] Enabling ProtocolLib v5.3.0
[07:18:53 INFO]: Preparing level "world"
[07:18:53 INFO]: Preparing start region for dimension minecraft:overworld
[07:18:53 INFO]: Preparing spawn area: 0%
[07:18:54 INFO]: Time elapsed: 433 ms
[07:18:54 INFO]: Preparing start region for dimension minecraft:the_nether
[07:18:54 INFO]: Preparing spawn area: 0%
[07:18:54 INFO]: Preparing spawn area: 92%
[07:18:54 INFO]: Time elapsed: 571 ms
[07:18:54 INFO]: Preparing start region for dimension minecraft:the_end
[07:18:54 INFO]: Preparing spawn area: 0%
[07:18:54 INFO]: Time elapsed: 133 ms
[07:18:54 INFO]: [NBTAPI] Enabling NBTAPI v2.14.0
[07:18:54 INFO]: [NBTAPI] Checking bindings...
[07:18:54 INFO]: [NBTAPI] All Classes were able to link!
[07:18:54 INFO]: [NBTAPI] All Methods were able to link!
[07:18:54 INFO]: [NBTAPI] Running NBT reflection test...
[07:18:55 INFO]: [NBTAPI] Success! This version of NBT-API is compatible with your server.
[07:18:55 INFO]: [Essentials] Enabling Essentials v2.20.1
[07:18:55 INFO]: [Essentials] Attempting to convert old kits in config.yml to new kits.yml
[07:18:55 INFO]: [Essentials] No kits found to migrate.
[07:18:55 INFO]: [Essentials] Loaded 39094 items from items.json.
[07:18:55 INFO]: [Essentials] Using locale en_US
[07:18:55 INFO]: [Essentials] ServerListPingEvent: Spigot iterator API
[07:18:55 INFO]: [Essentials] Starting Metrics. Opt-out using the global bStats config.
[07:18:55 INFO]: [Vault] [Economy] Essentials Economy hooked.
[07:18:55 INFO]: [Essentials] Using superperms-based permissions.
[07:18:55 INFO]: [QuickShop] Enabling QuickShop v5.1.2.5
[07:18:55 INFO]: [QuickShop] QuickShop Reremake
[07:18:55 INFO]: [QuickShop] Starting plugin self-test, please wait...
[07:18:55 INFO]: [QuickShop] [OK] Signature Verify
[07:18:55 INFO]: [QuickShop] [OK] Plugin Manifest Check
[07:18:55 INFO]: [QuickShop] [OK] Potential Infection Characteristics Check
[07:18:55 INFO]: [QuickShop] [OK] Java Runtime Environment Version Test
[07:18:55 INFO]: [QuickShop] Running QuickShop-Reremake on NMS version v1_16_R3 For Minecraft version 1.16.5
[07:18:55 INFO]: [QuickShop] [OK] Spigot Based Server Test
[07:18:55 INFO]: [QuickShop] [OK] Old QuickShop Test
[07:18:55 INFO]: [QuickShop] [OK] ModdedServer Based Test
[07:18:55 INFO]: [QuickShop] [OK] CoreSupport Test
[07:18:55 ERROR]: [QuickShop] Virtual DisplayItem Support Test: Failed to initialize VirtualDisplayItem
java.lang.NullPointerException: constructor
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787) ~[patched_1.16.5.jar:git-Paper-794]
at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getConstructorAccessor(MethodHandleHelper.java:70) ~[?:?]
at com.comphenix.protocol.reflect.accessors.Accessors.getConstructorAccessor(Accessors.java:167) ~[?:?]
at com.comphenix.protocol.reflect.accessors.Accessors.getConstructorAccessor(Accessors.java:145) ~[?:?]
at com.comphenix.protocol.wrappers.LegacyDataWatcher.newHandle(LegacyDataWatcher.java:113) ~[?:?]
at com.comphenix.protocol.wrappers.LegacyDataWatcher.(LegacyDataWatcher.java:108) ~[?:?]
at com.comphenix.protocol.wrappers.LegacyDataWatcher.(LegacyDataWatcher.java:85) ~[?:?]
at com.comphenix.protocol.wrappers.WrappedDataWatcher.(WrappedDataWatcher.java:86) ~[?:?]
at org.maxgamer.quickshop.shop.VirtualDisplayItem$PacketFactory.createFakeItemMetaPacket(VirtualDisplayItem.java:443) ~[?:?]
at org.maxgamer.quickshop.shop.VirtualDisplayItem$PacketFactory.testFakeItem(VirtualDisplayItem.java:359) ~[?:?]
at org.maxgamer.quickshop.util.envcheck.EnvironmentChecker.virtualDisplaySupportTest(EnvironmentChecker.java:428) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at org.maxgamer.quickshop.util.envcheck.EnvironmentChecker.run(EnvironmentChecker.java:123) ~[?:?]
at org.maxgamer.quickshop.QuickShop.runtimeCheck(QuickShop.java:869) ~[?:?]
at org.maxgamer.quickshop.QuickShop.onEnable(QuickShop.java:961) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Paper-794]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:599) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Paper-794]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-794]
at java.lang.Thread.run(Thread.java:831) [?:?]
[07:18:55 WARN]: [QuickShop] [WARN] Virtual DisplayItem Support Test: Virtual DisplayItem seems to not work on this Minecraft server, Make sure QuickShop, ProtocolLib and server builds are up to date.
[07:18:55 INFO]: [QuickShop] [OK] GameVersion supporting Test
[07:18:55 INFO]: [QuickShop] [OK] PacketListenerAPI Conflict Test
[07:18:55 INFO]: [QuickShop] [OK] End of life Test
[07:18:55 INFO]: [QuickShop] Reading the configuration...
[07:18:55 INFO]: [QuickShop] Developers: PotatoCraft Studio, Netherfoam, Timtower, KaiNoMood (KaiKikuchi), jho5245, Ghost_chu, cakoyo, Ectabro, portlek, log4b0at, Andre601, deadman96385, Vlvxingze, DoctaEnkoda, Mgazul, TiaraRinne, sandtechnology, Starmism, Chris6ix, Rean Schwarzer, mart-r, raphtaliapt, Tim269, creatorfromhell, LoneDev6, judgetread, confuxeon, ibmibmibm, yannicklamprecht, PyvesB, PaulBGD, ORelio, JoschuaSchneider, Starmium, harry0198, efekurbann, tdiant
[07:18:55 INFO]: [QuickShop] Original author: Netherfoam, Timtower, KaiNoMood
[07:18:55 INFO]: [QuickShop] Let's start loading the plugin
[07:18:55 INFO]: [QuickShop] Chat processor selected: Hardcoded BungeeChat Lib
[07:18:55 INFO]: [QuickShop] Loading plugin translations files...
[07:18:55 INFO]: [QuickShop] Game assets server selected: Mojang API
[07:18:55 INFO]: [QuickShop] Loading items translations...
[07:18:55 INFO]: [QuickShop] Loading enchantments translations...
[07:18:55 INFO]: [QuickShop] Loading potions translations...
[07:18:55 WARN]: [QuickShop] You're using Real Display system and that may cause your server lagg, switch to Virtual Display system if you can! (Checkout display-type option in config.yml)
[07:18:55 INFO]: [QuickShop] Setting up database...
[07:18:55 INFO]: [QuickShop] Checking and updating database columns, it may take a while...
[07:18:55 INFO]: [QuickShop] Finished!
[07:18:55 INFO]: [QuickShop] Selected permission provider: Bukkit
[07:18:55 INFO]: [QuickShop] Registering commands...
[07:18:56 INFO]: [QuickShop] Loaded 1 rules for listener blacklist.
[07:18:56 INFO]: [QuickShop] EventManager selected: QSEventManager
[07:18:56 INFO]: [QuickShop] Fetching shops from the database...If plugin stuck there, check your database connection.
[07:18:56 INFO]: [QuickShop] Loading shops from the database...
[07:18:56 INFO]: [QuickShop] >> Shop Loader Information
[07:18:56 INFO]: [QuickShop] Total shops: 0
[07:18:56 INFO]: [QuickShop] Valid shops: 0
[07:18:56 INFO]: [QuickShop] Pending : 0
[07:18:56 INFO]: [QuickShop] Waiting worlds loaded: 0
[07:18:56 INFO]: [QuickShop] Waiting chunks loaded: 0
[07:18:56 INFO]: [QuickShop] Done! Used 6ms to loaded shops in database.
[07:18:56 INFO]: [QuickShop] Registering listeners...
[07:18:56 INFO]: [QuickShop] Registering DisplayCheck task....
[07:18:56 INFO]: [QuickShop] Cleaning MsgUtils...
[07:18:56 INFO]: [QuickShop] Cleaning purchase messages from the database that are over a week old...
[07:18:56 INFO]: [QuickShop] Log actions is enabled, actions will log in the qs.log file!
[07:18:56 INFO]: [QuickShop] [Shop Purger] Purge not enabled!
[07:18:56 INFO]: [QuickShop] QuickShop Loaded! 661 ms.
[07:18:56 INFO]: Running delayed init tasks
[07:18:56 INFO]: [Essentials] Essentials found a compatible payment resolution method: Vault Compatibility Layer (v1.7.3-b131)!
[07:18:56 INFO]: [QuickShop] Registering bStats metrics...
[07:18:56 INFO]: [QuickShop] Using economy system: EssentialsX Economy
[07:18:56 WARN]: [QuickShop] QuickShop detected tax account not exists, we're trying to create one. If you see any errors, please change tax-account in config.yml to server owner in-game username
[07:18:56 INFO]: [Essentials] Created a User for Tax (2c5f00ba-902c-411b-b9b9-9261cf43aee1) for non Bukkit type: com.earth2me.essentials.OfflinePlayerStub
[07:18:56 INFO]: [Vault] Checking for Updates ...
[07:18:56 INFO]: [Essentials] Fetching version information...
[07:18:56 INFO]: [QuickShop] Tax account created.
[07:18:56 INFO]: Done (5.259s)! For help, type "help"
[07:18:56 INFO]: Timings Reset
[07:18:56 INFO]: [Vault] No new version available

qs paste
[07:20:42 INFO]: Please wait, QS is uploading the data to pastebin...
[07:20:44 INFO]: https://paste.helpch.at/qovukajoge

Steps to reproduce

  1. To run Peper-1.16.5-794
  2. Loading the following plugins:
    EssentialsX-2.20.1
    ProtocolLib-5.3.0
    Vault-1.7.3
    NBTAPI-2.14.0
    QuickShop-5.1.2.5

Expected Behaviour

No error

Screenshots

image

/qs paste URL

https://paste.helpch.at/qovukajoge

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant