Jump to content

All Gradle commands don't seem to work


Reflxction

Recommended Posts

Hello. Over the past days, I've been encountering issues with Gradle that Forge uses. Every Gradle command I execute seems to fail with the same error. I haven't modified my build.gradle or any Gradle file that the workspace contains. I'm getting the following errors (this one was on gradlew build):

* Where:
Build file 'my mod workspace\build.gradle
' line: 39

* What went wrong:
A problem occurred evaluating root project 'my mod name'.
> java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 37.669 secs

It says line 39 in build.gradle, which is 

mappings = "stable_20

I'm using Forge 1.8.9

 

Before, everything was running completely fine and I didn't encounter any problems. One of the things I have done was update Java and IntelliJ IDEA. Could that be the cause? If so do I need to update other things like Gradle or will I have to downgrade Java? If not, got any idea or any way to fix that issue? Thanks in advanced.

Link to comment
Share on other sites

1 hour ago, Reflxction said:

mappings = "stable_20

 

mappings = "stable_20"

 

Maybe?

  • Like 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

11 hours ago, Draco18s said:

mappings = "stable_20"

 

Maybe?

I think this was a mistake when I copied it, but it was closed with the quotations. 

I sometimes get those:

Etag download for http://export.mcpbot.bspk.rs/versions.json failed with code 40
3

FAILURE: Build failed with an exception.

* Where:
Build file 'my workspace\build.gradle
' line: 39

* What went wrong:
A problem occurred evaluating root project 'Impurity Capes'.
> java.lang.NullPointerException (no error message)

"failed with code 403" means forbidden access, but I could access this from my browser and even tried a VPN.

Edited by Reflxction
Link to comment
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.
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.