Re: SerializationException While Upgrading to GWT 2.8.2

2018-07-11 Thread Jens
GWT-RPC responses have a string table to deduplicate strings and minimize the response size. When deserializing a server response the code will try to lookup a type signature string in the string table, however in your case the lookup returns wrong data and serialization fails. "153221" is not a

SerializationException While Upgrading to GWT 2.8.2

2018-07-11 Thread DK
I have updated from GWT 2.6.1 to GWT 2.8.2 but while running I am getting the following error in the browser: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: The response could not be deserialized at Unknown.Throwable_1(com.ptc.windchill.wncgwt.WncGWT-0.js) at Unknown.Exceptio

Re: SerializationException when application is modified

2017-07-20 Thread Óscar Frías Barranco
ng the previous (old) code >> which is no longer aligned with the server code. We have reviewed all HTTP >> headers related to caching and all of the are, we think, correctly >> configured. >> >> So our plan is to force a reload of the browser page with a >> loc

Re: SerializationException when application is modified

2017-07-19 Thread Thomas Broyer
f the browser page with a > location.reload(true) when we detect that the SerializationException is > being thrown at the server. > >From a UX point of view, it's probably better to show an error (possibly with a button to reload the app) than forcibly reload, as that could possibly lead to lo

Re: SerializationException when application is modified

2017-07-19 Thread Vassilis Virvilis
Hi, Here is what we do. 1. We don't use gwt-rpc. We use resty-gwt instead. 2. resty-gwt has the option to register a global request callback handler in order to intercept all http requests. See resty-gwt Defaults.setDispatcher() for details 3. On every new build of the gwt script I autogenerate (

Re: SerializationException when application is modified

2017-07-18 Thread Jens
> We think that this is due to browsers caching the previous (old) code > which is no longer aligned with the server code. We have reviewed all HTTP > headers related to caching and all of the are, we think, correctly > configured. > The issue is that your users have downloaded your GWT app

Re: SerializationException when application is modified

2017-07-18 Thread Michael Joyner
hink, correctly configured. So our plan is to force a reload of the browser page with a location.reload(true) when we detect that the SerializationException is being thrown at the server.  Any ideas a

Re: SerializationException when application is modified

2017-07-18 Thread Óscar Frías Barranco
e server code. We have reviewed all HTTP > headers related to caching and all of the are, we think, correctly > configured. > > So our plan is to force a reload of the browser page with a > location.reload(true) when we detect that the SerializationException is > being thrown at th

Re: SerializationException when application is modified

2017-07-18 Thread Michael Joyner
wed all HTTP headers related to caching and all of the are, we think, correctly configured. So our plan is to force a reload of the browser page with a location.reload(true) when we detect that the SerializationException is being thrown at the server.  Any ideas

SerializationException when application is modified

2017-07-18 Thread Óscar Frías Barranco
ed all HTTP headers related to caching and all of the are, we think, correctly configured. So our plan is to force a reload of the browser page with a location.reload(true) when we detect that the SerializationException is being thrown at the server. Any ideas about how to implement this easily?

Re: SerializationException

2016-02-01 Thread claudio sergio Goncalves
i solve using hibernate transformes q.setResultTransformer(Transformers.aliasToBean(mypojo.class)); thanks Em sexta-feira, 29 de janeiro de 2016 09:11:57 UTC-2, claudio sergio Goncalves escreveu: > > Thanks Jen > > i'll see the docs. > > > > > Em quarta-feira, 27 de janeiro de 2016 12:47:30 UT

Re: SerializationException

2016-01-29 Thread claudio sergio Goncalves
Thanks Jen i'll see the docs. Em quarta-feira, 27 de janeiro de 2016 12:47:30 UTC-2, Jens escreveu: > > You are trying to send a collection of java.lang.Object which is not > allowed by GWT-RPC. > > See documentation > http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#D

Re: SerializationException

2016-01-27 Thread Jens
You are trying to send a collection of java.lang.Object which is not allowed by GWT-RPC. See documentation http://www.gwtproject.org/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes As you are using JPA you should also read the section about serializing enhanced classes o

SerializationException

