Error Serializing Object Class
Contents |
here for a quick overview of the site Help Center Detailed answers wicket error serializing object class to any questions you might have Meta Discuss the workings error javaserializer error serializing object class and policies of this site About Us Learn more about Stack Overflow the company Business
Org Apache Ibatis Cache Cacheexception Error Serializing Object
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack
Serializing An Object To Xml In C#
Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Wicket: how to get rid of WicketNotSerializableException? up vote 0 down vote favorite Ok, so here is the code for the page public class serializing an object in javascript ViewDocument extends BasePage{ private List
in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ JavaSerializer - Error serializing object class Hi, with Glassfish4 we get a lot
Serializing An Object In Java
of Exceptions when a page gets serialized. org.apache.wicket.serialize.java.JavaSerializer - Error serializing object serializing dictionary class .. org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream$ObjectCheckException: The object type is not Serializable! A problem occurred while checking object with type: com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate Field hierarchy is: .. .. private final org.jboss.weld.ejb.api.SessionObjectReference org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.reference [class=org.glassfish.weld.ejb.SessionObjectReferenceImpl] http://stackoverflow.com/questions/16855252/wicket-how-to-get-rid-of-wicketnotserializableexception private java.lang.Object org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef [class=com.sun.proxy.$Proxy202] protected java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h [class=com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate] <----- field that is causing the problem http://apache-wicket.1842946.n4.nabble.com/JavaSerializer-Error-serializing-object-class-td4667385.html Any idea where this is coming from or what's causing this? Regards, Stefan Maxim Solodovnik Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: JavaSerializer - Error serializing object class you can only have Serializable classes stored in the page you can have DTO or ID stored if it is impossible On 9 September 2014 13:53, Stefan Lorenz <[hidden email]> wrote: > Hi, > > with Glassfish4 we get a lot of Exceptions when a page gets serialized. > > org.apache.wicket.serialize.java.JavaSerializer - Error serializing object > class > .. > org.apache.wicket.core.util.objects.checker.CheckingObjectOutputStream$ObjectCheckException: > The object type is not Serializable! > A problem occurred while checking object with type: > com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate > Field hierarchy is: > .. > .. > private final org.jboss.weld.ejb.api.SessionObjectReference > org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.reference > [class=org.glassfish.weld.ejb.SessionObjectReferenceImpl] > private > java.lang.Object org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef > [class=com.sun.proxy.$Proxy202] > > protec
a GitHub account Sign in Create a gist now Instantly share code, notes, and snippets. Star 0 Fork 0 brunoborges/gist:3745183 Created Sep 18, 2012 Embed What would you like to do? Embed Embed this gist in your website. Embed Share Copy sharable URL for this gist. Share Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address. HTTPS Learn more about clone URLs Download ZIP Code Revisions 1 Serialization error running Wicket and CDI on GlassFish Raw gistfile1.txt SEVERE: Error serializing object class code.webapp.pages.Index [object=[Page class = code.webapp.pages.Index, id = 3, render count = 1]] org.apache.wicket.core.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate Field hierarchy is: 3 [class=code.webapp.pages.Index, path=3] private code.services.Service code.webapp.pages.Base.service [class=code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$] javassist.util.proxy.MethodHandler code.services.ScalaObject$Service$918758560$Proxy$_$$_Weld$Proxy$.methodHandler [class=org.jboss.weld.bean.proxy.ProxyMethodHandler] private org.jboss.weld.bean.proxy.BeanInstance org.jboss.weld.bean.proxy.ProxyMethodHandler.beanInstance [class=org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance] private final javassist.util.proxy.MethodHandler org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.methodHandler [class=org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler] private final org.jboss.weld.ejb.api.SessionObjectReference org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.reference [class=org.glassfish.weld.ejb.SessionObjectReferenceImpl] private java.lang.Object org.glassfish.weld.ejb.SessionObjectReferenceImpl.ejbRef [class=$Proxy149] protected java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h [class=com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate] <----- field that is not serializable at org.apache.wicket.core.util.io.SerializableChecker.internalCheck(SerializableChecker.java:411) at org.apache.wicket.core.util.io.SerializableChecker.check(SerializableChecker.java:390) Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status