Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

LinkedMap cannot be cast to AdvancedCritera

$
0
0
When I upgraded from SNAPSHOT_v9.1d_2014-01-13 to build SNAPSHOT_v9.1d_2014-01-24

I get the exception below when doing a fetch where the ds has the following in it:

Code:

<operationBinding operationType="fetch" operationId="findReferencesPlus">
        <serverObject className="com.xxx.server.datasource.AgentDS" methodName="findReferencesPlus" />
        <criteria fieldName="type" value="2" operator="equals" />
</operationBinding>


Code:

org.apache.commons.collections.map.LinkedMap cannot be cast to com.isomorphic.criteria.AdvancedCriteria

2014-01-24-19:44:03:326 -0500  WARN [http-8080-4] dsRequest.execute() failed:
java.lang.ClassCastException: org.apache.commons.collections.map.LinkedMap cannot be cast to com.isomorphic.criteria.AdvancedCriteria
        at com.isomorphic.datasource.DSRequest.addToCriteria(DSRequest.java:5837)
        at com.isomorphic.rpc.RPCManager.applyEarlierResponseValues(RPCManager.java:2552)
        at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2534)
        at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:215)

If I flip back to the earlier SmartGWT code 2014-01-13 it works fine.

Viewing all articles
Browse latest Browse all 4756

Trending Articles