2016-01-27 Thread claudio sergio Goncalves
hi guys i'd received this message [WARN ] 2016-01-27 11:34:27.291 [qtp26882648-29] / - Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type '[Ljava.lang.Object;' was not included in the set of types which can be serialized by this Serializa

Re: SerializationException: Invalid type signature for com.google.appengine.api.datastore.Key

2014-05-22 Thread Shawn Johnson
Did you make sure that all serializable classes have an empty constructor available? On Tuesday, March 26, 2013 9:33:36 PM UTC-4, Jeremiah Renfro wrote: > > That link was to the repository .git file directly... maybe it only works > for cloning the repository from Git. > > Try this one for the w

Re: SerializationException: Invalid type signature for com.google.appengine.api.datastore.Key

2013-03-26 Thread Jeremiah Renfro
That link was to the repository .git file directly... maybe it only works for cloning the repository from Git. Try this one for the web portal: https://bitbucket.org/jrenfro/test/ You should be able to browse the source code and commit log. On Tuesday, March 26, 2013 3:38:11 PM UTC-7, Jeremiah

Re: SerializationException: Invalid type signature for com.google.appengine.api.datastore.Key

2013-03-26 Thread Jeremiah Renfro
I am still stuck on this. I created a test project on bitbucket for anyone who cares to take a look at this: https://jren...@bitbucket.org/jrenfro/test.git Thanks so much! On Tuesday, March 26, 2013 12:15:32 PM UTC-7, Jeremiah Renfro wrote: > > I am receiving this error during RPC: > > SEVERE:

SerializationException: Invalid type signature for com.google.appengine.api.datastore.Key

2013-03-26 Thread Jeremiah Renfro
I am receiving this error during RPC: SEVERE: javax.servlet.ServletContext log: actionServlet: An > IncompatibleRemoteServiceException was thrown while processing this call. > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Invalid > type signature for com.google.appengine.api

Re: RemoteServiceObfuscateTypeNames throws SerializationException

2012-09-03 Thread Andrew Balakhanov
bfuscateTypeNames" /> on my > application module, but can't get it working. > > My rpc is not getting serialized and it fails with a > SerializationException (the whole app do not works). > > Any tip? (I'm on trunk) > > -- > Guit: Elegant, beauti

SerializationException ... Help!

2012-04-23 Thread Leonardo Terrão
Hello everybody! In another application I was using my Gilead (Hibernate4gwt) to work with my data, but apparently the Gilead was inactive. Now I'm starting another application and would like to use Hibernate simple. Now I have a problem that I believe is the relationship of the data that are not

Re: SerializationException with List

2011-10-31 Thread Paul Robinson
ist? --Markus 2011/10/28 darkling I've just managed to update my GWT (2.4) and I'm having problems with my RPCs. Every time I try to send a List object it says the item can not be deserialized. I single stepped through it and it comes out as a SerializationException which GWT wraps in a

Re: SerializationException with List

2011-10-29 Thread darkling
; --Markus > > > 2011/10/28 darkling > > > > I've just managed to update my GWT (2.4) and I'm having problems with > > > my RPCs. Every time I try to send a List object it says the item can > > > not be deserialized. I single stepped through it and it come

Re: SerializationException with List

2011-10-28 Thread darkling
naged to update my GWT (2.4) and I'm having problems with > > my RPCs. Every time I try to send a List object it says the item can > > not be deserialized. I single stepped through it and it comes out as a > > SerializationException which GWT wraps in a > > IncompatibleRemo

Re: SerializationException with List

2011-10-28 Thread Markus Zywitza
d it comes out as a > SerializationException which GWT wraps in a > IncompatibleRemoteServiceException. > > The Lists are of pojo objects that do implement Serializable and have > always been deserializable before. I thought that it might be related > to mismatching GWT jars so I tr

SerializationException with List

2011-10-28 Thread darkling
I've just managed to update my GWT (2.4) and I'm having problems with my RPCs. Every time I try to send a List object it says the item can not be deserialized. I single stepped through it and it comes out as a SerializationException which GWT wraps in a IncompatibleRemoteServiceExcep

Re: SerializationException

2011-10-09 Thread Brandon Donnelson
Try this to see if its your server security settings. Change it back after you figure it out. //add to /etc/tomcat5.5/policy.d/04webapps.policy grant codeBase "file:${catalina.home}/webapps/-" { permission java.security.AllPermission; }; It may be tomcat. private public vars in the DTO objec

SerializationException

2011-10-06 Thread Max
ec] at org.apache.tomcat.util.net.JIoEndpoint $Worker.run(JIoEndpoint.java:951) [:6.0.0.Final] [exec] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26] The EJBException is serializable. Why am I getting a SerializationException? I have read http://code.google.com/webtoolkit/

Re: Random SerializationException

2011-09-26 Thread Maverick
Update: I still don't know why the SerializationException was appearing each time on a different class, but in the end it turned out that a leaf-level class was responsible. Problem solved. On Sep 25, 10:32 pm, Maverick wrote: > Thanks for your reply; I'll try to investigate

Re: Random SerializationException

2011-09-25 Thread Maverick
Thanks for your reply; I'll try to investigate more. What is disorienting me is that the type, which is not said to be serializable, also changes on different calls. Could you please tell me something more about your experience and possible checks to do? That would help greately, because I finishe

Re: Random SerializationException

2011-09-25 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 you don't send the same data the second time. my experience says that this can have a thousand reasons which are not even hinted at by the error message. something in your class makes the gwt compiler think that it cannot be serialized or the gwt compi

Random SerializationException

2011-09-25 Thread Maverick
Hi all I'm experiencing a problem that seems pretty absurd: I have a complex GWT app, which spans over several projects; from a while ago (not sure when it started exactly) the app is loaded successfully and a data structure is sent over RPC, but, if I reload the page, the *same* RPC call fails wit

Re: IncompatibleRemoteServiceException & SerializationException Issue.....

2011-07-29 Thread Juan Pablo Gardella
The error is: > > > > Caused by: com.google.gwt.user.client.rpc.SerializationException: > > > > Invalid type signature for com.sample.project.shared.model.UserInfo I google and found some explanations (thanks a T. Broyer again) in this thread

Re: IncompatibleRemoteServiceException & SerializationException Issue.....

2011-07-29 Thread Jugunu
I am not getting it always, after doing a gwtcompile i am getting it sometimes even in dev server... I tried to deploy it in tomcat after creating a war, that time the response returns from handler, but doesn't reach the async call back .. Previously i was getting serialization error in Arraylist

Re: IncompatibleRemoteServiceException & SerializationException Issue.....

2011-07-29 Thread Juan Pablo Gardella
This error ocurr in dev mode too? 2011/7/29 Jugunu > Hi Pablo, > > Thanks a lot for the offer to help.. > > I am using gwt 2.3 coupled with gwtp framework, gin & guice.. > These are the specific external jars i am using... > > gin-1.5-post-gwt-2.2.jar > guice-3.0.jar > guice-assistedinject-3.0.j

Re: IncompatibleRemoteServiceException & SerializationException Issue.....

2011-07-29 Thread Jugunu
Hi Pablo, Thanks a lot for the offer to help.. I am using gwt 2.3 coupled with gwtp framework, gin & guice.. These are the specific external jars i am using... gin-1.5-post-gwt-2.2.jar guice-3.0.jar guice-assistedinject-3.0.jar guice-servlet-3.0.jar gwtp-all-0.6.jar javax.inject.jar jaxen-1.1.1.

Re: IncompatibleRemoteServiceException & SerializationException Issue.....

2011-07-28 Thread Juan Pablo Gardella
Sounds conflicts of version. Put gwt version and your dependencies to help you. 2011/7/28 Jugunu > Hi GWT Group, > > I am getting a IncompatibleRemoteServiceException & serialization > exception... But i have extended my class with > java.io.Serializable... Also i have observed that I am havin

IncompatibleRemoteServiceException & SerializationException Issue.....

2011-07-28 Thread Jugunu
Hi GWT Group, I am getting a IncompatibleRemoteServiceException & serialization exception... But i have extended my class with java.io.Serializable... Also i have observed that I am having duplicate entry in the gwt.rpc file..one starting with"[L" and the other without... Can you give me some g

Re: Problems with RPC serialisation - SerializationException

