I'm struggling with the same issue...
The documentation says Map is a transportable Type but i dont know why it's 
not working.
I'm using sdk version 2.6.0

Any new insights?

Kindest regards, Thomas

Am Mittwoch, 5. Februar 2014 19:28:40 UTC+1 schrieb Nicolas Morel:
>
> Hello, 
>
> I wanted to test the new Map support in RF with GWT 2.6.0 and my first 
> test failed :( 
>
> Here is my RequestContext :
>
> @Service( MyService.class )
> public interface MyServiceContext extends RequestContext {
>     Request<Map<Integer, Integer>> getMap();
> }
>
> When I compile, I have this NullPointerException :
>
> [INFO] java.lang.NullPointerException
> [INFO] at 
> com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator.writeContextImplementations(RequestFactoryGenerator.java:407)
> [INFO] at 
> com.google.web.bindery.requestfactory.gwt.rebind.RequestFactoryGenerator.generate(RequestFactoryGenerator.java:203)
> [INFO] at 
> com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
> [INFO] at 
> com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:676)
>
> If I change the Map<Integer, Integer> to a List<Integer>, it works.
>
> Before I open an issue, is there something I'm not doing correctly ?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to