Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    LinkedMap cannot be cast to AdvancedCritera

    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.
    Last edited by stonebranch1; 24 Jan 2014, 17:00. Reason: more info

    #2
    Thanks for reporting this, this is fixed for tomorrow's build.

    Comment


      #3
      Thank You Kindly. Will give it a go.

      Comment


        #4
        It is working fine now. Thanks.

        Comment

        Working...
        X