2011-06-13 Thread Jon Britton
No. No it doesn't. I think I should go and get some sleep... Thanks On Jun 13, 3:06 pm, James Gustard wrote: > Does the class have a public default constructor? > > On Mon, Jun 13, 2011 at 3:03 PM, Jon Britton < > > > > > > > > mankillseveryth...@googlemail.com> wrote: > > Hi, > > > I'm having t

Re: Problems with RPC serialisation - SerializationException

2011-06-13 Thread James Gustard
Does the class have a public default constructor? On Mon, Jun 13, 2011 at 3:03 PM, Jon Britton < mankillseveryth...@googlemail.com> wrote: > Hi, > > I'm having trouble serializing one of my classes which I want to send > via RPC. The class implements java.io.Serializable, but for some > reason I

Re: Problems with RPC serialisation - SerializationException

2011-06-13 Thread Jon Britton
Sorry, forgot to post my exception, here it is: com.google.gwt.user.client.rpc.SerializationException at com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java: 153) at com.google.gwt.user.client.rpc.impl.SerializerBase.serialize(SerializerBase.java:

Problems with RPC serialisation - SerializationException

2011-06-13 Thread Jon Britton
Hi, I'm having trouble serializing one of my classes which I want to send via RPC. The class implements java.io.Serializable, but for some reason I get an exception (show in full at the bottom of this message). After doing a bit of debugging, it looks like the problem is that GWT isn't finding "t

Re: gwt 2.3 linkedlist SerializationException

2011-05-16 Thread Peter Warren
I think it was indeed a classpath issue. I found an eclipse warning stating that the jar in web-inf/lib was different from the jar in the current gwt library. I synch'd the jars and the problem seems to be fixed. Thanks for your help. -- You received this message because you are subscribed to

Re: gwt 2.3 linkedlist SerializationException

2011-05-05 Thread Juan Pablo Gardella
Mmmm I don't know. I need more info. For example .classpath file and the object are you send, but if you said in gwt 2.2.0 works, perhaps is a bug. Make a sample that reproduce the bug and open a issue. But check this http://code.google.com/p/google-web-toolkit/issues/detail?id=5230 and check .cla

Re: gwt 2.3 linkedlist SerializationException

2011-05-05 Thread Peter Warren
The LinkedList contains custom objects, but the complaint is about this type signature: java.util.LinkedList/1060625595. If the custom object were the problem, wouldn't the error complain about the custom class and not LinkedList? The custom class is serializable in gwt 2.2. The same code works

Re: gwt 2.3 linkedlist SerializationException

2011-05-05 Thread Juan Pablo Gardella
What types of objects are you sent in LinkedList? 2011/5/5 Peter Warren > I'm using the Google Plugin for Eclipse and upgraded today to gwt > 2.3. Now when running my project I get the exception below about a > problem serializing LinkedList. If I switch back to gwt 2.2 my app > works great ag

gwt 2.3 linkedlist SerializationException

2011-05-05 Thread Peter Warren
I'm using the Google Plugin for Eclipse and upgraded today to gwt 2.3. Now when running my project I get the exception below about a problem serializing LinkedList. If I switch back to gwt 2.2 my app works great again. Any tips? Thanks, Peter com.google.gwt.user.client.rpc.IncompatibleRemoteSe

Re: SerializationException problem, please advice!

2011-02-14 Thread Sebastian Rothbucher
Hi, this is a mean exception - as it seems to happen irregularly. In case you have the same problems I also had already: take the outermost object (the one you directly pass into the service or return from the service) and create private local variables for ALL types that have ever caused problems.

Re: SerializationException problem, please advice!

2011-02-14 Thread Jeff Larsen
No constructor is the same as a default constructor, so you should be fine. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send ema

Re: SerializationException problem, please advice!

2011-02-14 Thread Andrei Cosmin Fifiiţă
Some of them have no constructor. The rest is ok On Feb 14, 2011 8:40 PM, "Jeff Larsen" wrote: > Does every entity follow the required serialization policy for gwt? i.e. > have a default constructor and all nested objects are serializable. Note > Class is not serializable. > > -- > You received th

Re: SerializationException problem, please advice!

2011-02-14 Thread Jeff Larsen
Does every entity follow the required serialization policy for gwt? i.e. have a default constructor and all nested objects are serializable. Note Class is not serializable. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: SerializationException problem, please advice!

2011-02-14 Thread Andrei Cosmin Fifiiţă
So basicaly there is no pb if every entity implements IsSerializable and the top class, that is extended by those entities, implements java.io.Serializable? On Feb 14, 2011 5:13 PM, "joe kolba" wrote: > I have ran into this problem also. First thing make sure everything is > implementing IsSeriali

Re: SerializationException problem, please advice!

2011-02-14 Thread joe kolba
I have ran into this problem also. First thing make sure everything is implementing IsSerializable, second make sure that you refresh your webapp folder in the web-inf so your .rpc files get refreshed. Most of the time I have to encounter a RPC exception in order to force the rpc file to be creat

SerializationException problem, please advice!

2011-02-14 Thread Ice13ill
I use GWT to develop my app, deploying it to GAE. Sometimes, (more often when switching between different versions) i get this exception: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'ro.expert.evt.shared

Re: SerializationException: Why with default Constructor -yes! implements Serializable- yes!

2011-01-26 Thread Maurice Nee
u use IsSerializable, the policy file is not consulted. Like I said, your code above works on my machine. Did you test using Serializable and recompiling? -Lyden On Jan 23, 11:21 pm, Shawn Brown wrote: > Hi, > > Why do I get "SerializationException: Type 'IdKeyHolder' was not &

Re: SerializationException: Why with default Constructor -yes! implements Serializable- yes!

2011-01-24 Thread Shawn Brown
> should be "implements IsSerializable" Thanks Tolwi!!! Shawn -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google

Re: SerializationException: Why with default Constructor -yes! implements Serializable- yes!

2011-01-24 Thread Tolwi
should be "implements *IsSerializable*" -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...

Re: SerializationException: Why with default Constructor -yes! implements Serializable- yes!

2011-01-23 Thread Maurice Nee
> Why do I get "SerializationException: Type 'IdKeyHolder' was not > included in the set of types which can be serialized by this > SerializationPolicy or its Class object could not be loaded. For > security purposes, this type will not be serialized" >

SerializationException: Why with default Constructor -yes! implements Serializable- yes!

2011-01-23 Thread Shawn Brown
Hi, Why do I get "SerializationException: Type 'IdKeyHolder' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized" import java.io.

Re: BigDecimal SerializationException

2010-11-18 Thread Jeff Schwartz
However, when I sent the object via RPC, I got SerializationException > (BigDecimal is not in whitelist, so the object can not be > deserialized). > > Does anyone have idea about this? > > Thanks in advance. > > Myoungki > > -- > You received this message because you a

BigDecimal SerializationException

2010-11-18 Thread zephyran
Hello, I am using GWT 2.1.0 version. When I try to receive BigDecimal object from RPC, it works. However, when I sent the object via RPC, I got SerializationException (BigDecimal is not in whitelist, so the object can not be deserialized). Does anyone have idea about this? Thanks in advance

RemoteServiceObfuscateTypeNames throws SerializationException

2010-09-03 Thread Gal Dolber
Hi, I am trying to get rpc obfuscation working. Have added this: on my application module, but can't get it working. My rpc is not getting serialized and it fails with a SerializationException (the whole app do not works). Any tip? (I'm on trunk) -- Guit: Elegant, beautiful, m

Re: RPC SerializationException when going from GWT 1.7 to GWT 2.0.4

2010-09-02 Thread Blagoja Chavkoski
Hi, I would say...try with the normal implement Serializable but its important to add for the classes Uniq serilizationUID and i think will work... regards On Mon, Aug 30, 2010 at 11:35 PM, Ken Wielechowski < ken.wielechow...@gmail.com> wrote: > In going from GWT 1.7 to GWT 2.0.4, I am getting

RPC SerializationException when going from GWT 1.7 to GWT 2.0.4

2010-08-30 Thread Ken Wielechowski
In going from GWT 1.7 to GWT 2.0.4, I am getting the following exception: dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: java.lang.reflect.InvocationTargetException at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeWithCustomSeria

SerializationException: why is serializable object sometimes not included in the gwt.rpc file?

2010-08-18 Thread P.tP
I have a problem with the serialisation of one object. Sometimes it works and sometimes it doesn't and I get a SerializationException (see detailed description below). Do you have any idea were this strange behavior comes from and why it sometimes DOES work? Thanks Detailed description:

Re: SerializationException with GWT 2.0.4 and iCal4J

2010-08-02 Thread bernhard
/code.google.com/intl/de/webtoolkit/articles/ using_gwt_with_hibernate.html". The only package where I use iCal4J objects is in package "mydomain.server" which implements the iCal4J services. So, its still not clear to me why the SerializationException is thrown when I call the service.

