Jump to content

Error 'failed to notify build listener'when doing gradlew setupDecompWorkspace


Recommended Posts

Posted

Hi.

 

I'm trying to download the source for the latest recommended Forge (1.8)

 

I got the zipfile, extracted it to a directory, and now I'm at the point where according to the readme.txt I should run:

 

gradlew setupDevWorkspace

 

and according to various tutorials I should run

 

gradlew setupDecompWorkspace

 

 

Anyway, whatever I do, I get the error listed above -  'failed to notify build listener'

 

Help?

 

Thx

Posted

Well, all the stack traces scroll off the top of the window, but the last one is:

 

> Configuring > 1/1 projectsjava.lang.NullPointerException

        at net.minecraftforge.gradle.FileLogListenner.onOutput(FileLogListenner.

java:58)

        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD

ispatch.java:35)

        at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD

ispatch.java:24)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:83)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:31)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:83)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:31)

        at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocat

ionHandler.invoke(ProxyDispatchAdapter.java:93)

        at com.sun.proxy.$Proxy1.onOutput(Unknown Source)

        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD

ispatch.java:35)

        at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD

ispatch.java:24)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:83)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:31)

        at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocat

ionHandler.invoke(ProxyDispatchAdapter.java:93)

        at com.sun.proxy.$Proxy1.onOutput(Unknown Source)

        at org.gradle.logging.internal.StreamingStyledTextOutput.doAppend(Stream

ingStyledTextOutput.java:54)

        at org.gradle.logging.internal.AbstractStyledTextOutput.text(AbstractSty

ledTextOutput.java:73)

        at org.gradle.logging.internal.StyledTextOutputBackedRenderer$OutputEven

tTextOutputImpl.doLineText(StyledTextOutputBackedRenderer.java:76)

        at org.gradle.logging.internal.AbstractLineChoppingStyledTextOutput.doAp

pend(AbstractLineChoppingStyledTextOutput.java:55)

        at org.gradle.logging.internal.AbstractStyledTextOutput.text(AbstractSty

ledTextOutput.java:73)

        at org.gradle.logging.internal.LogEvent.render(LogEvent.java:40)

        at org.gradle.logging.internal.StyledTextOutputBackedRenderer.onOutput(S

tyledTextOutputBackedRenderer.java:55)

        at org.gradle.logging.internal.ProgressLogEventGenerator.doOutput(Progre

ssLogEventGenerator.java:58)

        at org.gradle.logging.internal.ProgressLogEventGenerator.onOutput(Progre

ssLogEventGenerator.java:48)

        at org.gradle.logging.internal.OutputEventRenderer$2.onOutput(OutputEven

tRenderer.java:128)

        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD

ispatch.java:35)

        at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD

ispatch.java:24)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:83)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:31)

        at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocat

ionHandler.invoke(ProxyDispatchAdapter.java:93)

        at com.sun.proxy.$Proxy0.onOutput(Unknown Source)

        at org.gradle.logging.internal.OutputEventRenderer.onOutput(OutputEventR

enderer.java:175)

        at org.gradle.logging.internal.logback.LogbackLoggingConfigurer$GradleAp

pender.append(LogbackLoggingConfigurer.java:132)

        at org.gradle.logging.internal.logback.LogbackLoggingConfigurer$GradleAp

pender.append(LogbackLoggingConfigurer.java:124)

        at ch.qos.logback.core.AppenderBase.doAppend(AppenderBase.java:85)

        at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(

AppenderAttachableImpl.java:48)

        at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:272)

        at ch.qos.logback.classic.Logger.callAppenders(Logger.java:259)

        at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:

441)

        at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395)

 

        at ch.qos.logback.classic.Logger.info(Logger.java:619)

        at org.gradle.api.logging.Logging$LoggerImpl.lifecycle(Logging.java:92)

        at net.minecraftforge.gradle.common.BasePlugin.afterEvaluate(BasePlugin.

java:195)

        at net.minecraftforge.gradle.user.UserBasePlugin.afterEvaluate(UserBaseP

lugin.java:917)

        at net.minecraftforge.gradle.common.BasePlugin$2.execute(BasePlugin.java

:124)

        at net.minecraftforge.gradle.common.BasePlugin$2.execute(BasePlugin.java

:116)

        at org.gradle.listener.BroadcastDispatch$ActionInvocationHandler.dispatc

h(BroadcastDispatch.java:109)

        at org.gradle.listener.BroadcastDispatch$ActionInvocationHandler.dispatc

h(BroadcastDispatch.java:98)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:83)

        at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java

:31)

        at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocat

ionHandler.invoke(ProxyDispatchAdapter.java:93)

        at com.sun.proxy.$Proxy14.afterEvaluate(Unknown Source)

        at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfte

rEvaluate(LifecycleProjectEvaluator.java:67)

        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(L

ifecycleProjectEvaluator.java:61)

        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProj

ect.java:470)

        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProj

ect.java:79)

        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuil

dConfigurer.java:31)

        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(Default

GradleLauncher.java:128)

        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradle

Launcher.java:105)

        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLaun

cher.java:85)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildCon

troller.run(InProcessBuildActionExecuter.java:81)

        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav

a:33)

        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav

a:24)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce

ssBuildActionExecuter.java:39)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce

ssBuildActionExecuter.java:29)

        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)

        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.jav

a:171)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.

execute(CommandLineActionFactory.java:237)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.

execute(CommandLineActionFactory.java:210)

        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti

meValidationAction.java:35)

        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti

meValidationAction.java:24)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(

CommandLineActionFactory.java:206)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(

CommandLineActionFactory.java:169)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep

ortingAction.java:33)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep

ortingAction.java:22)

        at org.gradle.launcher.Main.doAction(Main.java:33)

        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBoots

trap.java:54)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.j

ava:35)

        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.ja

va:30)

        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)

        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)

:extractMcpData

 

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Failed to notify build listener.

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

 

 

  • 2 weeks later...
Posted

I can't see any evidence of such a thing existing (perhaps this is the problem?)

 

I unzipped the original forge source download to c:\Program Files\Minecraft\Forge

 

Inside that are three directories - eclipse, gradle (no dot)  and src

 

I presume by  "in my project" you mean inside the gradle folder? In there is just a directory called wrapper. There is definitely no directory called .gradle anywhere under the Forge directory, only in my user dir, and there's definitely no gradle.log anywhere on my computer.

Posted

Why not? You have to unzip it somewhere.

 

Anyway, after some experimentation, it seems it doesn't like being unzipped into Program Files. So I unzipped a copy into c:\forge and, yeah, why not, into c:\forge-1.8-11.14.1.1334-src in case that was what you were suggesting the problem was.

 

Now (in both cases) that error has gone away. Gradle.log exists and says that everything has downloaded correctly.

 

I was expecting more in the way of actual .java files mind you. All that's there in src right now is src\main\java\com\example\examplemod\ExampleMod.java - everything else is in a jar file. Is that right? The tute video I was originally working off (admittedly from some time last year, so out of date) seems to suggest I should expect an mcp directory, and a whole bunch of .java files. I've dropped off the end of http://www.minecraftforge.net/wiki/Installation/Source now, and it's not immediately apparent where to go for information on the next stage, or how to check that this stage actually completed correctly.

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Update ColdSweat to the latest build: https://www.curseforge.com/minecraft/mc-mods/cold-sweat/files/6450271
    • Veuillez lire la FAQ (le lien est en haut de la page) et les journaux de publication tels que décrits ici. Cela aidera à déterminer ce qui se passe. Ce sont des forums anglais, j'ai utilisé un traducteur pour essayer de vous aider, j'espère que ça se retrouve bien.
    • I tried adding the Create (6.0.4) mod to my modpack which causes it to crash before it finishes loading. I tried removing the mod Cold Sweat because the error said it failed to load due to something in Create but when I removed it, it kept crashing; and I also tried downgrading Create, but nothing helped. I assume there's an incompatible mod that's causing Create to not load correctly, but I can't find it. launcher_log.txt: https://mclo.gs/kn5Qkk2 debug.log: https://mclo.gs/zIKoAaB crash report: https://mclo.gs/j86C10Y The part of debug.log that I think is the crash (after Create mod already loaded incorrectly): [02May2025 14:52:36.813] [Worker-ResourceReload-2/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: com/simibubi/create/content/redstone/displayLink/DisplayBehaviour Index: 3 Listeners: 0: NORMAL 1: net.minecraftforge.eventbus.EventBus$$Lambda$1770/0x00000008009bc8a0@70223c71 2: ASM: class com.momosoftworks.coldsweat.core.event.PotionRecipes register(Lnet/minecraftforge/fml/event/lifecycle/FMLCommonSetupEvent;)V 3: ASM: class com.momosoftworks.coldsweat.compat.CompatManager$ModEvents setupModEvents(Lnet/minecraftforge/fml/event/lifecycle/FMLCommonSetupEvent;)V java.lang.NoClassDefFoundError: com/simibubi/create/content/redstone/displayLink/DisplayBehaviour at TRANSFORMER/cold_sweat@2.3.12/com.momosoftworks.coldsweat.compat.CompatManager$ModEvents.setupModEvents(CompatManager.java:501) at TRANSFORMER/cold_sweat@2.3.12/com.momosoftworks.coldsweat.compat.__ModEvents_setupModEvents_FMLCommonSetupEvent.invoke(.dynamic) at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) at LAYER PLUGIN/javafmllanguage@1.20.1-47.4.0/net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:121) at LAYER PLUGIN/fmlcore@1.20.1-47.4.0/net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$5(ModContainer.java:127) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Caused by: java.lang.ClassNotFoundException: com.simibubi.create.content.redstone.displayLink.DisplayBehaviour at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:141) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ... 14 more [02May2025 14:52:36.972] [Worker-ResourceReload-2/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Caught exception during event FMLCommonSetupEvent dispatch for modid cold_sweat java.lang.NoClassDefFoundError: com/simibubi/create/content/redstone/displayLink/DisplayBehaviour at com.momosoftworks.coldsweat.compat.CompatManager$ModEvents.setupModEvents(CompatManager.java:501) ~[ColdSweat-2.3.12.jar%23537!/:2.3.12] at com.momosoftworks.coldsweat.compat.__ModEvents_setupModEvents_FMLCommonSetupEvent.invoke(.dynamic) ~[ColdSweat-2.3.12.jar%23537!/:2.3.12] at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2387!/:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2387!/:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2387!/:?] at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:121) ~[javafmllanguage-1.20.1-47.4.0.jar%23784!/:?] at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$5(ModContainer.java:127) ~[fmlcore-1.20.1-47.4.0.jar%23783!/:?] at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] Caused by: java.lang.ClassNotFoundException: com.simibubi.create.content.redstone.displayLink.DisplayBehaviour at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:141) ~[securejarhandler-2.1.10.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?] ... 14 more
    • You would probably be better served looking for support where NeoForge support is given, I believe their discord server.
    • If you copy and paste the java commandline into the terminal, what happens? as in trying to launch it without using the .bat file.
  • Topics

×
×
  • Create New...

Important Information

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