Issue Importing TXT Report Into MYSQL #604


  • New
  • Defect
Open
Assigned to _ForgeUser8455416
  • _ForgeUser7852033 created this issue Sep 17, 2016

    NOTE: If you supply copies of your .yml or console log files, please use pastebin, dropbox, or other service and provide link,  instead of copy/paste of the file into this report. Thanks!

    What Version of OnTime and Bukkit are you using?
    OnTime: Latest
    Bukkit: Spigot

    What storage option are you using? (YML or MYSQL) ?

    MySQL

    What permissions plugin are you using? (Groupmanager, PEX,bPermissions, etc.)

    Pex

    Please provide a link to a copy of your plugins/OnTime/config.yml:

    http://pastebin.com/dTaE4Amh

    What steps will reproduce the problem?
    1. Copy existing txt file and rename with no spacees
    2. Run command /ontime import report filename.txt replace

    What is the expected output? What do you see instead?

    I get a java error. It should be copying the data into the mysql. It says CANNOT ACCESS FILE. I have perms turned on to 777 for all files.

    Do you have an console log of what happened?

    Due to mobile issues, will paste in comments.

    Are you having a "rewards" problem?  Please provide a link to a copy of your /plugins/OnTime/rewards.yml :

    No

    Did you turn on OnTime logging (/ontime logfile enable 1)?  If so, provide a link to that file too.

    No

    Please provide any additional information below.

    N/A

  • _ForgeUser7852033 added the tags New Defect Sep 17, 2016
  • _ForgeUser7852033 posted a comment Sep 17, 2016

    ontime import report WeeklyReport.txt replace

    [19:48:11 WARN]: java.lang.NullPointerException [19:48:11 WARN]: at me.edge209.OnTime.Players.getData(Players.java:235) [19:48:11 WARN]: at me.edge209.OnTime.Import.storePlayer(Import.java:513) [19:48:11 WARN]: at me.edge209.OnTime.Import.fromReport(Import.java:471) [19:48:11 WARN]: at me.edge209.OnTime.Commands.onCommand(Commands.java:614) [19:48:11 WARN]: at me.edge209.OnTime.OnTime.onCommand(OnTime.java:1054) [19:48:11 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [19:48:11 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) [19:48:11 WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:646) [19:48:11 WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchServerCommand(CraftServer.java:632[19:48:11 WARN]: at net.minecraft.server.v1_10_R1.DedicatedServer.aL(DedicatedServer.java:438) [19:48:11 WARN]: at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:401) [19:48:11 WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [19:48:11 WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [19:48:11 WARN]: at java.lang.Thread.run(Thread.java:745) [19:48:11 INFO]: Error accessing Report file.


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