Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003777 [Hessian] minor always 11-20-09 14:00 12-17-09 16:49
Reporter emil View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0003777: npe on second hessian call (hessian flex)
Description (rep by Riccardo Cohen)

I have converted my tutorial
http://architectedulogiciel.fr/tutorials/resinutf8flex.php [^] to resin
4.0.1 with hessian flex library 4.0.0
When the flex client sends an object (a very simple one) to the server,
the first time it works, but the second time I have an error :

  java.lang.NullPointerException
  at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1609)
  at
com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:292)
  at
com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:195)
  at
com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:367)
  at
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:1
+14)
  at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:184)
  at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:164)
  at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:264)
  at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:280)
  at
com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:579)
  at
com.caucho.server.port.TcpConnection$KeepaliveTask.run(TcpConnection.java:1414)
  at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:874)
  at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:787)

If I change only the flex library and put hessian-flex-3_1-snap.swc =>
it works back again. You'll find the source code here :

http://www.architectedulogiciel.fr/download/testutf8flex-401.zip [^]

Additional Information
Attached Files

- Relationships

- Notes
(0004338)
ferg
12-16-09 11:26

The NPE has been fixed on the server side, but the problem is in the client. The client needs to clear the class references for the next call.
 
(0004347)
emil
12-17-09 16:49

ReferenceResetTest
 

- Issue History
Date Modified Username Field Change
11-20-09 14:00 emil New Issue
12-16-09 11:26 ferg Note Added: 0004338
12-17-09 16:49 emil Status new => closed
12-17-09 16:49 emil Note Added: 0004347
12-17-09 16:49 emil Resolution open => fixed
12-17-09 16:49 emil Fixed in Version  => 4.0.3


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