Guillaume Smet (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HV-1793 (
https://hibernate.atlassian.net/browse/HV-1793?atlOrigin=eyJpIjoiZGNmYTE3...
)
Re: Update JavaMoney dependency to MR1 of JSR354 (
https://hibernate.atlassian.net/browse/HV-1793?atlOrigin=eyJpIjoiZGNmYTE3...
)
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=eyJp...
) Add Comment (
https://hibernate.atlassian.net/browse/HV-1793#add-comment?atlOrigin=eyJp...
)
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....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100134- sha1:0043a36 )