Hi,
We were using smartclient v10 for our application UI. We are planning to upgrade to v12.1 and while doing initial analysis with the v12.1(SmartClient_v121p_2021-01-09_Enterprise) we saw an issue logging into our application. we are unable to login to our application when we use the v12.1 smartclient jars. Digging through the issue, we noticed an error coming from the
smartclient class - DSResponse.
Below was the exception we got -
java.lang.NoSuchMethodError: com/isomorphic/datasource/DSResponse.setSuccess()Lcom/isomorphic/datasource/DSResponse; (loaded from file:/home/muralik6/SI_61_33000/platform_core/install/noapp/deploy/filegateway_exploded/webapp/WEB-INF/lib/isomorphic_core_rpc.jar by WebAppClassLoader{Filegateway}@fa28eb65)
In our code, we call the method dsResponse.setSuccess().Code sample below -
criteria = dsRequest.getCriteria();
operationType = dsRequest.getOperationType();
ErrorCode.clientLocale = this.browserLocale;
dsResponse.setSuccess();
The error is originating when we make a call to dsResponse.setSuccess();
I saw 12.1 java documentation DSresponse is extending the BaseResponse. The method setSuccess is part of BaseResponse. Can you please let us know why are we seeing the NoSuchMethodError if this method is available.
https://www.smartclient.com/smartgwt...SResponse.html
We were using smartclient v10 for our application UI. We are planning to upgrade to v12.1 and while doing initial analysis with the v12.1(SmartClient_v121p_2021-01-09_Enterprise) we saw an issue logging into our application. we are unable to login to our application when we use the v12.1 smartclient jars. Digging through the issue, we noticed an error coming from the
smartclient class - DSResponse.
Below was the exception we got -
java.lang.NoSuchMethodError: com/isomorphic/datasource/DSResponse.setSuccess()Lcom/isomorphic/datasource/DSResponse; (loaded from file:/home/muralik6/SI_61_33000/platform_core/install/noapp/deploy/filegateway_exploded/webapp/WEB-INF/lib/isomorphic_core_rpc.jar by WebAppClassLoader{Filegateway}@fa28eb65)
In our code, we call the method dsResponse.setSuccess().Code sample below -
criteria = dsRequest.getCriteria();
operationType = dsRequest.getOperationType();
ErrorCode.clientLocale = this.browserLocale;
dsResponse.setSuccess();
The error is originating when we make a call to dsResponse.setSuccess();
I saw 12.1 java documentation DSresponse is extending the BaseResponse. The method setSuccess is part of BaseResponse. Can you please let us know why are we seeing the NoSuchMethodError if this method is available.
https://www.smartclient.com/smartgwt...SResponse.html
Comment