Resource icon

MenuPlus 1.0.0

Catrainbow

Active Member
I'm getting these two errors on Nukkit:
19:57:24 [ERROR] Could not load plugin "MenuPlus": Wrong API format
19:57:24 [ERROR] Could not load plugin "MenuPlus": Incompatible API version
 

WylSmart

New Member
I use Petteri1Edition and errors

Code:
"menuplus test " в menuplus: java.lang.IllegalStateException: Inventory was already open
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你一流军队明确中国特色径给世界上那些既希望.onOpen(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:21222)
        at cn.nukkit.inventory.BaseInventory.open(BaseInventory.java:52)
        at cn.nukkit.Player.addWindow(Player.java:2001)
        at cn.nukkit.Player.addWindow(Player.java:2307)
        at cn.nukkit.Player.addWindow(Player.java:2672)
        at cn.nukkit.Player.addWindow(Player.java:870)
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你发展中国特色社会主义社会主义制度的最大优.<init>(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:9497)
        at net.fap.menuPlus.command.MenuCommand.execute(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:17111)
        at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:107)
        at cn.nukkit.Server.dispatchCommand(Server.java:616)
        at cn.nukkit.Player.handleDataPacket(Player.java:1260)
        at java.util.ArrayList.forEach(ArrayList.java:1259)
        at cn.nukkit.network.Network.processPackets(Network.java:162)
        at cn.nukkit.network.Network.processBatch(Network.java:203)
        at cn.nukkit.Player.handleDataPacket(Player.java:2578)
        at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:60)
        at cn.nukkit.network.Network.processInterfaces(Network.java:64)
        at cn.nukkit.Server.e(Server.java:410)
        at cn.nukkit.Server.tickProcessor(Server.java:37)
        at cn.nukkit.Server.start(Server.java:1171)
        at cn.nukkit.Server.<init>(Server.java:738)
        at cn.nukkit.Nukkit.main(Nukkit.java:16)

23:46:20 [ERROR] Throwing
java.lang.IllegalStateException: Inventory was already open
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你一流军队明确中国特色径给世界上那些既希望.onOpen(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:21222) ~[?:?]
        at cn.nukkit.inventory.BaseInventory.open(BaseInventory.java:52) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.addWindow(Player.java:2001) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.addWindow(Player.java:2307) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.addWindow(Player.java:2672) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.addWindow(Player.java:870) ~[Nukkit-PM1E.jar:?]
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你发展中国特色社会主义社会主义制度的最大优.<init>(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:9497) ~[?:?]
        at net.fap.menuPlus.command.MenuCommand.execute(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:17111) ~[?:?]
        at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:107) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.dispatchCommand(Server.java:616) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.handleDataPacket(Player.java:1260) ~[Nukkit-PM1E.jar:?]
        at java.util.ArrayList.forEach(ArrayList.java:1259) [?:1.8.0_312]
        at cn.nukkit.network.Network.processPackets(Network.java:162) [Nukkit-PM1E.jar:?]
        at cn.nukkit.network.Network.processBatch(Network.java:203) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.handleDataPacket(Player.java:2578) [Nukkit-PM1E.jar:?]
        at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:60) [Nukkit-PM1E.jar:?]
        at cn.nukkit.network.Network.processInterfaces(Network.java:64) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.e(Server.java:410) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.tickProcessor(Server.java:37) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.start(Server.java:1171) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.<init>(Server.java:738) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Nukkit.main(Nukkit.java:16) [Nukkit-PM1E.jar:?]
>
23:47:40 [FATAL] Exception happened while shutting down, exiting the process
java.lang.NullPointerException: null
        at java.lang.invoke.DirectMethodHandle$Interface.checkReceiver(DirectMethodHandle.java:407) ~[?:1.8.0_312]
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你一流军队明确中国特色径给世界上那些既希望.onClose(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:56338) ~[?:?]
        at cn.nukkit.inventory.BaseInventory.close(BaseInventory.java:258) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.removeWindow(Player.java:2608) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.removeWindow(Player.java:1695) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.removeAllWindows(Player.java:2822) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.close(Player.java:3164) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.close(Player.java:140) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.forceShutdown(Server.java:25) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.forceShutdown(Server.java:43) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.start(Server.java:1247) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.<init>(Server.java:738) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Nukkit.main(Nukkit.java:16) [Nukkit-PM1E.jar:?]
 

WylSmart

New Member
I use Petteri1Edition and errors

Code:
"menuplus test " в menuplus: java.lang.IllegalStateException: Inventory was already open
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你一流军队明确中国特色径给世界上那些既希望.onOpen(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:21222)
        at cn.nukkit.inventory.BaseInventory.open(BaseInventory.java:52)
        at cn.nukkit.Player.addWindow(Player.java:2001)
        at cn.nukkit.Player.addWindow(Player.java:2307)
        at cn.nukkit.Player.addWindow(Player.java:2672)
        at cn.nukkit.Player.addWindow(Player.java:870)
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你发展中国特色社会主义社会主义制度的最大优.<init>(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:9497)
        at net.fap.menuPlus.command.MenuCommand.execute(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:17111)
        at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:107)
        at cn.nukkit.Server.dispatchCommand(Server.java:616)
        at cn.nukkit.Player.handleDataPacket(Player.java:1260)
        at java.util.ArrayList.forEach(ArrayList.java:1259)
        at cn.nukkit.network.Network.processPackets(Network.java:162)
        at cn.nukkit.network.Network.processBatch(Network.java:203)
        at cn.nukkit.Player.handleDataPacket(Player.java:2578)
        at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:60)
        at cn.nukkit.network.Network.processInterfaces(Network.java:64)
        at cn.nukkit.Server.e(Server.java:410)
        at cn.nukkit.Server.tickProcessor(Server.java:37)
        at cn.nukkit.Server.start(Server.java:1171)
        at cn.nukkit.Server.<init>(Server.java:738)
        at cn.nukkit.Nukkit.main(Nukkit.java:16)

23:46:20 [ERROR] Throwing
java.lang.IllegalStateException: Inventory was already open
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你一流军队明确中国特色径给世界上那些既希望.onOpen(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:21222) ~[?:?]
        at cn.nukkit.inventory.BaseInventory.open(BaseInventory.java:52) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.addWindow(Player.java:2001) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.addWindow(Player.java:2307) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.addWindow(Player.java:2672) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.addWindow(Player.java:870) ~[Nukkit-PM1E.jar:?]
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你发展中国特色社会主义社会主义制度的最大优.<init>(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:9497) ~[?:?]
        at net.fap.menuPlus.command.MenuCommand.execute(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:17111) ~[?:?]
        at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:107) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.dispatchCommand(Server.java:616) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.handleDataPacket(Player.java:1260) ~[Nukkit-PM1E.jar:?]
        at java.util.ArrayList.forEach(ArrayList.java:1259) [?:1.8.0_312]
        at cn.nukkit.network.Network.processPackets(Network.java:162) [Nukkit-PM1E.jar:?]
        at cn.nukkit.network.Network.processBatch(Network.java:203) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.handleDataPacket(Player.java:2578) [Nukkit-PM1E.jar:?]
        at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:60) [Nukkit-PM1E.jar:?]
        at cn.nukkit.network.Network.processInterfaces(Network.java:64) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.e(Server.java:410) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.tickProcessor(Server.java:37) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.start(Server.java:1171) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.<init>(Server.java:738) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Nukkit.main(Nukkit.java:16) [Nukkit-PM1E.jar:?]
