java.lang.VerifyError

Bad type on operand stack Exception Details: Location: com/amazonaws/services/ec2/AmazonEC2Client.startInstances(Lcom/amazonaws/services/ec2/model/StartInstancesRequest;)Lcom/amazonaws/services/ec2/model/StartInstancesResult; @2: invokevirtual Reason: Type 'com/amazonaws/services/ec2/model/StartInstancesRequest' (current frame, stack[1]) is not assignable to 'com/amazonaws/AmazonWebServiceRequest' Current Frame: bci: @2 flags: { } locals: { 'com/amazonaws/services/ec2/AmazonEC2Client', 'com/amazonaws/services/ec2/model/StartInstancesRequest' } stack: { 'com/amazonaws/services/ec2/AmazonEC2Client', 'com/amazonaws/services/ec2/model/StartInstancesRequest' } Bytecode: 0000000: 2a2b b600 1e4d 2cb6 001f 4e2d b200 20b6 0000010: 0021 013a 0401 3a05 2db2 0022 b600 21bb 0000020: 02b6 59b7 02b7 2a2b b700 25c0 02b8 b602 0000030: b93a 0419 042d b900 2802 002d b200 22b6 0000040: 0029 a700 0f3a 062d b200 22b6 0029 1906 0000050: bf2a 1904 bb02 ba59 b702 bb2c b700 2a3a 0000060: 0519 05b6 0032 c002 bc3a 062a 2d19 0419 0000070: 05b6 002b 1906 b03a 072a 2d19 0419 05b6 0000080: 002b 1907 bf Exception Handler Table: bci [31, 59] => handler: 69 bci [69, 71] => handler: 69 bci [24, 107] => handler: 119 bci [119, 121] => handler: 119 Stackmap Table: full_frame(@69,{Object[#1319],Object[#2045],Object[#1321],Object[#1322],Object[#1323],Object[#1334]},{Object[#1324]}) same_frame(@81) same_locals_1_stack_item_frame(@119,Object[#1324])

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.VerifyError: Bad type on operand stack Exception Details: Location: com/amazonaws/services/ec2/AmazonEC2Client.startInstances(Lcom/amazonaws/services/ec2/model/StartInstancesRequest;)Lcom/amazonaws/services/ec2/model/StartInstancesResult; @2: invokevirtual Reason: Type 'com/amazonaws/services/ec2/model/StartInstancesRequest' (current frame, stack[1]) is not assignable to 'com/amazonaws/AmazonWebServiceRequest' Current Frame: bci: @2 flags: { } locals: { 'com/amazonaws/services/ec2/AmazonEC2Client', 'com/amazonaws/services/ec2/model/StartInstancesRequest' } stack: { 'com/amazonaws/services/ec2/AmazonEC2Client', 'com/amazonaws/services/ec2/model/StartInstancesRequest' } Bytecode: 0000000: 2a2b b600 1e4d 2cb6 001f 4e2d b200 20b6 0000010: 0021 013a 0401 3a05 2db2 0022 b600 21bb 0000020: 02b6 59b7 02b7 2a2b b700 25c0 02b8 b602 0000030: b93a 0419 042d b900 2802 002d b200 22b6 0000040: 0029 a700 0f3a 062d b200 22b6 0029 1906 0000050: bf2a 1904 bb02 ba59 b702 bb2c b700 2a3a 0000060: 0519 05b6 0032 c002 bc3a 062a 2d19 0419 0000070: 05b6 002b 1906 b03a 072a 2d19 0419 05b6 0000080: 002b 1907 bf Exception Handler Table: bci [31, 59] => handler: 69 bci [69, 71] => handler: 69 bci [24, 107] => handler: 119 bci [119, 121] => handler: 119 Stackmap Table: full_frame(@69,{Object[#1319],Object[#2045],Object[#1321],Object[#1322],Object[#1323],Object[#1334]},{Object[#1324]}) same_frame(@81) same_locals_1_stack_item_frame(@119,Object[#1324]) at com.amazonaws.services.ec2.model.StartInstancesRequest.authentication(StartInstancesRequest.java:38) at com.amazonaws.services.ec2.model.StartInstancesRequest.main(StartInstancesRequest.java:45)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.