Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URI is not hierarchical exception from MemberConfigurationService while building the project #100

Open
balajimore opened this issue May 20, 2019 · 0 comments

Comments

@balajimore
Copy link

I think we should use ResourceAsStream here because of the membership-service.conf exist inside the Jar, while gradlew build starting the test cases.

Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
	at java.io.File.<init>(File.java:418) ~[?:1.8.0_171]
	at com.r3.businessnetworks.membership.flows.ConfigUtils.loadConfig(ConfigUtils.kt:16) ~[membership-service-2.0.jar:?]
	at com.r3.businessnetworks.membership.flows.member.service.MemberConfigurationService.<init>(MemberConfigurationService.kt:25) ~[membership-service-2.0.jar:?]

else ConfigFactory.parseFile(File(ConfigUtils::class.java.classLoader.getResource(propertiesFileName).toURI()))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant