You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Exceptions are not deserialized correctly, the message field contains the response JSON and the string 'Cannot construct instance of com.databricks.sdk.core.error.ErrorDetail, problem: Cannot invoke "Object.getClass()" because "m" is null'
Reproduction
Invoking an API through Java SDK, and catching a DatabricksError exception (For example, attempting to delete a pinned cluster.).
Expected behavior
The DatabricksError exception is deserialized correctly, allowing you to read the errorCode, statusCode, and errorDetail fields.
Is it a regression?
Error present in versions ranging from 0.10.0 to 0.22.0.
Other Information
Version: 0.22.0
The text was updated successfully, but these errors were encountered:
costichiulan
pushed a commit
to costichiulan/databricks-sdk-java
that referenced
this issue
Aug 6, 2024
Description
Exceptions are not deserialized correctly, the message field contains the response JSON and the string 'Cannot construct instance of com.databricks.sdk.core.error.ErrorDetail, problem: Cannot invoke "Object.getClass()" because "m" is null'
Reproduction
Invoking an API through Java SDK, and catching a DatabricksError exception (For example, attempting to delete a pinned cluster.).
Expected behavior
The DatabricksError exception is deserialized correctly, allowing you to read the errorCode, statusCode, and errorDetail fields.
Is it a regression?
Error present in versions ranging from 0.10.0 to 0.22.0.
Other Information
The text was updated successfully, but these errors were encountered: