The location I was running the application from was a microSD card that seems to have a few issues. After I discovered this, I tried moving the folder to my primary drive and relaunching and that is when this started. I believe it is trying to read a configuration file from my user profile location and that the file may e corrupt but I do not know what file or where it may be looking. One of those AppData folder issues, maybe?
Gregory J Blajian
gjb...@ho...
From: Roger Hill <rh...@hi...>
Sent: Thursday, May 18, 2023 09:07
To: squ...@li...
Subject: Re: [Squirrel-sql-users] Issue launching squirrel client
Hi.
If the error is common across 3 applications, then I guess it is not a Squirrel problem.
Maybe try re-installing Java?
What changed between the time it worked, and when it stopped working?
Regards
Roger
On 18/05/2023 09:02, Greg Blajian wrote:
I have been using squirrel for many years. Normally, I can figure out any issues on my own but it seems I have a corrupt file somewhere and the stack trace is not helping. I am getting the below error when I attempt to launch the application. I have downloaded a fresh copy the latest stable build 4.5.1 and installed it in different locations (both the zip and the installer). I have tried Amazon Corretto [C:\Program Files\Amazon Corretto\jdk11.0.19_7\bin] and Eclipse Adoptium [C:\Program Files\Eclipse Adoptium\jdk-11.0.19.7-hotspot\bin] but EVERY instance has the same error. The splash screen starts gets about ¾ through then gives me this error. If I had any idea what file it is trying to read and failing at I would fix it. Please help.
$ 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<mailto:java.io.InputStreamReader@248af7cf>; line: 1, column: 1]
at net.sourceforge.squirrel_sql.fw.util.Utilities.wrapRuntime(Utilities.java:449)
at net.sourceforge.squirrel_sql.fw.util.JsonMarshalUtil.readObjectFromFile(JsonMarshalUtil.java:52)
at net.sourceforge.squirrel_sql.client.gui.recentfiles.RecentFilesManager.initJSonBean(RecentFilesManager.java:89)
at net.sourceforge.squirrel_sql.client.Application.loadRecentFileHistory(Application.java:1060)
at net.sourceforge.squirrel_sql.client.Application.executeStartupTasks(Application.java:913)
at net.sourceforge.squirrel_sql.client.Application.startup(Application.java:242)
at net.sourceforge.squirrel_sql.client.Main.doApplicationStartup(Main.java:123)
at net.sourceforge.squirrel_sql.client.Main.lambda$startApp$0(Main.java:115)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:103)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input
at [Source: java.io.InputStreamReader@248af7cf<mailto:java.io.InputStreamReader@248af7cf>; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3781)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3721)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2787)
at net.sourceforge.squirrel_sql.fw.util.JsonMarshalUtil.readObjectFromFile(JsonMarshalUtil.java:48)
... 20 more
Gregory J Blajian
gjb...@ho...<mailto:gjb...@ho...>
_______________________________________________
Squirrel-sql-users mailing list
Squ...@li...<mailto:Squ...@li...>
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
|