Community
Participate
Working Groups
If the server sends a exception to the client and the client has disabled the compression an "java.util.zip.ZipException: unknown compression method" occurs in the client. Caused by: java.util.zip.ZipException: unknown compression method at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147) at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2265) at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2278) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279) at org.eclipse.scout.commons.osgi.BundleObjectInputStream.<init>(BundleObjectInputStream.java:61) at org.eclipse.scout.rt.shared.servicetunnel.ServiceTunnelInputStream.<init>(ServiceTunnelInputStream.java:27) at org.eclipse.scout.rt.shared.servicetunnel.DefaultServiceTunnelContentHandler.getData(DefaultServiceTunnelContentHandler.java:361) at org.eclipse.scout.rt.shared.servicetunnel.DefaultServiceTunnelContentHandler.read(DefaultServiceTunnelContentHandler.java:346) at org.eclipse.scout.rt.shared.servicetunnel.DefaultServiceTunnelContentHandler.readResponse(DefaultServiceTunnelContentHandler.java:297) at org.eclipse.scout.rt.client.servicetunnel.http.internal.HttpBackgroundJob.run(HttpBackgroundJob.java:90) ... 1 more After searching for the cause I found that the compressed attribute is only written if it is not an exception. (DefaultServiceTunnelContentHandler.writeResponse(...) line 214). I'm pretty shure, this should also be written in case of an exception.
Fixed and commited to trunk for the release 3.8.0
Must be fixed in Juno Release 3.7.1
Fixed and commited also to branch 2011-Jun for the release 3.7.1
(In reply to comment #2) > Must be fixed in Juno Release 3.7.1 Actually that would be Helios Release. Sorry.
(In reply to comment #4) > (In reply to comment #2) > > Must be fixed in Juno Release 3.7.1 > Actually that would be Helios Release. Sorry. Names... Neither Helios nor Juno. I know 3.7 is Indigo.
shipped with scout 3.7.1