bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de.INVALID>
Subject Re: test failure with latest weaver
Date Sat, 12 May 2018 19:03:46 GMT
 I was building from SVN as this is still the repo declared as main repo on the commons page.
Did this get moved? Is SVN not the right one anymore?
LieGrue,strub

    On Saturday, 12 May 2018, 16:16:24 CEST, Matt Benson <gudnabrsam@gmail.com> wrote:
 
 
 A few weird things:

* I had published a snapshot of weaver to the Apache snapshots repo so
assuming your settings included it you should have been able to pick it up
from there.
* It sounds like you're running into
https://issues.apache.org/jira/browse/WEAVER-23, but as you can see in
JIRA, I thought I had fixed that.

One question: you are building from gitbox or GitHub rather than SVN,
correct?

Matt

On Sat, May 12, 2018, 7:51 AM Mark Struberg <struberg@yahoo.de.invalid>
wrote:

> Hi folks!
> I tried to compile the bv2 branch today and got a weirdly looking
> error.First I had to compile the latest commons-weaver-1.4-snapshot
> myself.Did that and also deployed upstream.
> When I tried to run the bval bv2 build then it now failed with a cryptic
> message:
> ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 0.003 s <<< FAILURE! - in
> org.apache.bval.constraints.DecimalMinMaxValidatorsTest
> [ERROR] org.apache.bval.constraints.DecimalMinMaxValidatorsTest  Time
> elapsed: 0.003 s  <<< ERROR!
> javax.validation.ValidationException: Cannot instantiate
> org.apache.bval.jsr.ApacheValidatorFactory
> Caused by: java.lang.VerifyError:
> Bad type on operand stack
> Exception Details:
>  Location:
>
> org/apache/bval/jsr/util/AnnotationsManager.lambda$readAttributes$1(Lorg/apache/bval/util/Lazy;Ljava/lang/annotation/Annotation;Ljava/lang/reflect/Method;)V
> @64: invokestatic
>  Reason:
>    Type 'java/lang/Object' (current frame, stack[1]) is not assignable to
> 'java/lang/Throwable'
>  Current Frame:
>    bci: @64
>    flags: { }
>    locals: { 'org/apache/bval/util/Lazy',
> 'java/lang/annotation/Annotation', 'java/lang/reflect/Method', integer,
> 'java/lang/Object' }
>    stack: { 'java/util/function/BiFunction', 'java/lang/Object',
> 'java/lang/String', '[Ljava/lang/Object;' }
>  Bytecode:
>    0x0000000: 2c04 b803 883e 2ab6 00a5 c000 112c b600
>    0x0000010: a62c 2b03 bd00 43b6 00a7 b900 2903 0057
>    0x0000020: 1d99 003f 2c03 b803 8857 a700 363a 04ba
>    0x0000030: 00ab 0000 1904 12ac 04bd 0043 5903 2b53
>    0x0000040: b800 ad57 1d99 001b 2c03 b803 8857 a700
>    0x0000050: 123a 051d 9900 092c 03b8 0388 5719 05bf
>    0x0000060: b1
>  Exception Handler Table:
>    bci [6, 32] => handler: 45
>    bci [6, 32] => handler: 45
>    bci [6, 32] => handler: 45
>    bci [6, 32] => handler: 81
>    bci [45, 68] => handler: 81
>    bci [81, 83] => handler: 81
>  Stackmap Table:
>
> full_frame(@45,{Object[#2],Object[#24],Object[#111],Integer},{Object[#67]})
>    same_locals_1_stack_item_frame(@81,Object[#352])
>    append_frame(@93,Top,Object[#352])
>    chop_frame(@96,2)
>
>
> I am using standard OpenJDK on Fedora28.struberg@stehtnix bval]$ mvn
> -version
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T21:39:06+02:00)
> Maven home: /opt/apache/maven
> Java version: 1.8.0_171, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-4.b10.fc28.x86_64/jre
>
>
>
> anybody has an idea what causes those problems?
> txs and LieGrue,strub
>
  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message