You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <ga...@gmail.com> on 2014/02/25 18:13:37 UTC
[dbcp] test failures
Running 'mvn clean site' with Maven 3.0.5 or 3.2.1 I get a lot of errors
like:
Running org.apache.commons.dbcp2.TestUtils
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 sec
<<< FAILURE! - in org.apache.commons.dbcp2.TestUtils
testClassLoads(org.apache.commons.dbcp2.TestUtils) Time elapsed: 0.001
sec <<< ERROR!
java.lang.VerifyError: Expecting a stackmap frame at branch target 68
Exception Details:
Location:
org/apache/commons/dbcp2/Utils.getMessage(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
@40: ifnull
Reason:
Expected stackmap frame at this location.
Bytecode:
0000000: 033d 11ff ff3e 120f 1100 66b8 0015 b200
0000010: 442a b600 493a 0412 0f11 0067 b800 152b
0000020: 1100 673d 1100 003e c600 1c12 0f1c 1d04
0000030: b800 2411 ffff 3e2b be11 0067 3d11 0001
0000040: 3e9a 003b 1c11 0067 a000 191d 1100 01a0
0000050: 0012 120f 1c1d 04b8 0024 11ff ff3e a700
0000060: 131d 9b00 0f12 0f1c 1d03 b800 2411 ffff
0000070: 3e12 0f11 0068 b800 1519 04b0 1d9b 000f
0000080: 120f 1c1d 03b8 0024 11ff ff3e 120f 1100
0000090: 6ab8 0015 bb00 4d59 1904 b700 503a 0512
00000a0: 0f11 006b b800 1519 052b bb00 5259 b700
00000b0: 5301 b600 57b6 005b b0
Stackmap Table:
append_frame(@121,Object[#75])
same_frame(@148)
at
org.apache.commons.dbcp2.TestUtils.testClassLoads(TestUtils.java:30)
?
Gary
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Re: [dbcp] test failures
Posted by Gary Gregory <ga...@gmail.com>.
Updating the Cobertura plugin fixed this.
Gary
On Tue, Feb 25, 2014 at 12:13 PM, Gary Gregory <ga...@gmail.com>wrote:
> Running 'mvn clean site' with Maven 3.0.5 or 3.2.1 I get a lot of errors
> like:
>
> Running org.apache.commons.dbcp2.TestUtils
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.001 sec
> <<< FAILURE! - in org.apache.commons.dbcp2.TestUtils
> testClassLoads(org.apache.commons.dbcp2.TestUtils) Time elapsed: 0.001
> sec <<< ERROR!
> java.lang.VerifyError: Expecting a stackmap frame at branch target 68
> Exception Details:
> Location:
>
> org/apache/commons/dbcp2/Utils.getMessage(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
> @40: ifnull
> Reason:
> Expected stackmap frame at this location.
> Bytecode:
> 0000000: 033d 11ff ff3e 120f 1100 66b8 0015 b200
> 0000010: 442a b600 493a 0412 0f11 0067 b800 152b
> 0000020: 1100 673d 1100 003e c600 1c12 0f1c 1d04
> 0000030: b800 2411 ffff 3e2b be11 0067 3d11 0001
> 0000040: 3e9a 003b 1c11 0067 a000 191d 1100 01a0
> 0000050: 0012 120f 1c1d 04b8 0024 11ff ff3e a700
> 0000060: 131d 9b00 0f12 0f1c 1d03 b800 2411 ffff
> 0000070: 3e12 0f11 0068 b800 1519 04b0 1d9b 000f
> 0000080: 120f 1c1d 03b8 0024 11ff ff3e 120f 1100
> 0000090: 6ab8 0015 bb00 4d59 1904 b700 503a 0512
> 00000a0: 0f11 006b b800 1519 052b bb00 5259 b700
> 00000b0: 5301 b600 57b6 005b b0
> Stackmap Table:
> append_frame(@121,Object[#75])
> same_frame(@148)
>
> at
> org.apache.commons.dbcp2.TestUtils.testClassLoads(TestUtils.java:30)
>
> ?
>
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory