Re: GWT Subeditor not working

49 views
Skip to first unread message

Thomas Broyer

unread,
Dec 5, 2012, 4:25:16 PM12/5/12
to google-we...@googlegroups.com
Looks like you forgot to initialize() your EditorDriver

On Wednesday, December 5, 2012 1:28:35 PM UTC+1, Naresh wrote:
Hello everyone,

I am trying to implement an edit dialog for a grid using UI binder, request factory and GWT editor. I am able to fetch records in grid and when user clicks on particular row trying to open the dialogue populated with appropriate values using GWT Editor. My POJO/Proxy class has references to other entities. In this case I am trying to use subeditor. However I struck at a place where every time  driver.edit(proxy, requestContext()); throws below exception.

Caused by: java.lang.NullPointerException: null
    at com.google.web.bindery.requestfactory.gwt.client.impl.AbstractRequestFactoryEditorDriver.edit(AbstractRequestFactoryEditorDriver.java:168)

Please let me know if I am missing anything.
Reply all
Reply to author
Forward
0 new messages