You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Not sure if this is a grails problem, a plugin problem, or a problem in my head, but for the life of me I cannot get RPC working with Java RPC and GWT in grails.
Caused by SerializationException: Type 'com.sencha.gxt.data.shared.loader.PagingLoadConfigBean' [This is seralizable though, and working in their example]
This happens with 1.0.3 (earlier) and the 2.0-SNAPSHOT that @donbeave made. This makes me wonder if it's possible (and what magic was presumably done to get it working as a Grails Service). The base project is the GXT 3.1.1 Explorer.
In the generated war, I get an error that the RPC is not found: ERROR: The serialization policy file '/static/js/gwt/explorer/954B65F9DE429170F90997B93C81F349.gwt.rpc' was not found; did you forget to include it in this deployment -> it then gives a warning before the error: Failed to get the SerializationPolicy '954B65F9DE429170F90997B93C81F349' for module 'http://localhost:8181/static/js/gwt/explorer/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result. ->and then the above seralizable error comes
1.1: Going directly to that url, the rpc file is found at http://localhost:8181/static/js/gwt/explorer/954B65F9DE429170F90997B93C81F349.gwt.rpc
In code server mode, the .rpc files are not generated, which may not be an issue, but the same serialization issue happens
To me, it looks like something in the resources plugin gets in the way of finding the url.
After a week, need some input to see what could be interfering. Refreshing caches does not work.
Not sure if this is a grails problem, a plugin problem, or a problem in my head, but for the life of me I cannot get RPC working with Java RPC and GWT in grails.
Caused by SerializationException: Type 'com.sencha.gxt.data.shared.loader.PagingLoadConfigBean' [This is seralizable though, and working in their example]
This happens with 1.0.3 (earlier) and the 2.0-SNAPSHOT that @donbeave made. This makes me wonder if it's possible (and what magic was presumably done to get it working as a Grails Service). The base project is the GXT 3.1.1 Explorer.
1.1: Going directly to that url, the rpc file is found at http://localhost:8181/static/js/gwt/explorer/954B65F9DE429170F90997B93C81F349.gwt.rpc
To me, it looks like something in the resources plugin gets in the way of finding the url.
After a week, need some input to see what could be interfering. Refreshing caches does not work.