使用 JNA 调用 FFI 启动 EasyTier 然后收集网络信息时获得 null #2105
Unanswered
LinQingYuu
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
感觉你发的这个错不是 et 报出来的,这个是全部的报错了么,控制台有没有其他包含 "easytier" 文本的错误打印。我猜测应该也是 et 某个地方实现有 bug,但是现在信息有点少不太好判断 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我用 JNA 写了个包装器来调用 EasyTier
随后本地建了个 EasyTier 的服务端,将 EasyTier 客户端配置为使用此服务器进行信息交换和中继
当我开始运行测试后,弹出了 Windows 防火墙告警(到目前为止一切都很正常)
随后调用 getNetworkInformation 函数后,控制台输出了异常信息并退出
目测应该是 JVM 挂掉了,之前还有一个 Value can not NULL 的错误,不过我现在复现不出来
类定义和项目配置如下,配置项是从网页控制台生成的
https://gist.github.com/LinQingYuu/68b0bab9f52ab786a845e81fd0d3af9e
对 EasyTier 和 JVM P/Invoke 不太熟,写错了轻点喷
Beta Was this translation helpful? Give feedback.
All reactions