class java.lang.Integer cannot be cast to class java.lang.String

Description

Executing this MSSQL query is not working:

Results in

class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap')

Activity

Show:

Jon ClausenMarch 21, 2025 at 10:20 PM

This is resolved in the latest snapshot.

Harry KleinMarch 21, 2025 at 6:39 PM

I tested with a really simple table, see create statement. I guess the issue is the query param, doesn’t matter which query:

class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap')

Harry KleinMarch 21, 2025 at 6:34 PM

Not sure if this stacktrace will be helpful

Luis MajanoMarch 21, 2025 at 4:40 PM

I need the full stacktrace, in order to find out where it happened, if not, it will be really difficult to replicate since I don’t have your database

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created March 21, 2025 at 11:39 AM
Updated last month
Resolved March 21, 2025 at 10:20 PM