当我在客户端调用方法时,对于分布式引用对象,我有此消息错误:
Exception in thread "main" org.omg.CORBA.BAD_OPERATION:
at org.omg.CORBA.portable.ObjectImpl._get_delegate(ObjectImpl.java:18)
at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:130)
at fr.esiag.commun._ManageDemandStub.createDemand(_ManageDemandStub.java
:28)
at fr.esiag.commun.resource.MyInvocationHandler.invoke(MyInvocationHandl
er.java:29)
at com.sun.proxy.$Proxy0.createDemand(Unknown Source)
at org.TD.TransactionDriver.main(TransactionDriver.java:55)
有人可以告诉我这意味着什么吗?
答案 0 :(得分:4)
当您尝试调用servant中不存在的方法时,会发生BAD_OPERATION expception。我认为你投射(而不是缩小)远程对象是错误的。也许它与您的previous question
相关