timeseries / qstudio

qStudio - Free SQL Analysis Tool
https://www.timestored.com/qstudio/
Apache License 2.0
568 stars 25 forks source link

Unexpected end of ZLIB input stream #79

Open ryanhamilton opened 2 months ago

ryanhamilton commented 2 months ago

Search emails for: "Unexpected end of ZLIB input stream" I believe this occurs when there are 1000+ servers and it gets truncated by registry.

user-vg

ryanhamilton commented 2 months ago
OS=Windows 10
Java=11.0.20
Des=unknown
Stack=java.lang.reflect.InvocationTargetException
        at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
        at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
        at java.desktop/javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
        at com.timestored.qstudio.QStudioLauncher.main(QStudioLauncher.java:141)
Caused by: java.lang.AssertionError: java.io.EOFException: Unexpected end of ZLIB input stream
        at com.timestored.StringUtils.decompress(StringUtils.java:104)
        at com.timestored.connections.PreferenceHelper.decode(PreferenceHelper.java:50)
        at com.timestored.connections.ConnectionManager.reloadFromPreferences(ConnectionManager.java:689)
        at com.timestored.connections.ConnectionManager.setPreferenceStore(ConnectionManager.java:146)
        at com.timestored.qstudio.QStudioLauncher$2.launch(QStudioLauncher.java:227)
        at com.timestored.qstudio.QStudioLauncher$2.run(QStudioLauncher.java:143)
        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 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: [java.io](http://java.io/).EOFException: Unexpected end of ZLIB input stream
        at java.base/java.util.zip.InflaterInputStream.fill(Unknown Source)
        at java.base/java.util.zip.InflaterInputStream.read(Unknown Source)
        at java.base/java.io.FilterInputStream.read(Unknown Source)
        at com.timestored.StringUtils.decompress(StringUtils.java:100)