Jump to content

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


Emby

Recommended Posts

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

Link to comment
Share on other sites

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.

 

 

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

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.

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • CubeHaven is a SMP server with unique features that can't be found on the majority of other servers! Java: MC.CUBEHAVEN.NET Bedrock: MC.CUBEHAVEN.NET:19132 3 different stores: - CubeHaven Store: Our store to purchase using real money. - Bitcoin Store: Store for Bitcoin. Bitcoin can be earned from playing the server. Giving options for players if they want to spend real money or grind to obtain exclusive packages. - Black Market: A hidden store for trading that operates outside our traditional stores, like custom enchantments, exclusive items and more. Some of our features include: Rank Up: Progress through different ranks to unlock new privileges and perks. 📈 Skills: RPG-style skill system that enhances your gaming experience! 🎮 Leaderboards: Compete and shine! Top players are rewarded weekly! 🏆 Random Teleporter: Travel instantly across different worlds with a click! 🌐 Custom World Generation: Beautifully generated world. 🌍 Dungeons: Explore challenging and rewarding dungeons filled with treasures and monsters. 🏰 Kits: Unlock ranks and gain access to various kits. 🛠️ Fishing Tournament: Compete in a friendly fishing tournament! 🎣 Chat Games: Enjoy games right within the chat! 🎲 Minions: Get some help from your loyal minions. 👥 Piñata Party: Enjoy a festive party with Piñatas! 🎉 Quests: Over 1000 quests that you can complete! 📜 Bounty Hunter: Set a bounty on a player's head. 💰 Tags: Displayed on nametags, in the tab list, and in chat. 🏷️ Coinflip: Bet with other players on coin toss outcomes, victory, or defeat! 🟢 Invisible & Glowing Frames: Hide your frames for a cleaner look or apply a glow to it for a beautiful look. 🔲✨[ Player Warp: Set your own warp points for other players to teleport to. 🌟 Display Shop: Create your own shop and sell to other players! 🛒 Item Skins: Customize your items with unique skins. 🎨 Pets: Your cute loyal companion to follow you wherever you go! 🐾 Cosmetics: Enhance the look of your character with beautiful cosmetics! 💄 XP-Bottle: Store your exp safely in a bottle for later use! 🍶 Chest & Inventory Sorting: Keep your items neatly sorted in your inventory or chest! 📦 Glowing: Stand out from other players with a colorful glow! ✨ Player Particles: Over 100 unique particle effects to show off. 🎇 Portable Inventories: Over virtual inventories with ease. 🧳 And a lot more! Become part of our growing community today! Discord: https://cubehaven.net/discord Java: MC.CUBEHAVEN.NET Bedrock: MC.CUBEHAVEN.NET:19132
    • # Problematic frame: # C [libopenal.so+0x9fb4d] It is always the same issue - this refers to the Linux OS - so your system may prevent Java from working   I am not familiar with Linux - check for similar/related issues  
    • Create a new instance and start with Embeddium/Oculus and Valkyrien Skies Try different builds of Embeddium/Valkyrien Skies until you find a working combination - then add the rest of your mods one by one or in groups
    • There are some mods missing Missing or unsupported mandatory dependencies: Mod ID: 'octolib', Requested by: 'ramcompat', Expected range: '[0.1,)', Actual version: '[MISSING]' Mod ID: 'forge', Requested by: 'tfc', Expected range: '[47.1.3,47.1.6),[47.1.81,47.2.0),[47.2.6,)', Actual version: '47.2.0' Mod ID: 'relics', Requested by: 'ramcompat', Expected range: '[0.6.5,)', Actual version: '[MISSING]' Add octolib and relics and update tfc to build 47.2.6
    • Make a test with adding LMFT https://www.curseforge.com/minecraft/mc-mods/lmft
  • Topics

×
×
  • Create New...

Important Information

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