Re: RequestFactory Error -- java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method

2012-08-08 Thread Ryan Shillington
It's already been reported here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5778 Looks like it's a devMode only issue. Ryan On Wednesday, April 25, 2012 10:14:04 PM UTC-5, Pradeep B Pillai wrote: The following is the other error i get frequently and this seems like its

Re: RequestFactory Error -- java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method

2012-08-08 Thread Ryan Shillington
I've been seeing something similar for ages. My code isn't anywhere in this stack trace. I have no idea what to do. I'll report it. java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method

GWT RequestFactory Error when firing request : org.springframework.beans.factory.NoSuchBeanDefinitionException

2012-07-25 Thread Radu Chilom
I have a maven+spring+gwt project in which i want to use request factory. I just can't figure out why I get this exception. Request factory: public interface StarRequestFactory extends RequestFactory { @Service(value = RaduService.class, locator = GWTServiceLocator.class)

Re: RequestFactory - Error: The requested type is not default-instantiable

2012-06-09 Thread zorro
http://code.google.com/p/google-web-toolkit/issues/detail?id=7414 Dne pátek, 8. června 2012 16:48:47 UTC+2 Thomas Broyer napsal(a): On Friday, June 8, 2012 4:14:44 PM UTC+2, zorro wrote: Well, I have the requestFactory-apt set as annotation processor. But maybe problem is that the type

Re: RequestFactory - Error: The requested type is not default-instantiable

2012-06-08 Thread Thomas Broyer
On Friday, June 8, 2012 12:59:57 AM UTC+2, zorro wrote: Is there a way to find out WHICH TYPE other then scanning my large codebase? Isn't ValidationTool giving you warnings? You can also simply put a breakpoing into ReflectiveServiceLayer where this error is reported and look at the

Re: RequestFactory - Error: The requested type is not default-instantiable

2012-06-08 Thread zorro
There is no such 02:47:55.811 [ERROR] [roamtopix] Uncaught exception escaped com.google.web.bindery.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses at

Re: RequestFactory - Error: The requested type is not default-instantiable

2012-06-08 Thread zorro
Compiler gives me errors related to JSNI. Nothing more. Isn't ValidationTool giving you warnings? I have: init-param param-namesymbolMapsDirectory/param-name !-- You'll need to compile with -extras and move the symbolMaps directory to this location if you want stack trace deobfuscation to work

Re: RequestFactory - Error: The requested type is not default-instantiable

2012-06-08 Thread zorro
That breakpoint really helped. (It is trying to instantiate an interface - due to some refactoring) Dne pátek, 8. června 2012 10:00:41 UTC+2 Thomas Broyer napsal(a): On Friday, June 8, 2012 12:59:57 AM UTC+2, zorro wrote: Is there a way to find out WHICH TYPE other then scanning my large

Re: RequestFactory - Error: The requested type is not default-instantiable

2012-06-08 Thread Thomas Broyer
On Friday, June 8, 2012 2:14:27 PM UTC+2, zorro wrote: Why the aforementioned error message The requested type is not default-instantiable does not include concrete type info? It would speed up development. I agree (kind of), though in theory this should have been caught up by the

Re: RequestFactory - Error: The requested type is not default-instantiable

2012-06-08 Thread zorro
Well, I have the requestFactory-apt set as annotation processor. But maybe problem is that the type that I wanted to create on server is an interface! And this is not covered by compiler at all! Can I say to this magical RequestFactory stuff say what type to instantiate on the server, if

Re: RequestFactory - Error: The requested type is not default-instantiable

2012-06-08 Thread Thomas Broyer
On Friday, June 8, 2012 4:14:44 PM UTC+2, zorro wrote: Well, I have the requestFactory-apt set as annotation processor. But maybe problem is that the type that I wanted to create on server is an interface! And this is not covered by compiler at all! Would you mind filing an issue on the

Re: RequestFactory - Error: The requested type is not default-instantiable

2012-06-08 Thread zorro
Dne pátek, 8. června 2012 16:48:47 UTC+2 Thomas Broyer napsal(a): On Friday, June 8, 2012 4:14:44 PM UTC+2, zorro wrote: Well, I have the requestFactory-apt set as annotation processor. But maybe problem is that the type that I wanted to create on server is an interface! And this is

