开发者社区> 问答> 正文

jacob获取属性,报错com.jacob.com.ComFailExcepti?报错

我在调用其他公司提供的DLL,获取属性的时候:

 String fpdm0=  Dispatch.get(ds, "FPDM").getString(); 

,报了这个错:

com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: FPJE
Description: ??Ч??????????


at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:804)
at com.jacob.com.Dispatch.get(Dispatch.java:1153)
at nc.ui.so.so002.SaleInvoiceUI.onSoTax(SaleInvoiceUI.java:2837)
at nc.ui.so.so002.SaleInvoiceUI.onButtonClicked(SaleInvoiceUI.java:6390)
at nc.ui.pub.ToftPanel.handleButtonEvent(ToftPanel.java:204)
at nc.ui.pub.FramePanel.dispatchButtonEvent(FramePanel.java:309)
at nc.ui.pub.FramePanel.access$100(FramePanel.java:58)
at nc.ui.pub.FramePanel$ButtonHandler.buttonClicked(FramePanel.java:181)
at nc.ui.pub.ButtonBar.firePostEvent(ButtonBar.java:357)
at nc.ui.pub.ButtonBar$1.run(ButtonBar.java:225)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

展开
收起
爱吃鱼的程序员 2020-06-14 15:21:40 715 0
0 条回答
写回答
取消 提交回答
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载