GWT Maven Install compile error java.lang.NullPointerException at com.google.gwt.dev.util.DiskCache.transferToStream(DiskCache.java:187)

2013-12-04 Thread umesh shaw
I am having this error. tried all the option to delete gwt cache, temp folder, etc from online. but still no luck Please help.. [ERROR] Exception in thread pool-1-thread-323 *java.lang.NullPointerException* [ERROR] at com.google.gwt.dev.util.DiskCache.transferToStream(

Re: Firefox / GWT plugin troubles

2013-12-04 Thread Stefan Brozinski
Is this known issue ever going to be fixed? I wouldn't call rolling back Firefox from 25.0.1 to 25 a fix. Sounds more like a workaround. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving

about the multilines print out to a GWT widget

2013-12-04 Thread baojian Zhou
hi everybody, I‘m new here. I got a problem when I use the GWT. I want to print out some information in the client widget such as the TextArea. But I cannot find some methods like add() in TextArea when I want to add more information. I want to print out multilines information. Can anyone help

Re: GWT Unexpected internal compiler error

2013-12-04 Thread Dugald
Try getting rid of the gwt-unitCache folder. On Saturday, 16 November 2013 02:00:59 UTC+11, barada wrote: Hi, When I try compile my project I got next error: [INFO] [ERROR] Unexpected internal compiler error [INFO] java.lang.ArrayIndexOutOfBoundsException: 0 [INFO] at

Pure Java RequestFactory client

2013-12-04 Thread salk31
Sorry if I'm being thick but is it possible to have a pure Java RequestFactory client? So no JavaScript engine... I initially wanted to do this to do some stress testing and now I'd like to know if it could be a candidate for the protocol for a remote Java client to our system (we would

Re: about the multilines print out to a GWT widget

2013-12-04 Thread salk31
Can't you just use \n to split lines? I'm not sure how well this will work cross platform, might need a quick Google. On Wednesday, December 4, 2013 7:54:20 AM UTC, baojian Zhou wrote: hi everybody, I‘m new here. I got a problem when I use the GWT. I want to print out some information in the

Re: about the multilines print out to a GWT widget

2013-12-04 Thread Thomas Broyer
On Wednesday, December 4, 2013 8:54:20 AM UTC+1, baojian Zhou wrote: hi everybody, I‘m new here. I got a problem when I use the GWT. I want to print out some information in the client widget such as the TextArea. But I cannot find some methods like add() in TextArea when I want to add more

Re: Pure Java RequestFactory client

2013-12-04 Thread Thomas Broyer
On Wednesday, December 4, 2013 2:12:05 PM UTC+1, salk31 wrote: Sorry if I'm being thick but is it possible to have a pure Java RequestFactory client? So no JavaScript engine... Yes. You can use the UrlRequestTransport for a pure-Java RequestTransport built on top of HttpURLConnection.

Re: Pure Java RequestFactory client

2013-12-04 Thread salk31
Many thanks Thomas, Although playing with Selenium Grid was fun... On Wednesday, December 4, 2013 2:14:22 PM UTC, Thomas Broyer wrote: On Wednesday, December 4, 2013 2:12:05 PM UTC+1, salk31 wrote: Sorry if I'm being thick but is it possible to have a pure Java RequestFactory client? So

Generator - Best way to support custom user extension

2013-12-04 Thread Nicolas Morel
Hi, I'm writing a JSON serialization/deserialization mechanism and I'm looking for advices :) Currently, to use it, you do something like : public interface PersonMapper extends ObjectMapperPerson {} PersonMapper mapper = GWT.create(PersonMapper.class); And the library is generating the

Re: Generator - Best way to support custom user extension

2013-12-04 Thread Jens
GWT-RPC does this by convention. The custom serializer must be in the same package as the class it (de)serializes and is named class name_CustomFieldSerializer, e.g. ImmutableSet_CustomFieldSerializer. I wouldn't use an annotation because a guava collection could be used by a large amount of

Re: PieChart stays in detached DOM tree when removed from parent widget

2013-12-04 Thread akydd
Hi Colin, https://lh4.googleusercontent.com/-sPqHnXrVFXk/Up9xLWDPTkI/ABI/eMFgyy-yBuM/s1600/Screen+Shot+2013-12-04+at+11.04.40+AM.png Thanks for replying so quickly. I've tried compiling with -Dgwt.style=PRETTY and even DETAILED, but the short variable names remain for DOM objects

Re: PieChart stays in detached DOM tree when removed from parent widget

2013-12-04 Thread Colin Alworth
Good to know - that makes it seem rather likely that this leak is entirely within the core visualization code, rather than anything specific to gwt. I would look at plain JS examples of how to use the library, and make sure that a step isn't being missed either by virtue of writing in GWT or by

Re: Generator - Best way to support custom user extension

2013-12-04 Thread Nicolas Morel
Thanks for your answer! GWT-RPC does this by convention. The custom serializer must be in the same package as the class it (de)serializes and is named class name_CustomFieldSerializer, e.g. ImmutableSet_CustomFieldSerializer. Is it not easier to use the TypeOracle to find

Re: Generator - Best way to support custom user extension

2013-12-04 Thread Jens
Is it not easier to use the TypeOracle to find CustomFieldSerializer JClassType and get all its subtype with JClassType.getSubtypes() ? This way you can put your custom serializers anywhere with the name you like. I am not 100% sure but I think in older GWT versions a

JsonpRequestBuilder and Basic Authentication

2013-12-04 Thread BN
Hello I am using gwt jsonprequestBuilder to invoke a rest service which is hosted in a server outside of where gwt client is launched from. Hence the need to use the cross-domain api. I am successfully able to invoke the target service and get the response I need. My problem is the basic

Re: JsonpRequestBuilder and Basic Authentication

2013-12-04 Thread Jens
JSONP boils down to a script tag inserted in your document. Thats why you only have URL parameters. What you need is CORS: http://de.wikipedia.org/wiki/Cross-Origin_Resource_Sharing If the external server is not configured for CORS and you don't have control of that server then your only

how to reproduce.cache.html error in dev

2013-12-04 Thread Bhumika Thaker
Hi All, In my gwt application, I am facing below error in war but not in development. This error is not understandable can any body suggest how can I reach to this error in development. com.google.gwt.core.client.JavaScriptException: (TypeError): a.b.k.j is null stack: GXd([object

Re: [gwt-contrib] Re: Unsupported browsers

2013-12-04 Thread Jens
I agree with Jens' points. We need: 1. Better out of the box experience (give some error message by default) 2. (Assuming we'll have a fallback permutation in the future), provide a way for the app to check for it is in fallback mode (so that it can warn the user). 3. Provide a way to

Re: [gwt-contrib] Re: Unsupported browsers

2013-12-04 Thread Goktug Gokdogan
Filed https://code.google.com/p/google-web-toolkit/issues/detail?id=8478 On Wed, Dec 4, 2013 at 6:11 AM, Jens jens.nehlme...@gmail.com wrote: I agree with Jens' points. We need: 1. Better out of the box experience (give some error message by default) 2. (Assuming we'll have a fallback

[gwt-contrib] Possible bug with gwt-viz PieChart

2013-12-04 Thread akydd
I suggested in the get-google-api Overview, I'm following up here with an issue created. Platform information: OS X 10.9, Chrome 31.0.1650.57, GWT 2.5.1. Unknown if this problem exists on other platforms. After adding a PieChart to a widget (for example, a VerticalPanel) and then removing