MCDJ

MCDJ

102k Downloads

When I press E to close the UI of Music Generator, the Minecraft crash

Lwayage opened this issue ยท 0 comments

commented

Minecraft version: 1.12.2
MCDJ version : MCDJ-1.12.2-2.0_fix

if I press ESC, Music Generator UI exit normally.
and when Minecraft client crash, the Minecraft server work normally.

the crash logs are as the follw:

---- Minecraft Crash Report ----
// My bad.

Time: 2020-10-31 17:54:30 CST
Description: Updating screen events

java.lang.NumberFormatException: For input string: "0e"
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at com.shoxie.mcdj.gui.TextFieldMusicGenerator.syncid(TextFieldMusicGenerator.java:54)
    at com.shoxie.mcdj.gui.TextFieldMusicGenerator.writeText(TextFieldMusicGenerator.java:46)
    at net.minecraft.client.gui.GuiTextField.textboxKeyTyped(SourceFile:349)
    at com.shoxie.mcdj.gui.TextFieldMusicGenerator.textboxKeyTyped(TextFieldMusicGenerator.java:32)
    at com.shoxie.mcdj.gui.GuiMusicGenerator.keyTyped(GuiMusicGenerator.java:70)
    at net.minecraft.client.gui.GuiScreen.handleKeyboardInput(GuiScreen.java:558)
    at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:512)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1759)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1098)
    at net.minecraft.client.Minecraft.run(Minecraft.java:3942)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Affected screen --
  Screen name: com.shoxie.mcdj.gui.GuiMusicGenerator

-- Affected level --
  Level name: MpServer
  All players: 1 total; [EntityPlayerSP['luoer'/0, l='MpServer', x=204.32, y=65.00, z=209.79]]
  Chunk stats: MultiplayerChunkCache: 289, 289
  Level seed: 0
  Level generator: ID 00 - default, ver 1. Features enabled: false
  Level generator options: 
  Level spawn location: World: (199,64,209), Chunk: (at 7,4,1 in 12,13; contains blocks 192,0,208 to 207,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
  Level time: 821 game time, 821 day time
  Level dimension: 0
  Level storage version: 0x00000 - Unknown?
  Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
  Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
  Forced entities: 45 total; [EntityPlayerSP['luoer'/0, l='MpServer', x=204.32, y=65.00, z=209.79], EntityChicken['Chicken'/133, l='MpServer', x=217.09, y=67.00, z=188.84], EntityChicken['Chicken'/134, l='MpServer', x=214.82, y=66.00, z=196.00], EntitySheep['Sheep'/135, l='MpServer', x=154.50, y=65.00, z=271.50], EntitySkeleton['Skeleton'/8, l='MpServer', x=126.49, y=39.00, z=212.69], EntitySheep['Sheep'/136, l='MpServer', x=155.50, y=65.00, z=271.50], EntitySkeleton['Skeleton'/9, l='MpServer', x=127.22, y=39.00, z=213.47], EntitySheep['Sheep'/137, l='MpServer', x=150.59, y=67.00, z=261.73], EntitySkeleton['Skeleton'/10, l='MpServer', x=125.11, y=39.00, z=213.50], EntityCreeper['Creeper'/12, l='MpServer', x=127.00, y=39.00, z=215.55], EntityZombieVillager['Zombie Villager'/13, l='MpServer', x=126.53, y=39.00, z=210.76], EntityItem['item.item.seeds'/141, l='MpServer', x=236.81, y=63.00, z=180.27], EntityChicken['Chicken'/142, l='MpServer', x=208.86, y=67.00, z=188.06], EntityChicken['Chicken'/143, l='MpServer', x=217.32, y=67.00, z=182.81], EntitySheep['Sheep'/17, l='MpServer', x=137.19, y=64.00, z=197.79], EntityCreeper['Creeper'/81, l='MpServer', x=125.50, y=21.00, z=150.83], EntitySheep['Sheep'/18, l='MpServer', x=136.58, y=64.00, z=200.04], EntityZombie['Zombie'/82, l='MpServer', x=127.50, y=22.00, z=148.23], EntitySheep['Sheep'/19, l='MpServer', x=139.50, y=64.00, z=197.50], EntityChicken['Chicken'/147, l='MpServer', x=214.39, y=63.00, z=149.77], EntitySheep['Sheep'/20, l='MpServer', x=136.69, y=63.00, z=191.77], EntityChicken['Chicken'/148, l='MpServer', x=216.50, y=64.00, z=146.22], EntityChicken['Chicken'/149, l='MpServer', x=217.50, y=64.00, z=143.50], EntityChicken['Chicken'/150, l='MpServer', x=216.50, y=64.00, z=143.35], EntityChicken['Chicken'/158, l='MpServer', x=256.50, y=69.00, z=289.50], EntityChicken['Chicken'/163, l='MpServer', x=255.50, y=69.00, z=290.50], EntityBat['Bat'/36, l='MpServer', x=136.48, y=30.06, z=131.01], EntityChicken['Chicken'/164, l='MpServer', x=254.50, y=69.00, z=288.50], EntityChicken['Chicken'/165, l='MpServer', x=256.50, y=69.00, z=283.50], EntityBat['Bat'/38, l='MpServer', x=140.21, y=41.29, z=131.93], EntitySkeleton['Skeleton'/39, l='MpServer', x=132.50, y=38.00, z=143.50], EntityZombie['Zombie'/40, l='MpServer', x=142.50, y=40.00, z=131.50], EntityChicken['Chicken'/168, l='MpServer', x=213.50, y=68.00, z=280.50], EntityChicken['Chicken'/169, l='MpServer', x=215.50, y=69.00, z=283.50], EntityZombie['Zombie'/42, l='MpServer', x=135.50, y=42.00, z=131.50], EntityChicken['Chicken'/170, l='MpServer', x=214.50, y=68.00, z=282.50], EntityCreeper['Creeper'/43, l='MpServer', x=136.50, y=42.00, z=131.50], EntityChicken['Chicken'/171, l='MpServer', x=213.50, y=68.00, z=281.50], EntityCreeper['Creeper'/50, l='MpServer', x=135.10, y=24.00, z=151.53], EntitySquid['Squid'/51, l='MpServer', x=141.50, y=59.00, z=153.50], EntitySquid['Squid'/52, l='MpServer', x=141.50, y=59.00, z=149.50], EntityPig['Pig'/117, l='MpServer', x=207.50, y=74.00, z=288.50], EntityBat['Bat'/54, l='MpServer', x=127.59, y=38.10, z=133.65], EntitySkeleton['Skeleton'/55, l='MpServer', x=127.50, y=38.00, z=134.50], EntitySheep['Sheep'/123, l='MpServer', x=160.19, y=64.00, z=272.55]]
  Retry entities: 0 total; []
  Server brand: fml,forge
  Server type: Integrated singleplayer server