OpenDDS / OpenDDS

OpenDDS is an open source C++ implementation of the Object Management Group (OMG) Data Distribution Service (DDS). OpenDDS also supports Java bindings through JNI.
http://www.opendds.org
Other
1.28k stars 463 forks source link

FATAL ERROR in native method: Bad global or local ref passed to JNI #4567

Closed hcb-qf closed 1 month ago

hcb-qf commented 1 month ago

When I run a java test case TestSubscriber in idea, I get the following error.

WARNING in native method: JNI call made without checking exceptions when required to from CallObjectMethodV at DDS.TOPIC_QOS_DEFAULT.get(Native Method) at com.dds.demo.TestSubscriber.main(TestSubscriber.java:48) FATAL ERROR in native method: Bad global or local ref passed to JNI at DDS.TOPIC_QOS_DEFAULT.get(Native Method) at com.dds.demo.TestSubscriber.main(TestSubscriber.java:48) param