RequestFactory - Error: The requested type is not default-instantiable

2012-06-07 Thread zorro
Is there a way to find out WHICH TYPE other then scanning my large codebase? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/UHu_fyXgIgMJ. To

RequestFactory Error -- java.lang.IllegalArgumentException: Something other than a Java object was returned from JSNI method

2012-04-27 Thread Pradeep B Pillai
The following is the other error i get frequently and this seems like its more related to request factory and I dont know why its happening ..Should I open a bug ? I'm using GWT 2.4, browser Chrome 18.0.1025.1065 One or more exceptions caught, see full set in UmbrellaException#getCauses -

RequestFactory error management

2011-09-26 Thread ungarida
Hi all, the scenario is: - I have an ententy with its requestfatory, which manages correctly constraints violations. - I want also to catch an SQLException for a duplicate key and send an error message to the client. From documentation is specified that onFailure callback receives general

Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
Try to include gwt-servlet-deps.jar in compile scope, although you don't need it at all... This is the minimal configuration for RFhttp://blog.loxal.net/2011/09/maven-configuration-for-requestfactory.html . -- You received this message because you are subscribed to the Google Groups Google

Re: RequestFactory error

2011-09-12 Thread Pavel Byles
It happens at run time. I have 0 errors and 0 warnings at compile time. On Mon, Sep 12, 2011 at 12:26 AM, Y2i yur...@gmail.com wrote: Does java.lang.**NoClassDefFoundError: org/json/JSONException happen during compilation or run-time? -- You received this message because you are subscribed

Re: RequestFactory error

2011-09-12 Thread Y2i
Not sure what to say... May be, if you are in Eclipse, type Ctrl+Shift+T and search for JSONException. How many do you see? My hope is you'll see more then one. Another option is trying to add org.json to your class path if it's not there yet (but if it was required for compilation, you would

Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
Compile scope in Maven means that it's also available at runtime. I had exact the same error several times and as far as I remember I solved it by adding gwt-servlet-deps.jar to the system scope which is basically the same as the compile scope in Maven. Also gwt-servlet-deps.jar has

Re: RequestFactory error

2011-09-12 Thread Pavel Byles
Hi Alexander, I removed my hibernate-validator (because I was getting errors from that for some reason about missing org.loggerfactory). I'm making progress!!! (I think) So now I'm getting a 500 error: Problem accessing /gwtRequest On Mon, Sep 12, 2011 at 11:29 AM, Alexander Orlov

Re: RequestFactory error

2011-09-12 Thread Pavel Byles
I added the gwt-servlet-deps.jar btw. On Mon, Sep 12, 2011 at 11:29 AM, Alexander Orlov alexander.or...@loxal.net wrote: Compile scope in Maven means that it's also available at runtime. I had exact the same error several times and as far as I remember I solved it by adding

Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
Did you add a corresponding RF servlet handler to your web.xml? servlet servlet-namereqFactory/servlet-name servlet-classcom.google.web.bindery.requestfactory.server.RequestFactoryServlet/servlet-class /servlet servlet-mapping

Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
in your case maybe: url-pattern*/gwtRequest*/url-pattern -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/BuTwBMjVxgQJ. To post to this group,

Re: RequestFactory error

2011-09-12 Thread Pavel Byles
Here's what I have: servlet servlet-namerequestFactoryServlet/servlet-name servlet-classcom.google.web.bindery.requestfactory.server.RequestFactoryServlet/servlet-class /servlet servlet-mapping servlet-namerequestFactoryServlet/servlet-name url-pattern/gwtRequest/url-pattern

Re: RequestFactory error

2011-09-12 Thread Thomas Broyer
You don't need gwt-servlet-deps if you add org.json:json and javax.validation:validation-api (see http://search.maven.org/#artifactdetails%7Ccom.google.gwt%7Cgwt-servlet%7C2.4.0%7Cjar copy/paste the dependenciesand remove the optionaltrue/optional); or you can simply use requestfactory-server

Re: RequestFactory error

2011-09-12 Thread Alexander Orlov
On Monday, September 12, 2011 6:36:45 PM UTC+2, Pavel Byles wrote: So now I'm getting a 500 error: Problem accessing /gwtRequest 500? You would get Error 404 when */* isn't your app context what's mostly the case. My url-pattern is *planer/gwtRequest *because in my *.gwt.xml I've *module

Re: RequestFactory error

2011-09-12 Thread Thomas Broyer
The default URL is relative to the host page base URL, not the module, so it doesn't matter how your module is compiled, only how it's loaded (or rather, where it's loaded from); so /gwtRequest is actually fine in most cases. See

Re: RequestFactory error

2011-09-12 Thread Pavel Byles
Hi Thomas, thanks for the link. Alexander, my host page url is: http://127.0.0.1:/ and I also tried ur solution. If I set the url-pattern to something wrong I do get a 404. So I think I'm getting a genuine 500 internal server error. Console says I need to run the ValidationTool for my

Re: RequestFactory error

2011-09-11 Thread Pavel Byles
I'm now getting: Caused by: java.lang.NoClassDefFoundError: org/json/JSONException Caused by: java.lang.ClassNotFoundException: null at this line: requestFactory.employeeRequest().getName().fire(new ReceiverString() { @Override public void onSuccess(String response) {

Re: RequestFactory error

2011-09-11 Thread Y2i
Sometimes ClassNotFound occurs when there are 2 conflicting classes. Check this out http://code.google.com/p/google-web-toolkit/issues/detail?id=6785, may be it's related to your problem: requestfactory-server.jar has a copy of org/json/JSONException, and you may have another copy sitting

Re: RequestFactory error

2011-09-11 Thread Pavel Byles
Thanks for your help, however I'm still getting the same error. On Sun, Sep 11, 2011 at 2:26 AM, Y2i yur...@gmail.com wrote: Sometimes ClassNotFound occurs when there are 2 conflicting classes. Check this outhttp://code.google.com/p/google-web-toolkit/issues/detail?id=6785, may be it's

Re: RequestFactory error

2011-09-11 Thread Y2i
Do you have org/json/JSONException anywhere in your class path? May be your are using unbundled versionhttps://groups.google.com/d/msg/google-web-toolkit/R5QNo2y8Nyo/zD7DyoMMuNkJof requestfactory-server.jar? -- You received this message because you are subscribed to the Google Groups

Re: RequestFactory error

2011-09-11 Thread Pavel Byles
Yes, I downloaded the maven version of requestfactory-server and I've copied the org.json jar to my war/lib dir. On Sun, Sep 11, 2011 at 10:43 PM, Y2i yur...@gmail.com wrote: Do you have org/json/JSONException anywhere in your class path? May be your are using unbundled

Re: RequestFactory error

2011-09-11 Thread Y2i
Does java.lang.NoClassDefFoundError: org/json/JSONException happen during compilation or run-time? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

RequestFactory error

2011-05-17 Thread Pavel Byles
For some reason I'm getting this error while trying to set up my code to use RequestFactory: No source code is available for type com.google.web.bindery.requestfactory.shared.RequestT; did you forget to inherit a required module? No source code is available for type

Re: RequestFactory error

2011-05-17 Thread Juan Pablo Gardella
See javadoc: RequestFactory has moved to com.google.web.bindery.requestfactory. This package will be removed in a future version of GWT. Check if the module is in the new package 2011/5/17 Pavel Byles pavelby...@gmail.com For some reason I'm getting this error while trying to set up my code

Re: RequestFactory error

2011-05-17 Thread Hilco Wijbenga
On 17 May 2011 19:36, Pavel Byles pavelby...@gmail.com wrote: For some reason I'm getting this error while trying to set up my code to use RequestFactory: No source code is available for type com.google.web.bindery.requestfactory.shared.RequestT; did you forget to inherit a required module?

Re: RequestFactory error

2011-05-17 Thread Pavel Byles
Hmm.. I saw this but didn't realised it applied to the *.gwt.xml! Thanks for the help!! On Tue, May 17, 2011 at 9:51 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: See javadoc: RequestFactory has moved to com.google.web.bindery.requestfactory. This package will be removed in a