New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Malformed JSON Exception at start #29271
Comments
I have tried to copy the provided connection and run dbeaver - no issue for me. The log says that the issue is near Alternatively, I would ask you to provide the whole file. If there are a lot of connections to hide sensitive information everywhere, you can send it to me on email [email protected] |
Dear Elizabeth,
I fixed the issue for me this morning. I started with a new “General” folder and a new data-sources.json. Then I copied stepwise my corrected old data-sources in the new file. It worked.
I the old file there was a bug in the home-tag of some connections: the path was written “C:\ools\\...”. In earlier times the correct path was “C:\\Tools\\...”.
I don’t know, who has deleted this “\t” (=TAB) out of this strings. The problem raised for me with the latest update at the end of last week.
I hope you can identify this issue.
Kind regards,
Rainer
|
Thank you |
It is side effect of another fix. |
Description
After updating DBeaver to version 24.0.3.202404211624 the databse navigator is no longer reading my configuration. I found in the log a MalformedJSONException at the first configuration. This is an old no longer used connection which I have not yet deleted within my configuration. The folder no longer exists. I have some more of these connections, which was not a problem until this release. I tried to correct the configuration and deleted the malformed connection. Both didn't work, so I have no further idea.
DBeaver Version
24.0.3.202404211624
Operating System
Windows 10
Database and driver
Oracle
PostgreSQL
h2
Steps to reproduce
Additional context
Example of one of the connections:
"oracle_thin-162cea6d9c7-1d89a43c43c1590d": {
"provider": "oracle",
"driver": "oracle_thin",
"name": "PDBXXX_XXX_xxxxxxxxx",
"save-password": true,
"show-system-objects": true,
"folder": "Archiv",
"configuration": {
"database": "PDBXXX_XXX.XXX.XXXXXXXX.DE",
"url": "jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ora12.muc.xxxxxxxx.de)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = pdbxxx_dev.muc.dynaware.de) ) )",
"configurationType": "MANUAL",
"home": "C:\ools\Oracle\product\12.2.0\client_1\jdk",
"type": "dev",
"closeIdleConnection": false,
"properties": {
"useFetchSizeWithLongColumn": "true",
"loginTimeout": "20"
},
"provider-properties": {
"@dbeaver-use-rule-hint@": "false",
"@dbeaver-connection-type@": "TNS",
"@dbeaver-check-schema-content@": "true",
"@dbeaver-sid-service@": "SERVICE",
"@dbeaver-always-show-dba@": "false"
}
}
},
And this i the debug log:
The text was updated successfully, but these errors were encountered: