Note that there are some explanatory texts on larger screens.

plurals
  1. POGWT 2.5 breaks RPC method - fine on 2.4, but not working after upgrade
    primarykey
    data
    text
    <p>After upgrade from GWT 2.4.0 to 2.5.0 only one of many (many!) RPC methods is broken and I have no idea why. Here is what happens (and what does not):</p> <ol> <li>The program gets to async service object and calls its method.</li> <li>Underyling, generated by GWT proxy object exists and is called (I don't know its internals, though).</li> <li>The browser doesn't send any request to server (at least developer tools built into Google Chrome doesn't show anything like that happening. On the other hand... see 5.).</li> <li>The implementation on server is never called.</li> <li>If I stop the server, however, <code>AsyncCallback.onFailure(Throwable)</code> is executed immediately.</li> </ol> <p>I'll repeat for sake of clarity: <strong>the very same code works like a charm on GWT 2.4.0</strong> and other metods (most of them if not all) work just fine even on 2.5.0.</p> <p>Now some code. Not sure if necessary, but...</p> <p><strong>Async interface</strong></p> <pre><code>public interface BrokenServiceAsync { public void getData(int id, State state, AsyncCallback&lt;Data&gt; asyncCallback); } </code></pre> <p>Both <strong>State interface</strong> (method param) and it's only implementation are declared in external module (added as jar package). I though this could be the case of that problem, but other methods are using these classes too. And there are no compile-time errors.</p> <p><strong>Data</strong> contains a String and an ArrayList of objects subclassing com.extjs.gxt.ui.client.data.BaseModelData. Most other methods use similar objects and it works.</p> <p>Any ideas? Thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload