Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by masoudsc
, 1 year ago
: { 'com/google/protobuf/SingleFieldBuilder', 'com/google/protobuf/Int32Value' } Bytecode: 0x0000000: 2ab4 0023 c700 122a 2bb6 009e b500 122a 0x0000010: b600 3fa7 000f 2ab4 0023 2bb6 009e b600 0x0000020: 8557 2ab0 Stackmap Table: same_frame(@22) same_frame(@34)
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    com/google/datastore/v1/Query$Builder.setLimit(Lcom/google/protobuf/Int32Value$Builder;)Lcom/google/datastore/v1/Query$Builder; @30: invokevirtual
  Reason:
    Type 'com/google/protobuf/Int32Value' (current frame, stack[1]) is not assignable to 'com/google/protobuf/GeneratedMessage'
  Current Frame:
    bci: @30
    flags: { }
    locals: { 'com/google/datastore/v1/Query$Builder', 'com/google/protobuf/Int32Value$Builder' }
    stack: { 'com/google/protobuf/SingleFieldBuilder', 'com/google/protobuf/Int32Value' }
  Bytecode:
    0x0000000: 2ab4 0023 c700 122a 2bb6 009e b500 122a
    0x0000010: b600 3fa7 000f 2ab4 0023 2bb6 009e b600
    0x0000020: 8557 2ab0
  Stackmap Table:
    same_frame(@22)
    same_frame(@34)	at com.google.datastore.v1.Query.toBuilder(Query.java:667)	at com.google.datastore.v1.Query.newBuilder(Query.java:661)	at com.snapchat.datastore.entity.DataStoreEntity$class.queryAll(DataStoreEntity.scala:20)	at com.snapchat.datastore.entity.FriendLink$.queryAll(FriendLink.scala:7)	at com.snapchat.dataflow.friendgraph.DumpFriendLinksFromDataStore.build(DumpFriendLinksFromDataStore.scala:50)	at com.snapchat.dataflow.friendgraph.DumpFriendLinksFromDataStore$.main(DumpFriendLinksFromDataStore.scala:90)	at com.snapchat.dataflow.friendgraph.DumpFriendLinksFromDataStore.main(DumpFriendLinksFromDataStore.scala)