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

Cannot use cave help command from console #886

Closed
mrfloris opened this issue Aug 9, 2019 · 0 comments
Closed

Cannot use cave help command from console #886

mrfloris opened this issue Aug 9, 2019 · 0 comments
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug
Milestone

Comments

@mrfloris
Copy link

mrfloris commented Aug 9, 2019

Bug Report

>cave help
[12:23:15 INFO]: =========== cave help ===========
[12:23:15 INFO]: /cave about: About this addon
[12:23:15 INFO]: /cave info <player>: display info about your cave or the player's cave
[12:23:15 WARN]: Unexpected exception while parsing console command "cave help"
org.bukkit.command.CommandException: Unhandled exception executing 'cave help' in world.bentobox.caveblock.commands.IslandCommand(cave)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:148) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:704) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchServerCommand(CraftServer.java:689) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.DedicatedServer.handleCommandQueue(DedicatedServer.java:459) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:418) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NullPointerException
        at world.bentobox.bentobox.api.user.User.getPermissionValue(User.java:303) ~[?:?]
        at world.bentobox.bentobox.api.commands.island.CustomIslandMultiHomeHelp.execute(CustomIslandMultiHomeHelp.java:39) ~[?:?]
        at world.bentobox.bentobox.api.commands.DefaultHelpCommand.lambda$runSubCommandHelp$0(DefaultHelpCommand.java:87) ~[?:?]
        at java.util.Optional.ifPresent(Optional.java:183) ~[?:?]
        at world.bentobox.bentobox.api.commands.DefaultHelpCommand.runSubCommandHelp(DefaultHelpCommand.java:87) ~[?:?]
        at world.bentobox.bentobox.api.commands.DefaultHelpCommand.execute(DefaultHelpCommand.java:73) ~[?:?]
        at world.bentobox.bentobox.api.commands.CompositeCommand.call(CompositeCommand.java:260) ~[?:?]
        at world.bentobox.bentobox.api.commands.CompositeCommand.execute(CompositeCommand.java:233) ~[?:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-84f3da3]
        ... 7 more
>

Description

A clear and concise description of what the bug is.

Typing cave help in the console spits out java exception error

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Go to console
type

cave help

see error

Expected behavior

A clear and concise description of what you expected to happen.
I expected it to show the help for the cave addon

Screenshots or video

If applicable, add screenshots to help explain your problem.

Server Information:

[Please complete the following information:]

  • Database being used (YAML, JSON, MySQL, MongoDB):
  • OS: [e.g. iOS]
  • Java Version: [e.g. Java 8] 11
  • BentoBox version: [e.g. 1.7.2.21] latest jenkins builds of bento + addons
  • Addons installed? [Do '/bentobox version' and copy/paste from the console]
  • Other plugins? [Do '/plugins' and copy/paste from the console] . we/wg/cmi/bentobox/mv-core
>bentobox version
[12:26:30 INFO]: Running SPIGOT 1.13.2.
[12:26:30 INFO]: BentoBox version: 1.6.0-SNAPSHOT-b1311
[12:26:30 INFO]: Database: JSON
[12:26:30 INFO]: Loaded Game Worlds:
[12:26:30 INFO]: acid (acid): Overworld, Nether, End
[12:26:30 INFO]: cave (cave): Overworld, Nether, End
[12:26:30 INFO]: skyblock (skyblock): Overworld, Nether, End
[12:26:30 INFO]: skygrid (skygrid): Overworld, Nether, End
[12:26:30 INFO]: Loaded Addons:
[12:26:30 INFO]: AcidIsland 1.6.0-SNAPSHOT (ENABLED)
[12:26:30 INFO]: BSkyBlock 1.6.0-SNAPSHOT (ENABLED)
[12:26:30 INFO]: CaveBlock ${version}${build.number} (ENABLED)
[12:26:30 INFO]: Level 1.6.0-SNAPSHOT (ENABLED)
[12:26:30 INFO]: Limits 1.6.0-SNAPSHOT (ENABLED)
[12:26:30 INFO]: MagicCobblestoneGenerator 1.5.0.1 (ENABLED)
[12:26:30 INFO]: SkyGrid 1.6.0 (ENABLED)
[12:26:30 INFO]: WelcomeWarps 1.5.2-SNAPSHOT (ENABLED)

Additional context

Add any other context about the problem here.

same for acid help and skyblock help

@tastybento tastybento transferred this issue from BentoBoxWorld/CaveBlock Aug 9, 2019
@tastybento tastybento self-assigned this Aug 9, 2019
@tastybento tastybento added Status: In progress Working on the issue. Type: Bug labels Aug 9, 2019
@tastybento tastybento added this to the 1.6.0 milestone Aug 9, 2019
@tastybento tastybento added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: In progress Working on the issue. labels Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants