Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

New Laptop, New Ideas, New Problems...


Delupara
 Share

Recommended Posts

I already know how to setup forge, but this is a problem I never encountered before (mainly because I was using a single disk). setDecompWorkspace works fine, but eclipse doesn't. Here is my powershell logs:

PS D:\Coding\mdk> .\gradlew eclipse
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
C:\Users\jerem\.gradle\caches\minecraft\net\minecraftforge\forge\1.12.2-14.23.2.2611\userdev\dev.json could not be parsed

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'mdk'.
> 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: 13.509 secs
PS D:\Coding\mdk>


Using latest forge mdk. I'm a little lost at this point, a hand would be appreciated.

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Link to comment
Share on other sites

15 minutes ago, xModRed said:

If you are trying to setupDecompWorkspace and create the eclipse environment you could just do them together. Try if this works for you.


gradlew setupDecompWorkspace eclipse

 

I already did setupDecompWorkspace though and it worked.

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Link to comment
Share on other sites

  • 3 weeks later...
On 2/4/2018 at 10:51 PM, jabelar said:

I'm not sure but I think it can happen if you don't have admin permissions. Are your running the script from a console with administrator rights?

running powershell under admin. I though maybe I should of tried gradlew.bat instead of gradlew but no the exact same output occurs.

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Link to comment
Share on other sites

Spoiler

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html.
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
C:\Users\jerem\.gradle\caches\minecraft\net\minecraftforge\forge\1.12.2-14.23.2.2611\userdev\dev.json could not be parsed

FAILURE: Build failed with an exception.

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

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

* Exception is:
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'mdk'.
        at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure(LifecycleProjectEvaluator.java:79)
        at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:74)
        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:61)
        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:540)
        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:93)
        at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)
        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
        at org.gradle.initialization.DefaultGradleLauncher$2.run(DefaultGradleLauncher.java:124)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:53)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:121)
        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:98)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:92)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:63)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:92)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:83)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:99)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:48)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:81)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:46)
        at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
        at org.gradle.util.Swapper.swap(Swapper.java:38)
        at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:40)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
        at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
        at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
        at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
        at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:237)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
        at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
Caused by: java.lang.NullPointerException
        at net.minecraftforge.gradle.util.json.JsonFactory.loadVersion(JsonFactory.java:75)
        at net.minecraftforge.gradle.util.json.JsonFactory.loadVersion(JsonFactory.java:94)
        at net.minecraftforge.gradle.common.BasePlugin.parseAndStoreVersion(BasePlugin.java:802)
        at net.minecraftforge.gradle.user.patcherUser.PatcherUserBasePlugin.afterEvaluate(PatcherUserBasePlugin.java:172)
        at net.minecraftforge.gradle.user.patcherUser.forge.ForgePlugin.afterEvaluate(ForgePlugin.java:138)
        at net.minecraftforge.gradle.common.BasePlugin$2.execute(BasePlugin.java:207)
        at net.minecraftforge.gradle.common.BasePlugin$2.execute(BasePlugin.java:199)
        at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
        at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
        at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
        at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
        at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
        at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
        at com.sun.proxy.$Proxy11.afterEvaluate(Unknown Source)
        at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:67)
        ... 52 more


BUILD FAILED

Total time: 6.583 secs

 

This is the updated output with stack trace before someone asks about it.

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Link to comment
Share on other sites

What java are you using?

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

1 minute ago, Delupara said:

jdk 1.8.0_161

downgrade to jdk 1.8.0_151

see this post for instructions

Minecraft Forge Server wont start when trying to add ram(MAC)

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

5 minutes ago, Cadiboo said:

downgrade to jdk 1.8.0_151

see this post for instructions

Minecraft Forge Server wont start when trying to add ram(MAC)

That problem isn't remotely similar and also never even got resolved, so I'm not even sure if it will fix it. I'm willing to try anything though.

regardless I can't find a legitimate download link for jdk 1.8.0_151
If you know where it is I'd appreciate it.

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Link to comment
Share on other sites

2 minutes ago, Delupara said:

regardless I can't find a legitimate download link for jdk 1.8.0_151
If you know where it is I'd appreciate it.

... the reason I sent you to that post is because It has a link to that JDK

 

Edited by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

2 minutes ago, Cadiboo said:

... the reason I sent you to that post is because It has a link to that JDK

 

that's not where you sent me bud...

You sent me here.


Although its in the same thread I'm not gonna read it entirely especially since it's, once again, not relevant to my issue. But yeah ill try it out brb

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Link to comment
Share on other sites

25 minutes ago, Delupara said:

That problem isn't remotely similar

19 minutes ago, Delupara said:

not relevant to my issue

The only problem that I can see with this thread is that you have the wrong Java version.
The only problem that I can see with the other thread is that they have the wrong Java version.
If I were you I would read the other thread completely and see if it fixes your issue.

I could be wrong but I'm pretty sure that I'm not.

Edited by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

14 hours ago, Cadiboo said:

The only problem that I can see with this thread is that you have the wrong Java version.
The only problem that I can see with the other thread is that they have the wrong Java version.
If I were you I would read the other thread completely and see if it fixes your issue.

I could be wrong but I'm pretty sure that I'm not.

I actually have. Cant fix an issue that doesn't even exist bruh. I dont need to add any ram to my java because any amount will crash.
Also this is mac talk not windows. 

 

Also changing versions doesn't change the output.

Edited by Delupara

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Link to comment
Share on other sites

Minecraft, Forge and Gradlew all use Java 8u151.

Having a different Java version will cause the fatal java error that you posted.

Java is the same across all operating systems. That is the entire point of the language.

You never said that you weren't on a mac.

The title of the thread is misleading as his problem was that he was using the wrong java version.

3 hours ago, Delupara said:

Also changing versions doesn't change the output.

Does this mean that you have successfully downgraded to java 8u151 and DELETED every other version of Java?
If not this article might help you
https://it.uoregon.edu/reverting-java-windows

Edited by Cadiboo

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

1 hour ago, loordgek said:

 

 

Not in my experience but ok

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

22 hours ago, Cadiboo said:

Minecraft, Forge and Gradlew all use Java

8u151.

Ok so? Java versions are backwards compatible for the most part, especially between patch versions. otherwise everything would brake if oracle made any changes. Besides, I HAVE changed it. Not working m'dude. Unless registry tweaks are needed to fully downgrade in which case the thread you linked wont do squat.

Quote

Having a different Java version will cause the fatal java error that you posted.

Where did you read this? I can run 1999 applets that uses java 5 or some shit (Haven't checked but I know for a fact that applets in general are old as java itself so). How do you explain this?

Quote

Java is the same across all operating systems. That is the entire point of the language.

I know jvm is cross platform. But most of the solution are not in java, its in the operating system. In Other words any other information (For example how to fully downgrade) is pointless and maybe even misleading

Quote

You never said that you weren't on a mac.

Tell me how running the following command in makes sense (On a mac that is):

 

PS D:\Coding\mdk> .\gradlew eclipse

 

If it does, I just learned that mac cmd was in fact a powershell!

But yeah I dont touch the probably rusted by this point bitten apple from a mile away

 

Quote

The title of the thread is misleading as his problem was that he was using the wrong java version.

The Problem never even got resolve so how do you know what the problem is?

Quote

Does this mean that you have successfully downgraded to java 8u151 and DELETED every other version of Java?
If not this article might help you
https://it.uoregon.edu/reverting-java-windows

See? That's the right link to sent me. Not an unrelated mac thread. Though may I point out that I've done everything in there. Still dont work bruh.

Edited by Delupara

When they say your code doesn't follow convention but ur edgy so u dont care

d-d-d-dab on them haterz

 

Link to comment
Share on other sites

Don't listen to Cadiboo saying "downgrade java to 8u151". He tells that to everybody having any sort of issue.

 

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Aight, sorry for telling you to downgrade java, I've had a lot of problems (Including one on a Windows 10 computer that gave the a very similar error) that were solved solely by downgrading java.

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

Have you tried:

 

gradlew cleanCache clean setupDecompWorkspace --refresh-dependencies

 

It looks like it can't parse a file in the cache properly, and this will force it to rebuild the cache. 

Edited by Cloudy
My memory was wrong so updated using googlefu
Link to comment
Share on other sites

I am still suspicious that it is related to something with administrator rights (i.e. not having where needed). That type of error is specifically mentioned in other discussions (general gradle discussions) as being the culprit. I'm not sure what might have changed to make this start popping up more. 

 

 

However, the rest of your log has the line:

C:\Users\jerem\.gradle\caches\minecraft\net\minecraftforge\forge\1.12.2-14.23.2.2611\userdev\dev.json could not be parsed

.

So have you looked more closely at that JSON file? Is it there? Is there a problem accessing it? Is it malformed?

 

For the "honor the JVM" thing, it seems that there are various scenarios that cause it. But it is usually possible to figure out based on the rest of the error message. Some of it has to do with your java home evironmental variables. Some of it has to do with admin privileges. Some of it is other things.

 

This is a gradle error though, so maybe there are gradle support available as well that can advise (even though it seems to be a Forge MDK file that is causing your problem).

Edited by jabelar

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

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.

Guest
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.