>
23:47:40 [FATAL] Exception happened while shutting down, exiting the process
java.lang.NullPointerException: null
        at java.lang.invoke.DirectMethodHandle$Interface.checkReceiver(DirectMethodHandle.java:407) ~[?:1.8.0_312]
        at 我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你一流军队明确中国特色径给世界上那些既希望.onClose(我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你立性的国家和民族提供十一世纪的中国焕发出.java:56338) ~[?:?]
        at cn.nukkit.inventory.BaseInventory.close(BaseInventory.java:258) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.removeWindow(Player.java:2608) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.removeWindow(Player.java:1695) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.removeAllWindows(Player.java:2822) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.close(Player.java:3164) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Player.close(Player.java:140) ~[Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.forceShutdown(Server.java:25) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.forceShutdown(Server.java:43) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.start(Server.java:1247) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Server.<init>(Server.java:738) [Nukkit-PM1E.jar:?]
        at cn.nukkit.Nukkit.main(Nukkit.java:16) [Nukkit-PM1E.jar:?]
 

Attachments

WylSmart

New Member
Could you please give me your config? I need to fix with that.
Settings.yml:
Code:
menuBuffer: 10
open-with-item: []
language: []
and example test.yml
Code:
name: MyMenu
type: 0
size: 10
'1':
  name: FirstItem
  id: '267:0:1'
  command: 'menuplus test2'
  lore: ''
 
When I try to use the /menuplus command, this error happens and the server crash!!!

java.lang.NullPointerException
at ??????????????????????????????????????????????????????????????????????????????????????$??????????????????????????????????????????????????????????????????????????????????????.???????????????????????????????????????????????????????????????????????????????????(????????????????????????????????????????????????????????????????????????????????????????????.java)
at java.lang.invoke.CallSite.makeSite(CallSite.java:283)
at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307)
at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297)
at ?????????????????????????????????????????????????????????????????????????????????????????????????????.placeChest(????????????????????????????????????????????????????????????????????????????????????????????.java:35191)
at ?????????????????????????????????????????????????????????????????????????????????????????????????????.onOpenBlock(????????????????????????????????????????????????????????????????????????????????????????????.java:27495)
at ??????????????????????????????????????????????????????????????????????????????????????.onOpen(????????????????????????????????????????????????????????????????????????????????????????????.java:39110)
at cn.nukkit.inventory.BaseInventory.open(BaseInventory.java:432)
at cn.nukkit.Player.addWindow(Player.java:5397)
at cn.nukkit.Player.addWindow(Player.java:5377)
at cn.nukkit.Player.addWindow(Player.java:5373)
at cn.nukkit.Player.addWindow(Player.java:5369)
at ??????????????????????????????????????????????????????????????????????????????????????.<init>(????????????????????????????????????????????????????????????????????????????????????????????.java:9497)
at net.fap.menuPlus.command.MenuCommand.execute(????????????????????????????????????????????????????????????????????????????????????????????.java:17111)
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:259)
at cn.nukkit.Server.dispatchCommand(Server.java:961)
at cn.nukkit.Player.handleDataPacket(Player.java:3160)
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:129)
at cn.nukkit.network.Network.processInterfaces(Network.java:169)
at cn.nukkit.Server.tick(Server.java:1360)
at cn.nukkit.Server.tickProcessor(Server.java:1143)
at cn.nukkit.Server.start(Server.java:1103)
at cn.nukkit.Server.<init>(Server.java:775)
at cn.nukkit.Nukkit.main(Nukkit.java:199)
23:18:12 [FATAL] Exception happened while ticking server

"Nukkit Asynchronous Task Handler #4" Id=47 WAITING on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:458)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:924)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
...


"Nukkit Asynchronous Task Handler #3" Id=46 WAITING on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:458)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:924)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
...


"Nukkit Asynchronous Task Handler #2" Id=40 WAITING on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:458)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:924)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
...


"Nukkit Asynchronous Task Handler #1" Id=39 WAITING on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:458)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:924)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
...


"Nukkit Asynchronous Task Handler #0" Id=35 WAITING on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.SynchronousQueue$TransferStack@2975ca
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:458)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:924)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
...


"Watchdog" Id=31 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at cn.nukkit.utils.Watchdog.run(Watchdog.java:95)


"Abandoned connection cleanup thread" Id=27 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@cf4497
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@cf4497
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:70)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Number of locked synchronizers = 1
- java.util.concurrent.ThreadPoolExecutor$Worker@ce5a3


"SentryAsyncConnection-0" Id=26 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@14619a3
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@14619a3
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)


"Network Listener - #7" Id=25 RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked io.netty.channel.nio.SelectedSelectionKeySet@1d3a7a1
- locked java.util.Collections$UnmodifiableSet@411474
- locked sun.nio.ch.EPollSelectorImpl@681097
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:809)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
...


"Network Listener - #6" Id=24 RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked io.netty.channel.nio.SelectedSelectionKeySet@12891f8
- locked java.util.Collections$UnmodifiableSet@1d2c253
- locked sun.nio.ch.EPollSelectorImpl@1a484a9
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:809)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
...


"Network Listener - #5" Id=23 RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked io.netty.channel.nio.SelectedSelectionKeySet@156c222
- locked java.util.Collections$UnmodifiableSet@2035e1
- locked sun.nio.ch.EPollSelectorImpl@1f7b4ac
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:809)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
...


"Network Listener - #4" Id=22 RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked io.netty.channel.nio.SelectedSelectionKeySet@47e077
- locked java.util.Collections$UnmodifiableSet@1bd6a0f
- locked sun.nio.ch.EPollSelectorImpl@e9d0e4
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:809)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
...


"Network Listener - #3" Id=21 RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked io.netty.channel.nio.SelectedSelectionKeySet@cb45c1
- locked java.util.Collections$UnmodifiableSet@14c44b7
- locked sun.nio.ch.EPollSelectorImpl@10bbe83
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:809)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
...


"Network Listener - #2" Id=20 RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked io.netty.channel.nio.SelectedSelectionKeySet@1b130f6
- locked java.util.Collections$UnmodifiableSet@1e4928c
- locked sun.nio.ch.EPollSelectorImpl@c61b3b
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:809)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
...


"Network Listener - #1" Id=19 RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked io.netty.channel.nio.SelectedSelectionKeySet@e75786
- locked java.util.Collections$UnmodifiableSet@fefac
- locked sun.nio.ch.EPollSelectorImpl@1bc7853
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:809)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
...


"Network Listener - #0" Id=18 RUNNABLE
at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
- locked io.netty.channel.nio.SelectedSelectionKeySet@13fa95c
- locked java.util.Collections$UnmodifiableSet@12c8bda
- locked sun.nio.ch.EPollSelectorImpl@8d619c
at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:809)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457)
...


"pool-7-thread-1" Id=17 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7ff23e
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7ff23e
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)


"pool-6-thread-1" Id=16 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4d2a4
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4d2a4
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
...


"Thread-2" Id=15 RUNNABLE
at java.io.FileInputStream.read0(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:207)
at org.jline.terminal.impl.AbstractPty$PtyInputStream.read(AbstractPty.java:65)
at org.jline.utils.NonBlockingInputStream.read(NonBlockingInputStream.java:62)
at org.jline.utils.NonBlocking$NonBlockingInputStreamReader.read(NonBlocking.java:168)
at org.jline.utils.NonBlockingReader.read(NonBlockingReader.java:57)
at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:133)
at org.jline.keymap.BindingReader.readBinding(BindingReader.java:110)
...


"SentryHostnameCache-0" Id=13 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1a9e665
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1a9e665
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)


"Signal Dispatcher" Id=4 RUNNABLE


"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@2be0cd
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@2be0cd
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)


"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@1de0a34
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@1de0a34
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)


"main" Id=1 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:454)
at cn.nukkit.utils.Utils.getAllThreadDumps(Utils.java:171)
at cn.nukkit.Server.tickProcessor(Server.java:1174)
at cn.nukkit.Server.start(Server.java:1103)
at cn.nukkit.Server.<init>(Server.java:775)
at cn.nukkit.Nukkit.main(Nukkit.java:199)


