Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • OutOfBoundsException during :decompileMc
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
Shnupbups100

OutOfBoundsException during :decompileMc

By Shnupbups100, September 25, 2017 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

Shnupbups100    1

Shnupbups100

Shnupbups100    1

  • Tree Puncher
  • Shnupbups100
  • Forge Modder
  • 1
  • 11 posts
Posted September 25, 2017 (edited)

I was attempting to update my dev environment to 1.12.2 (from 1.12.1, which worked perfectly) and kept getting an error when using

gradlew setupDecompWorkspace

 

During the :decompileMc process, I would get this error:

Spoiler

:decompileMc
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 24, Size: 9
        at java.util.ArrayList.rangeCheck(ArrayList.java:653)
        at java.util.ArrayList.get(ArrayList.java:429)
        at org.jetbrains.java.decompiler.struct.consts.ConstantPool.<init>(ConstantPool.java:109)
        at org.jetbrains.java.decompiler.struct.StructClass.<init>(StructClass.java:84)
        at org.jetbrains.java.decompiler.struct.StructClass.<init>(StructClass.java:72)
        at org.jetbrains.java.decompiler.struct.StructContext.addArchive(StructContext.java:159)
        at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:100)
        at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:78)
        at org.jetbrains.java.decompiler.main.Fernflower.addAllClasspath(Fernflower.java:119)
        at org.jetbrains.java.decompiler.main.Fernflower.<init>(Fernflower.java:47)
        at org.jetbrains.java.decompiler.main.decompiler.BaseDecompiler.<init>(BaseDecompiler.java:32)
        at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.runFernFlower(FernFlowerInvoker.java:64)
        at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.main(FernFlowerInvoker.java:41)
:decompileMc FAILED

 

 

My JAVA_HOME is correctly set, I'm using JDK 1.8 64 bit, everything worked perfectly fine just as I had it with 1.12.1.

 

Anyone know why this is happening, and if I can do anything to fix it?

Edited September 25, 2017 by Shnupbups100
  • Quote

width=600 height=150http://i.imgur.com/wEmXZn7.png[/img]

Share this post


Link to post
Share on other sites

P3pp3rF1y    3

P3pp3rF1y

P3pp3rF1y    3

  • Tree Puncher
  • P3pp3rF1y
  • Forge Modder
  • 3
  • 18 posts
Posted September 25, 2017

So I just came over here to ask about exact same issue that I am suddenly getting with a project that I am pretty sure I didn't get last time I updated to 1.12. 

 

For your reference the build file that I am using https://github.com/P3pp3rF1y/Reliquary/blob/1.12.x/build.gradle 

 

I suspect this issue may have something to do with a recent update to FG?

  • Quote

Share this post


Link to post
Share on other sites

P3pp3rF1y    3

P3pp3rF1y

P3pp3rF1y    3

  • Tree Puncher
  • P3pp3rF1y
  • Forge Modder
  • 3
  • 18 posts
Posted September 26, 2017

FYI, this was resolved in https://github.com/MinecraftForge/ForgeGradle/issues/451. Just do gradlew cleanCache setupDecompWorkspace --refresh-dependencies and you should be good.

  • Like 1
  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • forgotendeath09
      why is 3 in the middle of 7

      By forgotendeath09 · Posted 6 minutes ago

      when you load up forge 1.12.2 the top is displayed as 0/7, once it gets to 3/7 the bar below is in the middle; this is very wrong please consider changing this it drives me crazy every time i launch a modded world.
    • F0RZera
      have an error when trying to connect to LAN server with mods

      By F0RZera · Posted 8 minutes ago

      Ok thanks
    • DeNub
      Cannot create a modded forge server for 1.16.4

      By DeNub · Posted 9 minutes ago

      Its working all well now. Thank you for the support and being patient with me.
    • BobbyLikesCake
      1.16.4 Modded not loading singleplayer worlds

      By BobbyLikesCake · Posted 41 minutes ago

      Ok, Thanks I did modify quark slightly but I hope if I delete all of them I can just edit them once again
    • diesieben07
      1.16.4 Modded not loading singleplayer worlds

      By diesieben07 · Posted 42 minutes ago

      If you didn't modify any of them then its fine, they will just regenerate.
  • Topics

    • forgotendeath09
      0
      why is 3 in the middle of 7

      By forgotendeath09
      Started 6 minutes ago

    • F0RZera
      10
      have an error when trying to connect to LAN server with mods

      By F0RZera
      Started 5 hours ago

    • DeNub
      27
      Cannot create a modded forge server for 1.16.4

      By DeNub
      Started 11 hours ago

    • BobbyLikesCake
      13
      1.16.4 Modded not loading singleplayer worlds

      By BobbyLikesCake
      Started 3 hours ago

    • Dr.Nickenstein
      3
      Method to get the current durability?

      By Dr.Nickenstein
      Started 11 hours ago

  • Who's Online (See full list)

    • brockmoen
    • gogohugo2013
    • forgotendeath09
    • LexManos
    • diesieben07
    • DeNub
    • Dez_Flame_Fox
    • F0RZera
    • MrLoop95
    • Nitrix
    • connorad56
    • FiggieFire
    • R0m3n_F
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • OutOfBoundsException during :decompileMc
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community