Root Cause exception : java.rmi.UnmarshalException: failed to unmarshal interfac
动作:开发的Agile PLM下载EQuote报价表,产生的错误。错误日志如下:
原因:由于开发程序中使用的Agile agileclasses.jar包和 weblogic中部署的Agile PLM系统使用的 agileclasses.jar包版本不一致,产生了冲突。
两个jar版本中的类序列号不相同。(stream classdesc serialVersionUID = 429232405881875494,local class serialVersionUID = 2369846962012734310)
解决方案:检查自己开发程序中引用的jar文件 和 weblogic 中部署的Agile PLM系统 使用的jar文件 版本是否一致!即可解决。
Caused by: Error code : 60086
Error message : 有关详细信息,请访问 APIException.getRootCause()。
Root Cause exception : java.rmi.UnmarshalException: failed to unmarshal interface
com.agile.common.client.sandbox.IBaseClientTable;
nested exception is:
java.io.InvalidClassException:
com.agile.common.client.value.ResponseNodeID;
local class incompatible: stream classdesc serialVersionUID = 429232405881875494,
local class serialVersionUID = 2369846962012734310
at com.agile.api.pc.APIObject.createError(APIObject.java:118)
at com.agile.api.pc.TableIterator$MoveWindowAction.doSdkAction(TableIterator.java:225)
at com.agile.api.common.SDKAction.run(SDKAction.java:23)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.security.Security.runAs(Security.java:61)
at com.agile.api.common.WebLogicAuthenticator.doAs(WebLogicAuthenticator.java:111)
at com.agile.api.common.Security.doAs(Security.java:54)
at com.agile.api.common.Security.doAs(Security.java:109)
at com.agile.api.pc.TableIterator.moveWindow(TableIterator.java:179)
.. 20 more
<!--EndFragment-->