Help, I can't test run my mod!

Started by BestialCreeper on

Topic category: Troubleshooting, bugs, and solutions

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help, I can't test run my mod!

The thing is, it let me test run it one time, but then it broke

It gives me this error:

xecuting gradle command: clean runClient
Build info: MCreator 1.8.1, 64-bit, 3546 MB, Windows 8.1 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Pylo\MCreator181\.\jdk
(c) 2013 Microsoft Corporation. Tutti i diritti riservati.
C:\Pylo\MCreator181\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean runClient 
java.io.FileNotFoundException: C:\Pylo\MCreator181\forge\.gradle\gradle.log (Accesso negato)
   at java.io.FileOutputStream.open0(Native Method)
   at java.io.FileOutputStream.open(FileOutputStream.java:270)
   at java.io.FileOutputStream.(FileOutputStream.java:213)
   at java.io.FileOutputStream.(FileOutputStream.java:162)
   at com.google.common.io.Files.newWriter(Files.java:98)
   at net.minecraftforge.gradle.util.FileLogListenner.(FileLogListenner.java:54)
   at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:143)
   at net.minecraftforge.gradle.common.BasePlugin.apply(BasePlugin.java:91)
   at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)
   at org.gradle.api.internal.plugins.RuleBasedPluginApplicator.applyImperative(RuleBasedPluginApplicator.java:43)
   at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:137)
   at org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:112)
   at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyType(DefaultObjectConfigurationAction.java:113)
   at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:36)
   at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:80)
   at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:136)
   at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:46)
   at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:34)
   at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)
   at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)
   at build_3vhbsf8n0vvspd2jot9knkjus.run(C:\Pylo\MCreator181\forge\build.gradle:10)
   at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
   at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:177)
   at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
   at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:182)
   at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:38)
   at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:25)
   at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
   at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:55)
   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)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   at java.lang.Thread.run(Thread.java:748)
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.
org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.
org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.
The message received from the daemon indicates that the daemon has disappeared.
Build request sent: BuildAndStop{id=fd4cc9f7-dc5f-4f28-a3b2-6bfcb107d9f0.1, currentDir=C:\Pylo\MCreator181\forge}
Attempting to read last messages from the daemon log...
Daemon pid: 2832
  log file: C:\Users\User\.mcreator\gradle\daemon\2.14\daemon-2832.out.log
----- Last  20 lines from daemon log file - daemon-2832.out.log -----
   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)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   at java.lang.Thread.run(Thread.java:748)
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.
org.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.Unable to execute command BuildAndStop{id=fd4cc9f7-dc5f-4f28-a3b2-6bfcb107d9f0.1, currentDir=C:\Pylo\MCreator181\forge} from socket connection from /127.0.0.1:1202 to /127.0.0.1:1203. Dispatching the failure to the daemon clientorg.gradle.internal.event.ListenerNotificationException: Failed to notify standard output listener.
----- End of the daemon log -----
FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator181\forge>
Task completed with return code 0 in 26929 milliseconds

 

Anybody has an idea how to fix this?

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I rebootedd it but it didn't…
Sun, 11/25/2018 - 16:22

I rebootedd it but it didn't change anything

Then try to export your…
Sun, 11/25/2018 - 16:30

Then try to export your workspace in .mcr file, reinstall MCreator, import .mcr workspace and try again. It seems that one of the files got locked somehow.

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But doesn't the mod get…
Sun, 11/25/2018 - 16:57

But doesn't the mod get cancelled if I uninstall it...? Sorry, I am kinda new to this.

 

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nvm. How do I export my…
Sun, 11/25/2018 - 18:03

Nvm. How do I export my workspace to ".mcr file" ?

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried to import it back in…
Mon, 11/26/2018 - 11:22

I tried to import it back in but it wont work

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I did. It says that it was…
Mon, 11/26/2018 - 11:43

I did. It says that it was from a previous version of mcreator, when it really was not, and when I click to add even tho "it will remove events" and that kind of stuff, nothing gets added back. No blocks, no textures, no items and no biomes...

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'll jsut redo everything…
Mon, 11/26/2018 - 12:03

I'll jsut redo everything. Also, when I click to insert a model from Techne, it says it isn't installed when it is

Which button do you click…
Mon, 11/26/2018 - 16:15

Which button do you click that you get this message? Can I get a screenshot of it (mark the button on the screenshot)? Thanks!

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It happened again. After I…
Tue, 11/27/2018 - 10:11

It happened again. After I test run the mod, when I close it it keeps saying a gradle process was already running. I waited for 2 hours but it said a gradle process was still running, so I then closed the application. It asked me if I wanted to close it even tho a gradle process was already running, and I clicked yes, since the gradle process was running from hours without actually doing anything in the console. When I restarted it, everything seemed to work right, but when I tried to play test it it gave me the same error that made me begin this post in the first place. If I reinstall it this will more likely happen again after I test run the mod, and I'd also have to redo everything since even when I export and import back the workspace it doesn't work and it imporst back either 1 or 2 biomes or nothing at all. I don't want to redo everything AGAIN!

Do you run multiple…
Tue, 11/27/2018 - 15:52

Do you run multiple MCreators at once? It does not import everything as you forcefully close MCreator.

At which point gets the Gradle process stuck? What are the console contents when it gets stuck?