You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by David Hinostroza <dh...@speedy.com.pe> on 2005/05/04 23:40:48 UTC
Error DynaBean
Hi
I have a problem whit beanutils.BasicDynaBean
I cannot serializar a BasicDynaBean object when I call of facade(Ejb
StateLess) load normal(load the ArrayList) but from the Delegate(Cap
Web) at the time of bringing the ArrayList it leaves the following error
to me :
39737 [HttpRequestHandler-78] ERROR delegate.UsuarioDelegate - Error
(de-)serializing object: org.apache.commons.beanutils.BasicDynaBean;
nested exception is: java.io.NotSerializableException:
org.apache.commons.beanutils.BasicDynaBean
42031 [HttpRequestHandler-78] ERROR delegate.UsuarioDelegate -
05/05/04 16:27:40 null
42501 [HttpRequestHandler-78] ERROR servlet.ConfigServlet -
com.d_d.frame.exception.BusinessException
at
com.bdw.web.admUsuario.delegate.UsuarioDelegateWeb.obtenerListaPlanes(Us
uarioDelegateWeb.java:28)
at
com.bdw.web.servlet.ConfigServlet.doGet(ConfigServlet.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChai
n.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestD
ispatcher.java:604)
at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Servle
tRequestDispatcher.java:317)
at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHa
ndler.java:790)
at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:
270)
at
com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:
112)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasab
leResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Thanks
David
-----Mensaje original-----
De: robert burrell donkin [mailto:robertburrelldonkin@blueyonder.co.uk]
Enviado el: Wednesday, May 04, 2005 12:36 PM
Para: Jakarta Commons Users List
Asunto: Re: [betwixt] dynabean with betwixt
hi matt
On Tue, 2005-05-03 at 12:45 -0500, Matt Goodwin wrote:
> I am trying to write out a class that implements DynaBean. When I do
> this it does not write out any of the dynaproperties. I looked at the
> TestDynaBeanSupport test case. It does not appear to be writing out
the
> dynaproperty either. When I changed the betwixt file to print out the
> dynaproperty it did not print it out. Does anyone know how to
implement
> this functionality?
if this last sentence means you're volunteering to create a patch, then
once you've added some integration tests for the whole writing process,
i'd suggest taking a look at XMLIntrospector.DynaClassBeanType.
otherwise, if you're willing to contribute a unit test to apache post it
on bugzilla and i'll take a look at fixing up that area of code.
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org