sap定义连接空指针异常

使用sap数据集插件报

16:06:59 AWT-EventQueue-0 ERROR [standard]  

java.lang.NullPointerException

at com.fr.plugin.sap.sap.SAPUtilsJDK5.getConnection(Unknown Source)

at com.fr.plugin.sap.sap.SAPUtilsJDK5.getBapiTablesName4DifferentJDK(Unknown Source)

at com.fr.plugin.sap.sap.SAPUtilsJDK5.getBapiTablesNameByCon(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at com.fr.plugin.sap.sap.SAPTableDataPane.populateUserDefinedPane(Unknown Source)

at com.fr.plugin.sap.sap.SAPTableDataPane.populateBean(Unknown Source)

at com.fr.plugin.sap.sap.SAPTableDataPane.populateBean(Unknown Source)

at com.fr.design.data.tabledata.wrapper.TableDataFactory.creatTableDataPane(Unknown Source)

at com.fr.design.data.tabledata.wrapper.AbstractTableDataWrapper.creatTableDataPane(Unknown Source)

at com.fr.design.data.BasicTableDataTreePane$TDAction.actionPerformed(Unknown Source)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)

at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)

at javax.swing.AbstractButton.doClick(AbstractButton.java:376)

at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)

at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)

at java.awt.Component.processMouseEvent(Component.java:6539)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)

at java.awt.Component.processEvent(Component.java:6304)

at java.awt.Container.processEvent(Container.java:2239)

at java.awt.Component.dispatchEventImpl(Component.java:4889)

at java.awt.Container.dispatchEventImpl(Container.java:2297)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)

at java.awt.Container.dispatchEventImpl(Container.java:2283)

at java.awt.Window.dispatchEventImpl(Window.java:2746)

at java.awt.Component.dispatchEvent(Component.java:4711)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

at java.awt.EventQueue.access$500(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:709)

at java.awt.EventQueue$3.run(EventQueue.java:703)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

at java.awt.EventQueue$4.run(EventQueue.java:733)

at java.awt.EventQueue$4.run(EventQueue.java:731)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

空指针异常,请问sap数据连接怎么定义字符集微信截图_20210607090205.png

FineReport 冰雨咖啡 发布于 2021-6-7 16:06 (编辑于 2021-6-7 16:07)
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共2回答
最佳回答
0
zsh331Lv8专家互助
发布于2021-12-10 18:00

-- SAP 数据集插件-https://help.fanruan.com/finereport/doc-view-103.html

-- 新SAPBW数据集插件-https://help.fanruan.com/finereport/doc-view-1466.html

——————————————

最佳回答
0
luojian0323Lv7资深互助
发布于2021-6-7 16:28

参考这个答案:

https://bbs.fanruan.com/wenda/question/56316.html

意思是排查字符集编码。

  • 3关注人数
  • 298浏览人数
  • 最后回答于:2021-12-10 18:00
    请选择关闭问题的原因
    确定 取消
    返回顶部