Milestone 2 run failure

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:qmoney:run’.

Process ‘command ‘/usr/lib/jvm/java-8-openjdk-amd64/bin/java’’ finished with non-zero exit value

./gradlew run --args=‘trades.json 2020-01-01’ gives the above failure.

Hi @vaibhav28
Looks like you are facing challenges in the current module.

Below is a link to all the FAQ’s for the current module

Below are a few similar topics raised by other users which you might find usefull

Note - This is a BETA Feature,if you find this helpful, kindly let us know.
Feedback link - https://forms.gle/cmxN5pdTXgnwgC986

Kindly mark this as a solution if this has helped you solve your query

Hi @vaibhav28,

It simply means your code has a bug is throwing an exception. There might be a stacktrace before this line which shows the exception and from where it originates. If not, use ./graldew build --info on terminal to so that there is a detailed stacktrace.

Once you have that, you’ll know where your code is going wrong and then you can correct it.

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.