Re: SerializationException with GWT 2.0.4 and iCal4J

2010-08-02 Thread Thomas Dvornik
> iCal4J calendar objects. > (http://wiki.modularity.net.au/ical4j/index.php?title=Main_Page) > However, when I invoke the RPC service a SerializationException is > thrown: > > com.google.gwt.user.client.rpc.SerializationException: Type > 'net.fortuna.ical4j.model.DateTime'

SerializationException with GWT 2.0.4 and iCal4J

2010-08-02 Thread bernhard
Hallo all, I am using GWT 2.0.4 and try to implement a service that handles with iCal4J calendar objects. (http://wiki.modularity.net.au/ical4j/index.php?title=Main_Page) However, when I invoke the RPC service a SerializationException is thrown

Re: SerializationException, Hibernate, no sets

2010-06-09 Thread fazie
i've resolved problem creating new DTO on the server from this creating by hibernate; On 5 Cze, 14:57, fazie wrote: > Hi, > I've got problem using GWT+Spring+Hibernate+Maven App. > The SerializationException occurs when I use class including another > class (DTO). >

SerializationException, Hibernate, no sets

2010-06-05 Thread fazie
Hi, I've got problem using GWT+Spring+Hibernate+Maven App. The SerializationException occurs when I use class including another class (DTO). public class AddressDTO implements IsSerializable { private static final long serialVersionUID = 1L; private int addr

Re: RPC + SerializationException + Spring Security AccessDeniedException

2010-03-12 Thread Sripathi Krishnan
codeResponse > method it throws an SerializationException. Looking at the stack trace > I see that AccessDeniedException from Spring is thrown, but for some > reason GWT can't serialize it. > > try { >RPC.invokeAndEncodeResponse(target, serviceMethod, args,

RPC + SerializationException + Spring Security AccessDeniedException

2010-03-12 Thread d95sld95
Environment: GWT 2, Spring + Spring Security 3, gwtrpc-spring 1.01 I am trying to implement authentication for my GWT application using Spring Security. But when I call the RPC.invokeAndEncodeResponse method it throws an SerializationException. Looking at the stack trace I see that

SerializationException for InvocationException

2010-03-10 Thread Angelika
Hi! We have written a Client/Server application with GWT 2.0 which works fine on most computers. But on one installation we get the following error message when we try for example to load data into the server via a form submit: Exception while dispatching incoming RPC call com.google.gwt.user.cli

Re: SerializationException

2010-03-03 Thread Edson Richter
Not sure if helps, but I had serious Serialization Exceptions with my beans, because I was using a kind of "property change listener" here, and when the bean was sent to the servlet, it tried to send also the Dialog that was listening to my bean. Error message, unfortunately, was not enough clear.

Re: SerializationException

2010-03-02 Thread Peter Simun
Generics are probably not an issue in this case. Can you post full source code of your GetContactRequest class ? And ... what is GetContactResponse ? Maybe the problem is in that class. Peter On Mar 2, 8:32 pm, Yaakov Chaikin wrote: > No, it wasn't the same problem... I didn't notice that I didn

SerializationException when accessing via mod_jk

2010-03-02 Thread hakito
throws a SerializationException: org.apache.catalina.core.ApplicationContext log SCHWERWIEGEND: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type '[Lat.externet.tmdaclient.client.StockPrice;' was not ass

Re: SerializationException

2010-03-02 Thread Yaakov Chaikin
No, it wasn't the same problem... I didn't notice that I didn't have a no-arg constructor there. Thanks, Yaakov. On Tue, Mar 2, 2010 at 10:09 AM, Paul Robinson wrote: > >> Is this a GWT problem where it fails because I am using generics??? >> > Probably. I see you've already found the issue: > h

Re: SerializationException

2010-03-02 Thread Paul Robinson
> Is this a GWT problem where it fails because I am using generics??? > Probably. I see you've already found the issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=2374 However, do be aware that merely implementing Serializable does not make something gwt-serializable. You als

SerializationException

2010-03-02 Thread Yaakov
Hi, I am implementing a command-pattern based RPC mechanism and got a SerializationException in this line: rpcService.execute(new GetContactRequest(intId), new AsyncCallback() {...}); I traced it down to the GWT-generated _Proxy class where it tries to writeObject on the GetContactRequest object

Re: SerializationException appear suddenly if deployed to production

2010-02-05 Thread Gerson Samaniego
Hi all, I have the following environment: - GWT-2.0.1 - GWT-EXT 2.0.6 - GWTEventService 1.0.2 - Part of POJO Serialization with BeanLib (like Gilead) - JAAS (Autenticate each request in a RemoteEventService extension) - JBoss-4.2.3.GA (Tomcat as WebServer) - Hibernate Since I migrated to gwt 2.0,

Re: SerializationException appear suddenly if deployed to production

2010-02-05 Thread Gerson Samaniego
Hello, I have the following environment: - GWT-2.0.1 - GWT-EXT 2.0.6 - GWTEventService 1.0.2 - Part of POJO Serialization with BeanLib (like Gilead) - JAAS (Autenticate each request in a RemoteEventService extension) - JBoss-4.2.3.GA (Tomcat as WebServer) - Hibernate Since I migrated to gwt 2.0,

SerializationException appear suddenly if deployed to production

2010-02-03 Thread rmuller
I am working with GWT 2.0 since it is released and it is working fine. Till today.. Now I get a lot of SerializationException's even for enum's. See below. "Permissie" is just a "normal" enum. Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'xxx.Permissie' was not assignable

SerializationException: No ClientOracle for permutation

2009-12-25 Thread Tudor Andrei Raneti
I got this error while deploying DynaTable on tomcat 6.0.20 service, help? Dec 25, 2009 9:33:12 PM org.apache.catalina.core.ApplicationContext log SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: No ClientOracle for permutation 9FAA74222F

Re: SerializationException

2009-10-11 Thread Uwe Post
Meanwhile I found the solution. Looked at the code a hundered times but didn't see it. The JDO @PersistenceCapable annotation must have the detachable="false" flag. It was true instead, for each other of my classes it was correctly set to false. detachable="true" puts a field jdoDetachedState in

SerializationException

2009-10-11 Thread Uwe Post
ist, int and other model classes. The GWT compiler doesn't complain about my classes, and I'm quite sure that some weeks ago the whole thing worked (but I changed the database layer and cannot rollback the code to check that). I hope somebody can help me: In which case can a Serializatio

Re: SerializationException is lost

2009-10-09 Thread Sripathi Krishnan
GWT gives you the opportunity to log exceptions the way you want them. For server side exceptions, just override the RemoteServiceServlet.doUnexpectedFailure() in your RPC Servlet and put appropriate loggers over there. For client side exceptions, call GWT.setUncaughtExceptionHandler() and regist

Re: SerializationException is lost

2009-10-09 Thread Chris Ramsdale
I think it depends on just what is useful, which itself largely depends on what problem you are trying to track down. In many cases where data isn't being returned across the wire, the data returned in the GWT stack traces can be helpful. In fact, in some cases it will even suggest resolution; inco

Re: SerializationException is lost

2009-10-08 Thread Geoffrey Wiseman
On Oct 8, 6:56 pm, Sripathi Krishnan wrote: > Deliberate decision .. > > Few reasons that I know of -- I buy the not transmitting the errors to the client part; what I don't understand is why the server log doesn't seem to show anything useful in this case, at least, where it's come up for me. -

Re: SerializationException is lost

2009-10-08 Thread Sripathi Krishnan
Deliberate decision .. Few reasons that I know of -- a) Server code is capable of generating exceptions which can't be translated to javascript. Things like HibernateException can't be translated to JS. b) From a security perspective, you don't want your server side stack traces to be available t

