cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

My java application gives a 500 error, only when I attach the agent to it

melchor_brondo
Newcomer

Hi, my java application works without issue, we use cassandra as our DB, It is deployed on elastic beanstalk, and I deployed it using a jar file, when I install dynatrace and change the command line the following error appears every time I hit my application. This only happens if I change the java command line to use Dynatrace agent.

{"Status":"INTERNAL_SERVER_ERROR","Message":"Handler dispatch failed; nested exception is java.lang.VerifyError: (class: com/datastax/driver/core/BoundStatement, method: setShort signature: (Ljava/lang/String;S)Lcom/datastax/driver/core/BoundStatement;) Expecting to find object/array on stack"}

2 REPLIES 2

melchor_brondo
Newcomer

Workaround: Disabling the cassandra sensor in my agent group

harald_berger
Dynatrace Pro
Dynatrace Pro

Hi,

Please compare your driver version with that mentioned in the release notes. Most likely you are using an unsupported version.

Best

Harry