Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- JSONObject output = serviceContext.executeService(GET_UNREGISTER_RESELLER_DETAIL_LIST, jsonInput);
- JSONObject result = JSONObjectUtil.getResult(output);
- log.info("RESULT == " + result);
- if (ServiceResult.isOk(output)) {
- log.info("output_OK:");
- gridList= (List<JSONObject>) result.get("unregisterResellerDetailList");
- } else if (ServiceResult.isFail(output)) {
- MessageHelper.displayError(result);
- }
- } catch (Exception ex) {
- log.info(ex.getMessage(), ex);
- MessageHelper.displayError(ex.getMessage());
- }
- ================================================================
- //error nya
- java.lang.ClassCastException: org.json.simple.JSONObject cannot be cast to java.util.List
- at org.jleaf.erp.mlm.web.controller.unregisterreseller.InputUnregisterResellerController.loadUnregisterResellerDetail(InputUnregisterResellerController.java:211)
- at org.jleaf.erp.mlm.web.controller.unregisterreseller.InputUnregisterResellerController.prepareEdit(InputUnregisterResellerController.java:144)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement