You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/03/16 22:39:38 UTC
[jira] [Commented] (SLIDER-818) TestAgentClientProvider2 failing
with "error exists in bytecode"
[ https://issues.apache.org/jira/browse/SLIDER-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14364005#comment-14364005 ]
Steve Loughran commented on SLIDER-818:
---------------------------------------
{code}
testGetCommandJson(org.apache.slider.providers.agent.TestAgentClientProvider2) Time elapsed: 0.023 sec <<< ERROR!
java.lang.VerifyError: Bad <init> method call from inside of a branch
Exception Details:
Location:
org/apache/slider/providers/AbstractClientProvider.<init>(Lorg/powermock/core/IndicateReloadClass;)V @42: invokespecial
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2a2b 4e4d 1300 63b8 0022 04bd 000b 5903
0000010: 2d53 1301 82b8 0039 b800 673a 0519 05b2
0000020: 0031 a500 0e2a 01c0 0069 b700 6ca7 000a
0000030: 2c2d b700 6c01 57b1
Stackmap Table:
full_frame(@48,{UninitializedThis,Object[#105],UninitializedThis,Object[#105],Top,Object[#11]},{})
full_frame(@55,{Object[#2],Object[#105],Object[#2],Object[#105],Top,Object[#11]},{})
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at javassist.runtime.Desc.getClassObject(Desc.java:43)
at javassist.runtime.Desc.getClassType(Desc.java:152)
at javassist.runtime.Desc.getType(Desc.java:122)
at javassist.runtime.Desc.getType(Desc.java:78)
at org.apache.slider.providers.agent.TestAgentClientProvider2.testGetCommandJson(TestAgentClientProvider2.java:116)
{code}
> TestAgentClientProvider2 failing with "error exists in bytecode"
> ----------------------------------------------------------------
>
> Key: SLIDER-818
> URL: https://issues.apache.org/jira/browse/SLIDER-818
> Project: Slider
> Issue Type: Bug
> Components: test
> Affects Versions: Slider 0.80
> Environment: java version "1.7.0_67"
> Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Minor
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> JVM verify error raised trying to run {{TestAgentClientProvider2}}; this is a test which uses mocking to do things.
> Error: {{java.lang.VerifyError: Bad <init> method call from inside of a branch}}
> # Searches imply this is JVM specific, and updating the JVM will make it go away
> # this a test-time exception, not a runtime one
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)