A problem occurred evaluating root project 'microservices-pact'.

442 views
Skip to first unread message

dev.opens...@gmail.com

unread,
May 17, 2017, 10:11:18 AM5/17/17
to Pact Support
Hi,

Installed one application from GIT and the name of the topic is 'Spring Boot Microservices + Pact-JVM'.
Found one issue after running command
'$ gradlew test'

Details are as below.
------------------------------------

FAILURE: Build failed with an exception.
                           
* Where:                   
Build file 'C:\Softwares\GIT-Apps\microservices-pact\build.gradle' line: 34
                           
* What went wrong:         
A problem occurred evaluating root project 'microservices-pact'.
> null\number (The system cannot find the path specified)
                           
* Try:                     
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
                           
BUILD FAILED            

--------------------------------------------
After analyzing the file 'build.gradle', it was found that the issue is talking about a parameter 'versionFilePath', the code snippet is as below.

                

Not sure how to fix the issue as code at line # 30 trying to initialize related variable.
It looks like NULL has been assigned to 'versionFilePath'.

Anyone please guide me how to debug/fix the code.


Thanks.





Auto Generated Inline Image 1

Ronald Holshausen

unread,
May 17, 2017, 7:41:26 PM5/17/17
to dev.opens...@gmail.com, Pact Support
This is not related to Pact, it is an issue with your environment. Line 30 is setting versionFilePath to the value of the environment variable VERSION_FILE_PATH, which I assume is not set in your environment, hence the NULL value.

--
Pact-Support email group is being deprecated, please use StackOverflow instead to help make questions and answers more visible: http://stackoverflow.com/questions/tagged/pact
---
You received this message because you are subscribed to the Google Groups "Pact Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pact-support...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Ronald Holshausen

Senior Software Engineer

unnamed.png


Phone:     0413 162 439

LinkedIn: https://www.linkedin.com/in/ronald-holshausen/

Twitter:     @RHolshausen


This email is intended solely for the use of the addressee and may contain information that is confidential or privileged. If you receive this email in error please notify the sender and delete the email immediately.


Michel Boudreau

unread,
May 17, 2017, 8:06:18 PM5/17/17
to Ronald Holshausen, dev.opens...@gmail.com, Pact Support
Also, if you have any other questions related to Pact, please ask them on our StackOverflow page: http://stackoverflow.com/questions/tagged/pact

Thanks.
Reply all
Reply to author
Forward
0 new messages