Gerd,
Thank you. Nice that no one else will need to experience this issue going forward.
Gregory J Blajian
gjb...@ho...
-----Original Message-----
From: Gerd Wagner <ger...@t-...>
Sent: Friday, May 19, 2023 07:09
To: Greg Blajian <gjb...@ho...>; Stanimir Stamenkov <s7...@ne...>; squ...@li...
Subject: Re: [Squirrel-sql-users] Issue launching squirrel client
Sorry for the inconvenience.
I just committed a change that should prevent such problems in the future. The according change log excerpt is:
Prevented SQuirreL from failing to start when an erroneous Json configuration exists. Such an error will now be logged and a default/empty configuration will be used.
Gerd
Am 18.05.23 um 21:43 schrieb Greg Blajian:
> Stanimir,
>
> THANK YOU SO MUCH!
> You were 100% on target with that (two of the .json files were 100% empty/blank). I figured it was a corrupt file I just did not know where to look. Back up and running. You ROCK!!!! Thank you again!
>
> Gregory J Blajian
> gjb...@ho...
>
> -----Original Message-----
> From: Stanimir Stamenkov via Squirrel-sql-users
> <squ...@li...>
> Sent: Thursday, May 18, 2023 13:17
> To: squ...@li...
> Subject: Re: [Squirrel-sql-users] Issue launching squirrel client
>
> Thu, 18 May 2023 13:02:15 +0000, /Greg Blajian/:
>
>> $ java -jar squirrel-sql.jar
>>
>> java.lang.RuntimeException:
>> com.fasterxml.jackson.databind.JsonMappingException: No content to
>> map due to end-of-input at [Source:
>> java.io.InputStreamReader@248af7cf;
>> line: 1, column: 1]
>> ...
>> at
>> net.sourceforge.squirrel_sql.client.gui.recentfiles.RecentFilesManage
>> r
>> .initJSonBean(RecentFilesManager.java:89)
>> at
>> net.sourceforge.squirrel_sql.client.Application.loadRecentFileHistory
>> (
>> Application.java:1060)
>> ...
>
> Seems like you're having a corrupt "RecentFilesJsonBean.json":
>
> *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
> b.com%2Fsquirrel-sql-client%2Fsquirrel-sql-code%2Fblob%2F1a950b28b%2Fs
> ql12%2Fcore%2Fsrc%2Fnet%2Fsourceforge%2Fsquirrel_sql%2Fclient%2FApplic
> ation.java%23L1060&data=05%7C01%7C%7C27f3c996ec334ff35a6908db58596a6d%
> 7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638200913276466206%7CUnkn
> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
> LCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=IABASFjwudtqKm10gXz7NfNiVWpq0PJjw
> TJOQicgCdc%3D&reserved=0
> *
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithu
> b.com%2Fsquirrel-sql-client%2Fsquirrel-sql-code%2Fblob%2F1a950b28b%2Fs
> ql12%2Fcore%2Fsrc%2Fnet%2Fsourceforge%2Fsquirrel_sql%2Fclient%2Futil%2
> FApplicationFiles.java%23L200-L202&data=05%7C01%7C%7C27f3c996ec334ff35
> a6908db58596a6d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638200913
> 276466206%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi
> LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0v%2Bmvuk%2Bw2HHQ
> yID7E%2F1CUiwuc9KB6MVobsdonP2Ifo%3D&reserved=0
>
> Try deleting it (move it away or rename it):
>
> > ren %USERPROFILE%\.squirrel-sql\RecentFilesJsonBean.json
> RecentFilesJsonBean.json.bak
>
> Alternatively, you may open it in Notepad - if the content is empty (as it seems from the exception message), enter an empty JSON object and save it back:
>
> {}
>
> --
> Stanimir
>
>
> _______________________________________________
> Squirrel-sql-users mailing list
> Squ...@li...
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists
> .sourceforge.net%2Flists%2Flistinfo%2Fsquirrel-sql-users&data=05%7C01%
> 7C%7C27f3c996ec334ff35a6908db58596a6d%7C84df9e7fe9f640afb435aaaaaaaaaa
> aa%7C1%7C0%7C638200913276466206%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj
> AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&s
> data=QM%2Bc3o%2Bvjk7MIUZ9%2FhqH6jgmqjOMl8DPgAV9yLH7o3E%3D&reserved=0
>
>
> _______________________________________________
> Squirrel-sql-users mailing list
> Squ...@li...
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists
> .sourceforge.net%2Flists%2Flistinfo%2Fsquirrel-sql-users&data=05%7C01%
> 7C%7C27f3c996ec334ff35a6908db58596a6d%7C84df9e7fe9f640afb435aaaaaaaaaa
> aa%7C1%7C0%7C638200913276466206%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj
> AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&s
> data=QM%2Bc3o%2Bvjk7MIUZ9%2FhqH6jgmqjOMl8DPgAV9yLH7o3E%3D&reserved=0
|