Jump to content

[SOLVED][1.9.4] gradle setupDecompWorkspace fails with NPE (no message)


Recommended Posts

Posted

Context: I'm updating my dev environment from 1.9 to 1.9.4 - project built successfully previously with 12.16.1.1907 / snapshot_nodoc_20160512

I've updated to build against 12.17.0.1957 / snapshot_20160601

 

I call gradlew.bat setupDecompWorkspace --refresh-dependencies

 

Applying SpecialSource...

Applying Exceptor...

:decompileMc FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':decompileMc'.

> java.lang.NullPointerException (no error message)

 

I've tried various other versions of Forge from .1922 up; what did I mess up when upgrading?

Posted

i had this same problem..it was because I hadn't updated my gradle buildscript to use ForgeGradle 2.2

 

was:

    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
    }

 

worked after I changed it to:

    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
    }

Posted

i had this same problem..it was because I hadn't updated my gradle buildscript to use ForgeGradle 2.2

 

was:

    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
    }

 

worked after I changed it to:

    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
    }

 

Ding ding ding ding! A winar is you! Serves me right for not double checking the MCP.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.