Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-33014

Server Crash with -Xms flag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 13w39b
    • None
    • Windows XP 32 bit
      java version "1.7.0_40"
      Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
      Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode, sharing)
    • Unconfirmed

      When I try to launch minecraft server with the recommended command line:

      java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

      I get the following crash:

      Exception in thread "main" java.lang.RuntimeException: Duplicate stat id: "Trans
      latableComponent{key='stat.useItem', args=[TextComponent{text='[', siblings=[Tex
      tComponent{text='Brick Stairs', siblings=[], style=Style{hasParent=true, color=n
      ull, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null,
      hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponent{text='{id:108s,Dama
      ge:0s,Count:1b,}', siblings=[], style=Style{hasParent=false, color=null, bold=nu
      ll, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=n
      ull}}'}}}, TextComponent{text=']', siblings=[], style=Style{hasParent=true, colo
      r=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=nul
      l, hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponent{text='{id:108s,D
      amage:0s,Count:1b,}', siblings=[], style=Style{hasParent=false, color=null, bold
      =null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEven
      t=null}}'}}}], style=Style{hasParent=true, color=ºf, bold=null, italic=null, und
      erlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{action=SHO
      W_ITEM, value='TextComponent{text='{id:108s,Damage:0s,Count:1b,}', siblings=[],
      style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null
      , obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}], siblings=[], style=S
      tyle{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfus
      cated=null, clickEvent=null, hoverEvent=null}}" and "TranslatableComponent{key='
      stat.useItem', args=[TextComponent{text='[', siblings=[TextComponent{text='Ink S
      ac', siblings=[], style=Style{hasParent=true, color=null, bold=null, italic=null
      , underlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{actio
      n=SHOW_ITEM, value='TextComponent{text='{id:108s,Damage:0s,Count:1b,}', siblings
      =[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined
      =null, obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}, TextComponent{te
      xt=']', siblings=[], style=Style{hasParent=true, color=null, bold=null, italic=n
      ull, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=HoverEvent{ac
      tion=SHOW_ITEM, value='TextComponent{text='{id:108s,Damage:0s,Count:1b,}', sibli
      ngs=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underli
      ned=null, obfuscated=null, clickEvent=null, hoverEvent=null}}'}}}], style=Style{
      hasParent=true, color=ºf, bold=null, italic=null, underlined=null, obfuscated=nu
      ll, clickEvent=null, hoverEvent=HoverEvent{action=SHOW_ITEM, value='TextComponen
      t{text='{id:108s,Damage:0s,Count:1b,}', siblings=[], style=Style{hasParent=false
      , color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEve
      nt=null, hoverEvent=null}}'}}}], siblings=[], style=Style{hasParent=false, color
      =null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null
      , hoverEvent=null}}" at id stat.useItem.108
              at lo.h(SourceFile:42)
              at lw.d(SourceFile:109)
              at lw.a(SourceFile:60)
              at ii.b(SourceFile:359)
              at net.minecraft.server.MinecraftServer.main(SourceFile:514)
      

      Removing the -Xms flag and it works ok:

      java -Xmx1024M -jar minecraft_server.jar nogui

            Unassigned Unassigned
            penguin42 Ken Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: