incubator-teaclave-java-tee-sdk icon indicating copy to clipboard operation
incubator-teaclave-java-tee-sdk copied to clipboard

工厂创建TEE_SDK模式空指针

Open rogueVpedro opened this issue 1 year ago • 7 comments

Uploading image.png…

创建的lib_tee_sdk_svm_load.signed的临时文件是个空文件,导致文件流空指针异常,无法创建TEE_SDK的实例。请问如何解决?

rogueVpedro avatar Jul 30 '24 11:07 rogueVpedro

Can you provide the exception stack trace and the steps to reproduce your issue?

ziyilin avatar Jul 31 '24 05:07 ziyilin

Can you provide the exception stack trace and the steps to reproduce your issue?

Can you provide the exception stack trace and the steps to reproduce your issue?

Hello, the null pointer error has been placed below. We conducted testing based on the Docker pulled image from Ubuntu

rogueVpedro avatar Jul 31 '24 16:07 rogueVpedro

Can you provide the exception stack trace and the steps to reproduce your issue?

If you could help solve this problem, I would greatly appreciate it!

rogueVpedro avatar Jul 31 '24 16:07 rogueVpedro

Can you provide the exception stack trace and the steps to reproduce your issue?

ead39fd6f80818d132f64a6026dfc47 null point trace

We tried to call the interface using the sgx TEE_SDK mode after compilation, but the result failed

rogueVpedro avatar Jul 31 '24 16:07 rogueVpedro

Can't see your image.

ziyilin avatar Aug 01 '24 02:08 ziyilin

ead39fd6f80818d132f64a6026dfc47 null point trace

rogueVpedro avatar Aug 01 '24 15:08 rogueVpedro

Looks like lib_tee_sdk_svm_load.signed is missed. It is a signed file for the enclave native image. It should be generated after enclave native image is built out. Please check if you have encountered any build time issue causing the miss of lib_tee_sdk_svm_load.signed file.

ziyilin avatar Aug 02 '24 07:08 ziyilin