Re: SerializationException is lost

2009-10-08 Thread Geoffrey Wiseman
On Sep 12, 7:39 am, Sripathi Krishnan wrote: > No - GWT doesn't propagate that exception/message to the client. Is this a bug, tracked somewhere, or a deliberate decision that doesn't currently make sense to me? :) --~--~-~--~~~---~--~~ You received this message

Using enum and serializationexception during rpc...

2009-10-07 Thread padysr...@gmail.com
gwt 1.7, jdk 6. I have a java enum in an object which I send to the client. This works fine in hosted mode. When I deployed the war in tomcat, i get the "type was not included in the set of types which can be serialized" exception. My enum is defined as... public interface AttributeConstantsIfc

[Resolved] SerializationException on the server side

2009-10-01 Thread Richard
Yes, sorry for my crap code. I've replaced all my anonymous objects and it works now. Thank you for your help. On 1 oct, 11:44, olivier nouguier wrote: > Sorry, not easy to read java code in mail ... > > I think your anonymous array list are not (GWT) serializable. > > Indeed, you seem to use a

Re: SerializationException on the server side

2009-10-01 Thread olivier nouguier
Sorry, not easy to read java code in mail ... I think your anonymous array list are not (GWT) serializable. Indeed, you seem to use array list in a very strange way... Please try to replace: final Article b = new Article(0, "Title 2", new ArrayList() {{add("J2EE");add("eclipse");}}, "some conte

Re: SerializationException on the server side

2009-10-01 Thread olivier nouguier
Hi, What is "'fr.km.server.KMServiceImpl$5" this anonimous class ? What is this method "add(...)" it's seem to produce a wrapper on Article classes ? On Thu, Oct 1, 2009 at 11:17 AM, Richard wrote: > > Hi All, > > I've tried my first GWT RPC project without success. I think I' > missing somet

SerializationException on the server side

2009-10-01 Thread Richard
Hi All, I've tried my first GWT RPC project without success. I think I' missing something but I don't find what. Can you help me finding what's wrong ? === The exception === 1 oct. 2009 11:06:18 com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1254387978424

Re: SerializationException is lost

2009-09-12 Thread Sripathi Krishnan
in your RPC servlet - because GWT >>>> has no way of compiling that into javascript objects. >>>> >>>> In your case, org.hibernate.collection.PersistentBag cannot be a part of >>>> any object that is returned as part of RPC service call. >>>&g

Re: SerializationException is lost

2009-09-12 Thread Mohsen Saboorian
t;>> any object that is returned as part of RPC service call. >>> >>> --Sri >>> >>> >>> 2009/9/12 Mohsen Saboorian >>> >>> Hi, >>>> >>>> When retrieving a Hibernate/JPA entity from server, I'm getting

Re: SerializationException is lost

2009-09-12 Thread Sripathi Krishnan
>> any object that is returned as part of RPC service call. >> >> --Sri >> >> >> 2009/9/12 Mohsen Saboorian >> >> Hi, >>> >>> When retrieving a Hibernate/JPA entity from server, I'm getting >>> SerializationException be

Re: SerializationException is lost

2009-09-12 Thread Mohsen Saboorian
> > In your case, org.hibernate.collection.PersistentBag cannot be a part of > any object that is returned as part of RPC service call. > > --Sri > > > 2009/9/12 Mohsen Saboorian > > Hi, >> >> When retrieving a Hibernate/JPA entity from server, I'm

Re: SerializationException is lost

2009-09-12 Thread Sripathi Krishnan
Hi, > > When retrieving a Hibernate/JPA entity from server, I'm getting > SerializationException because of lazy issues. I know some ways to solve > this issue, but my current problem is that I cannot see the exception > anywhere when it happens. AsyncCallback.on

SerializationException is lost

2009-09-12 Thread Mohsen Saboorian
Hi, When retrieving a Hibernate/JPA entity from server, I'm getting SerializationException because of lazy issues. I know some ways to solve this issue, but my current problem is that I cannot see the exception anywhere when it happens. AsyncCallback.onFailure() is fired with: StatusCodeExce

  1   2   >