[hibernate-issues] [JIRA] (HV-1793) Update JavaMoney dependency to MR1 of JSR354

Guillaume Smet (JIRA) jira at hibernate.atlassian.net
Thu Jul 23 12:37:39 EDT 2020


Guillaume Smet ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A71e31052-f0d7-46e3-a9d7-8b9acd6998d8 ) *commented* on HV-1793 ( https://hibernate.atlassian.net/browse/HV-1793?atlOrigin=eyJpIjoiZGNmYTE3YTdiYzM1NDdjNjlmMmYyN2E5YjU2NzQ5N2MiLCJwIjoiaiJ9 )

Re: Update JavaMoney dependency to MR1 of JSR354 ( https://hibernate.atlassian.net/browse/HV-1793?atlOrigin=eyJpIjoiZGNmYTE3YTdiYzM1NDdjNjlmMmYyN2E5YjU2NzQ5N2MiLCJwIjoiaiJ9 )

OK and now, it doesn't work with WildFly either.

[2020-29-23 06:29:54.112, 20101]ERROR[ default task-1](DefaultMonetaryContextFactory.java:62) - Error evaluating default NumericContext, using default (NumericContext.NUM64).
java.lang.NullPointerException
	at org.javamoney.moneta.spi.MonetaryConfig.getConfig(MonetaryConfig.java:106)
	at org.javamoney.moneta.DefaultMonetaryContextFactory.getContext(DefaultMonetaryContextFactory.java:53)
	at org.javamoney.moneta.Money.<clinit>(Money.java:74)
	at org.hibernate.validator.integration.wildfly.OptionalConstraintsIT.canUseJavaMoneyBasedConstraint(OptionalConstraintsIT.java:70)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
	at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:182)
	at org.jboss.arquillian.testng.Arquillian$2.invoke(Arquillian.java:173)
	at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

It looked like an easy win but in the end I really don't have the time to try to understand what broke all the integrations.

If someone is interested in trying to understand what's going on, there is a PR here for the 6.1 branch where the WildFly tests are enabled: https://github.com/hibernate/hibernate-validator/pull/1117.

( https://hibernate.atlassian.net/browse/HV-1793#add-comment?atlOrigin=eyJpIjoiZGNmYTE3YTdiYzM1NDdjNjlmMmYyN2E5YjU2NzQ5N2MiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HV-1793#add-comment?atlOrigin=eyJpIjoiZGNmYTE3YTdiYzM1NDdjNjlmMmYyN2E5YjU2NzQ5N2MiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100134- sha1:0043a36 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200723/ed70b631/attachment.html 


More information about the hibernate-issues mailing list