Open
Description
Describe the bug
Whe try to add a new Data source to the system, the data source is not added, and within the network tab of the browser developer tools I get this response:
Object { stack: "rn@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:332:62252\nDI@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:334:1039\nk@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:334:5656\nEventHandlerNonNull*Xq</<@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:334:5725\nXq<@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:334:5055\nn1@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:336:512\npromise callback*_request@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:337:1181\nrequest@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:336:1979\nn/<@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:337:1776\ndI/<@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:332:56461\ntestDataSource@http://localhost:18080/knowage-vue/assets/js/DataSourceDetail-BmhrRfn5.js:1:15886\nOf@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:38\nYo@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:111\nAG@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:37873\nF@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:332:38923\nM@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:332:43604\nOf@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:38\nYo@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:111\nn@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:18:7659\n", message: "Request failed with status code 400", name: "AxiosError", code: "ERR_BAD_REQUEST", config: {…}, request: XMLHttpRequest, response: {…}, status: 400 }
code: "ERR_BAD_REQUEST"
config: Object { timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", … }
message: "Request failed with status code 400"
name: "AxiosError"
request: XMLHttpRequest { readyState: 4, timeout: 0, withCredentials: false, … }
response: Object { data: "java.io.IOException: java.security.PrivilegedActionException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.lang.String` from Object value (token `JsonToken.START_OBJECT`)\n at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 27] (through reference chain: it.eng.spagobi.tools.datasource.bo.DataSource["dialectName"])", status: 400, statusText: "", … }
stack: "rn@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:332:62252\nDI@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:334:1039\nk@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:334:5656\nEventHandlerNonNull*Xq</<@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:334:5725\nXq<@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:334:5055\nn1@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:336:512\npromise callback*_request@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:337:1181\nrequest@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:336:1979\nn/<@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:337:1776\ndI/<@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:332:56461\ntestDataSource@http://localhost:18080/knowage-vue/assets/js/DataSourceDetail-BmhrRfn5.js:1:15886\nOf@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:38\nYo@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:111\nAG@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:37873\nF@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:332:38923\nM@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:332:43604\nOf@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:38\nYo@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:14:111\nn@http://localhost:18080/knowage-vue/assets/js/index-CBWT6BBR.js:18:7659\n"
status: 400
<prototype>: Object { constructor: rn(e, t, n, i, r), toJSON: toJSON()
, stack: "", … }
Checking the response I get the following body
java.io.IOException: java.security.PrivilegedActionException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `java.lang.String` from Object value (token `JsonToken.START_OBJECT`)
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 27] (through reference chain: it.eng.spagobi.tools.datasource.bo.DataSource["dialectName"])
To Reproduce
Steps to reproduce the behavior:
-
Go to Data Sources
-
Click on +
-
Fill up the following using the Postgresql Drivers
(use a sample database) -
Click save or test
-
Error above occurs
Expected behavior
I expect the data source to be saved correctly
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11, using docker WSL
- Firefox
- 136.0.1
also tried with Brave 1.76.74 Chromium: 134.0.6998.89 (Official BUild) (64 bits)
Additional context
I am using the docker compose over https://github.com/KnowageLabs/Knowage-Server-Docker
Metadata
Metadata
Assignees
Labels
No labels