Null Pointer Exception in Jobs #672


  • New
  • Defect
Open
Assigned to _ForgeUser1255850
  • _ForgeUser27484838 created this issue Sep 6, 2016

    READ THIS NOTICE BEFORE CONTINUING!  Fill out the ENTIRE ticket!  Incomplete tickets or inaccurate will be closed with no response.

    Make sure to attach a copy of your jobConfig.yml and generalConfig.yml files to this ticket.  Please do not use pastebin/pastie for configuration files.
    ----------
    What is the expected output? What do you see instead?  Feel free to attach a screenshot or any error logs.
    Attempting to /jobs join Miner - no response.  Log shows:

    [20:53:44] [Server thread/INFO]: jimsig issued server command: /jobs join Miner
    [20:53:44] [Server thread/WARN]: java.lang.reflect.InvocationTargetException
    [20:53:44] [Server thread/WARN]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [20:53:44] [Server thread/WARN]:     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [20:53:44] [Server thread/WARN]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [20:53:44] [Server thread/WARN]:     at java.lang.reflect.Method.invoke(Unknown Source)
    [20:53:44] [Server thread/WARN]:     at me.zford.jobs.commands.JobsCommands.onCommand(JobsCommands.java:70)
    [20:53:44] [Server thread/WARN]:     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    [20:53:44] [Server thread/WARN]:     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140)
    [20:53:44] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:626)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1299)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1159)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:37)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:9)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
    [20:53:44] [Server thread/WARN]:     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    [20:53:44] [Server thread/WARN]:     at java.util.concurrent.FutureTask.run(Unknown Source)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:688)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:361)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:643)
    [20:53:44] [Server thread/WARN]:     at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:547)
    [20:53:44] [Server thread/WARN]:     at java.lang.Thread.run(Unknown Source)
    [20:53:44] [Server thread/WARN]: Caused by: java.lang.NullPointerException
    [20:53:44] [Server thread/WARN]:     at me.zford.jobs.commands.JobsCommands.join(JobsCommands.java:172)
    [20:53:44] [Server thread/WARN]:     ... 21 more

    How can you reproduce the issue?  Please be as descriptive as possible, including any commands or in-game actions.
    See above log output.

    What version of Jobs plugin are you using?  Do not enter "latest" or anything similar.
    According to the config file in the sqlite.db file, it's "version 2"

    What version of Bukkit are you using (/version)?  Do not enter "latest" or anything similar.
    Bukkit version 1.10.2

    List of plugins installed (copy paste output of "plugins" or "/plugins" from command line with timestamp or attach screen shot of ingame.  Do not type by hand)

  • _ForgeUser27484838 added the tags New Defect Sep 6, 2016
  • _ForgeUser27484838 added an attachment Jobs.png Sep 6, 2016

    Jobs.png

    <p>Screenshot of Plugins folder.</p>

  • _ForgeUser27484838 added an attachment generalConfig.yml Sep 6, 2016

    generalConfig.yml

  • _ForgeUser27484838 added an attachment jobConfig.yml Sep 6, 2016

    jobConfig.yml


To post a comment, please login or register a new account.