Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003836 [Hessian] minor always 01-05-10 13:09 01-07-10 10:22
Reporter alex View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 3.1.9
  Product Build
Summary 0003836: HessianDebugState ClassCastException
Description
We're seeing two possibly related issues with the Hessian Debug facilities in
our production environment. The first is the exception pasted below. The
second is that hessian debug will run for a few hours after we restart the
web app, then just die. We are running 3.1.19. Any ideas?

java.lang.ClassCastException: java.util.Date cannot be cast to
java.lang.Integer
       at
com.caucho.hessian.io.HessianDebugState$ObjectState.shift(HessianDebugState.java:1186)
       at
com.caucho.hessian.io.HessianDebugState$DateState.next(HessianDebugState.java:649)
       at
com.caucho.hessian.io.HessianDebugState.next(HessianDebugState.java:93)
       at
com.caucho.hessian.io.HessianDebugOutputStream.write(HessianDebugOutputStream.java:96)
       at java.io.OutputStream.write(OutputStream.java:99)
       at
com.caucho.hessian.io.Hessian2Output.flushBuffer(Hessian2Output.java:1541)
       at
com.caucho.hessian.io.Hessian2Output.flush(Hessian2Output.java:1522)
       at
com.caucho.hessian.io.Hessian2Output.printString(Hessian2Output.java:1450)
       at
com.caucho.hessian.io.Hessian2Output.writeString(Hessian2Output.java:1060)
       at
com.caucho.hessian.io.JavaSerializer$StringFieldSerializer.serialize(JavaSerializer.java:346)
       at
com.caucho.hessian.io.JavaSerializer.writeInstance(JavaSerializer.java:213)
       at
com.caucho.hessian.io.JavaSerializer.writeObject(JavaSerializer.java:177)
       at
com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:490)
       at
com.caucho.hessian.io.CollectionSerializer.writeObject(CollectionSerializer.java:102)
       at
com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:490)
       at
com.caucho.hessian.io.JavaSerializer$FieldSerializer.serialize(JavaSerializer.java:256)
       at
com.caucho.hessian.io.JavaSerializer.writeInstance(JavaSerializer.java:213)
       at
com.caucho.hessian.io.JavaSerializer.writeObject(JavaSerializer.java:177)
       at
com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:490)
       at
com.caucho.hessian.io.MapSerializer.writeObject(MapSerializer.java:100)
       at
com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:490)
       at
com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:199)
       at
com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:109)
       at
com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:396)
       at
com.caucho.server.dispatch.WebServiceFilterChain.doFilter(WebServiceFilterChain.java:101)
       at com.caucho.filters.GzipFilter.doFilter(GzipFilter.java:169)
       at
com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
       at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:162)
       at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
       at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
       at
com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:436)
       at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
       at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
       at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
       at java.lang.Thread.run(Thread.java:619)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
01-05-10 13:09 alex New Issue
01-07-10 10:22 ferg Project Resin => Hessian


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker