Problematic frame C [dcpssaj.dll+0x11fdb]

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fef06e1fdb, pid=4240, tid=7476

#

# JRE version: 6.0_27-b03

# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b03 mixed mode windows-amd64 compressed oops)

# Problematic frame:

# C  [dcpssaj.dll+0x11fdb]

#

# If you would like to submit a bug report, please visit:

#   http://java.sun.com/webapps/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

每次运行都是抛出这个异常,一开始以为是dcpssaj.dll库的一个bug,但是跑HelloWorld例子可以随便跑,这让我很吐血。另一个网上关于dds的资料相当少,没法从网上获取更多解决资源。没办法,只能从头开始调试程序。

经过几天调试。发现枚举类型必须要有初始化,如果c++里面的publisher没有初始化,java输出抛出如上异常。

终于跑通、、、、、、跨平台让人很吐血,也让人很惊喜。。。。。

你可能感兴趣的:(opensplice,dds,java,c/c++,runtime)