Closed swilgosz closed 8 years ago
Need the client log to be able to debug this.
I was able to upload via 1.7 version in dev mode today: on 1.8 version the bug still happens. Here are the logs - I included latest.log
and fml-client-latest.log
client-logs.zip
Here is just a splitted error message:
An unknown error occurred while attempting to perform this command
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: java.lang.ArrayIndexOutOfBoundsException: 1
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at com.creatubbles.ctbmod.common.command.CommandUpload.processCommand(CommandUpload.java:68)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraftforge.client.ClientCommandHandler.executeCommand(ClientCommandHandler.java:72)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.client.gui.GuiScreen.sendChatMessage(GuiScreen.java:484)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.client.gui.GuiScreen.sendChatMessage(GuiScreen.java:475)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.client.gui.GuiChat.keyTyped(GuiChat.java:131)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.client.gui.GuiScreen.handleKeyboardInput(GuiScreen.java:640)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:590)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.client.Minecraft.runTick(Minecraft.java:1761)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1080)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.client.Minecraft.run(Minecraft.java:380)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.client.main.Main.main(Main.java:116)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at java.lang.reflect.Method.invoke(Method.java:497)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at java.lang.reflect.Method.invoke(Method.java:497)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
[11:29:14] [Client thread/INFO] [STDERR]: [net.minecraftforge.client.ClientCommandHandler:executeCommand:91]: at GradleStart.main(GradleStart.java:26)
Update: today I was able to upload via 1.7 version once on raw world - every other try to upload an image returned the same error.
On 1.8 version I was unable to do it even once.
@swilgosz Did you take any screenshots before using the command? It seems you are using ID 1, which will fail if you only have one screenshot. Try with ID 0.
/ctb-login swilgosz mypassword
then I received the access tokenMoreover, the file indeed wasn't uploaded to https://www.creatubbles.com