java.lang.BootstrapMethodError: call site initialization exception
at java.lang.invoke.CallSite.makeSite(CallSite.java:341) ~[?:1.8.0_151]
at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307) ~[?:1.8.0_151]
at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297) ~[?:1.8.0_151]
at ?????????????????????????????????????????????????????????????????????????????????????????????????????.placeChest(????????????????????????????????????????????????????????????????????????????????????????????.java:35191) ~[?:?]
at ?????????????????????????????????????????????????????????????????????????????????????????????????????.onOpenBlock(????????????????????????????????????????????????????????????????????????????????????????????.java:27495) ~[?:?]
at ??????????????????????????????????????????????????????????????????????????????????????.onOpen(????????????????????????????????????????????????????????????????????????????????????????????.java:39110) ~[?:?]
at cn.nukkit.inventory.BaseInventory.open(BaseInventory.java:432) ~[powernukkit.jar:?]
at cn.nukkit.Player.addWindow(Player.java:5397) ~[powernukkit.jar:?]
at cn.nukkit.Player.addWindow(Player.java:5377) ~[powernukkit.jar:?]
at cn.nukkit.Player.addWindow(Player.java:5373) ~[powernukkit.jar:?]
at cn.nukkit.Player.addWindow(Player.java:5369) ~[powernukkit.jar:?]
at ??????????????????????????????????????????????????????????????????????????????????????.<init>(????????????????????????????????????????????????????????????????????????????????????????????.java:9497) ~[?:?]
at net.fap.menuPlus.command.MenuCommand.execute(????????????????????????????????????????????????????????????????????????????????????????????.java:17111) ~[?:?]
at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:259) ~[powernukkit.jar:?]
at cn.nukkit.Server.dispatchCommand(Server.java:961) ~[powernukkit.jar:?]
at cn.nukkit.Player.handleDataPacket(Player.java:3160) ~[powernukkit.jar:?]
at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:129) ~[powernukkit.jar:?]
at cn.nukkit.network.Network.processInterfaces(Network.java:169) ~[powernukkit.jar:?]
at cn.nukkit.Server.tick(Server.java:1360) ~[powernukkit.jar:?]
at cn.nukkit.Server.tickProcessor(Server.java:1143) [powernukkit.jar:?]
at cn.nukkit.Server.start(Server.java:1103) [powernukkit.jar:?]
at cn.nukkit.Server.<init>(Server.java:775) [powernukkit.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:199) [powernukkit.jar:?]
Caused by: java.lang.ClassCastException: bootstrap method failed to produce a CallSite
at java.lang.invoke.CallSite.makeSite(CallSite.java:332) ~[?:1.8.0_151]
... 22 more
23:18:12 [FATAL] Exception happened while shutting down, exiting the process
java.lang.NullPointerException: null
at ??????????????????????????????????????????????????????????????????????????????????????.onClose(????????????????????????????????????????????????????????????????????????????????????????????.java:56338) ~[?:?]
at cn.nukkit.inventory.BaseInventory.close(BaseInventory.java:439) ~[powernukkit.jar:?]
at cn.nukkit.Player.removeWindow(Player.java:5432) ~[powernukkit.jar:?]
at cn.nukkit.Player.removeWindow(Player.java:5427) ~[powernukkit.jar:?]
at cn.nukkit.Player.removeAllWindows(Player.java:5521) ~[powernukkit.jar:?]
at cn.nukkit.Player.close(Player.java:4337) ~[powernukkit.jar:?]
at cn.nukkit.Player.close(Player.java:4316) ~[powernukkit.jar:?]
at cn.nukkit.Server.forceShutdown(Server.java:1038) [powernukkit.jar:?]
at cn.nukkit.Server.start(Server.java:1104) [powernukkit.jar:?]
at cn.nukkit.Server.<init>(Server.java:775) [powernukkit.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:199) [powernukkit.jar:?]


Also, I think that only ops could create new menus!
 

Catrainbow

Active Member
Settings.yml:
Code:
menuBuffer: 10
open-with-item: []
language: []
and example test.yml
Code:
name: MyMenu
type: 0
size: 10
'1':
  name: FirstItem
  id: '267:0:1'
  command: 'menuplus test2'
  lore: ''
Thanks, I will upload a new version later.
 
Top