Stacktrace 如下,但首先是我的搜索结果:
有人遇到了类似的问题。据称这是 ULC 6.1 中 ULCAppletPane 的问题。我使用的是 ULC 7.0,所以我想我可以放心地忘记这些链接。
其他人使用 InflaterInputStream 的 readUTF() 方法也有类似的 ZipException。建议的解决方案是使用不同的 readUTF(): http ://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4529325
ULC 使用 readUTF() 错了吗?在 Stackoverflow 上类似的 InflaterInputStream.readUTF() 问题中,建议的解决方案是获取源代码并使用异常断点调试库。 java.util.zip.zipexception : 未知的压缩方法 Stackoverflow(以及 Google)上的搜索结果差不多就到此为止了。我现在最好的想法是反编译闭源 ULC 库并对其进行调试。我必须这样做还是有人可以帮助我解决这个问题?
[客户端] 操作系统:Linux (3.0.0-32-generic, amd64) Java:Sun Microsystems Inc. (1.6.0_26) ULC:ULC Core (20206)
[堆栈跟踪]
com.ulcjava.base.client.ConnectorException: I/O exception has been thrown.
at com.ulcjava.container.servlet.client.ServletConnector.a(ServletConnector.java:81)
at com.ulcjava.container.servlet.client.ServletConnector.b(ServletConnector.java:41)
at com.ulcjava.container.servlet.client.ServletConnector.start(ServletConnector.java:88)
at com.ulcjava.base.client.UISession.startConnector(UISession.java:133)
at com.ulcjava.base.client.launcher.DefaultSessionStateListener.sessionStarted(DefaultSessionStateListener.java:13)
at com.ulcjava.base.client.UISession.a(UISession.java:114)
at com.ulcjava.base.client.UISession.access$16(UISession.java:92)
at com.ulcjava.base.client.UISession$0.run(UISession$0.java:6)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at com.ulcjava.base.client.FilteringEventQueue.dispatchEvent(FilteringEventQueue.java:55)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: com.ulcjava.container.servlet.client.IOConnectorCommandException: I/O exception has been thrown.
at com.ulcjava.container.servlet.client.ConnectorCommand.execute(ConnectorCommand.java:37)
at com.ulcjava.container.servlet.client.ServletConnector.executeCommand(ServletConnector.java:22)
at com.ulcjava.container.servlet.client.ServletConnector.a(ServletConnector.java:104)
... 22 more
Caused by: java.util.zip.ZipException: unknown compression method
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:105)
at java.io.DataInputStream.readByte(DataInputStream.java:248)
at com.ulcjava.base.shared.internal.UlcDataInputStream.readByte(UlcDataInputStream.java:4)
at com.ulcjava.base.shared.internal.UlcObjectInputStream.a(UlcObjectInputStream.java:67)
at com.ulcjava.base.shared.internal.UlcObjectInputStream.readObject(UlcObjectInputStream.java:78)
at com.ulcjava.container.servlet.client.AbstractBasicAuthenticationCommand.handleResponse(AbstractBasicAuthenticationCommand.java:8)
at com.ulcjava.container.servlet.client.ConnectorCommand.execute(ConnectorCommand.java:53)
... 24 more