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])

Coderanch | arushi tomar | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    using AWS APIs - Exception in thread "main" java.lang.VerifyError: Bad type on operand stack

    Coderanch | 2 years ago | arushi tomar
    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])
  2. 0

    using AWS APIs - Exception in thread main java.lang.VerifyError: Bad type on operand stack (Java in General forum at JavaRanch)

    coderanch.com | 2 years ago
    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])
  3. 0

    using AWS APIs - Exception in thread main java.lang.VerifyError: Bad type on operand stack (Java in General forum at JavaRanch)

    coderanch.com | 1 year ago
    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])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. AWS Java SDK for Amazon EC2
      StartInstancesRequest.main
      1. com.amazonaws.services.ec2.model.StartInstancesRequest.authentication(StartInstancesRequest.java:38)
      2. com.amazonaws.services.ec2.model.StartInstancesRequest.main(StartInstancesRequest.java:45)
      2 frames