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

    • SLOT DANA : Situs Slot Gacor Nagaliga Deposit Via DANA 10.000
    • NAGALIGA :  Agen Taruhan Mix Parlay Bola EURO Terpercaya Di Indonesia Nagaliga merupakan situs taruhan  judi bola euro dan slot gacor terbaik menyediakan link alternatif terbaik dan pastinya bisa di akses di seluruh penjuru dunia. Ayo meriahkan EURO bersama situs Nagaliga kemenangan berapapun pasti dibayar lunas tanpa ada kendala.
    • I have no idea how a UI mod crashed a whole world but HUGE props to you man, just saved me +2 months of progress!  
    • So i know for a fact this has been asked before but Render stuff troubles me a little and i didnt find any answer for recent version. I have a custom nausea effect. Currently i add both my nausea effect and the vanilla one for the effect. But the problem is that when I open the inventory, both are listed, while I'd only want mine to show up (both in the inv and on the GUI)   I've arrived to the GameRender (on joined/net/minecraft/client) and also found shaders on client-extra/assets/minecraft/shaders/post and client-extra/assets/minecraft/shaders/program but I'm lost. I understand that its like a regular screen, where I'd render stuff "over" the game depending on data on the server, but If someone could point to the right client and server classes that i can read to see how i can manage this or any tip would be apreciated
    • Let me try and help you with love spells, traditional healing, native healing, fortune telling, witchcraft, psychic readings, black magic, voodoo, herbalist healing, or any other service your may desire within the realm of african native healing, the spirits and the ancestors. I am a sangoma and healer. I could help you to connect with the ancestors , interpret dreams, diagnose illness through divination with bones, and help you heal both physical and spiritual illness. We facilitate the deepening of your relationship to the spirit world and the ancestors. Working in partnership with one\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’s ancestors is a gift representing a close link with the spirit realm as a mediator between the worlds.*   Witchdoctors, or sorcerers, are often purveyors of mutis and charms that cause harm to people. we believe that we are here for only one purpose, to heal through love and compassion.*   African people share a common understanding of the importance of ancestors in daily life. When they have lost touch with their ancestors, illness may result or bad luck. Then a traditional healer, or sangoma, is sought out who may prescribe herbs, changes in lifestyle, a career change, or changes in relationships. The client may also be told to perform a ceremony or purification ritual to appease the ancestors.*   Let us solve your problems using powerful African traditional methods. We believe that our ancestors and spirits give us enlightenment, wisdom, divine guidance, enabling us to overcome obstacles holding your life back. Our knowledge has been passed down through centuries, being refined along the way from generation to generation. We believe in the occult, the paranormal, the spirit world, the mystic world.*   The services here are based on the African Tradition Value system/religion,where we believe the ancestors and spirits play a very important role in society. The ancestors and spirits give guidance and counsel in society. They could enable us to see into the future and give solutions to the problems affecting us. We use rituals, divination, spells, chants and prayers to enable us tackle the task before us.*   I have experience in helping and guiding many people from all over the world. My psychic abilities may help you answer and resolve many unanswered questions
  • Topics

×
×
  • Create New...

Important Information

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