1

我正在尝试使用以下代码从 Java+jIntegra 连接到 HP QC 10:

System.setProperty("JINTEGRA_NATIVE_MODE", ""); 

TDConnection connection = new TDConnection();
System.out.println("TDConnection object created");

connection.initConnectionEx("http://myserver:8080/qcbin/");
System.out.println("Connection initialized");

connection.login("user", "pass");
System.out.println("Logged in");

connection.connect("domain", "project");
System.out.println("Connected");

System.out.println(connection.isConnected());

在我调用 connection.isConnected() 之前一切看起来都很好,这会导致 JVM 崩溃:

# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0b1d3cfc, pid=24452, tid=24052
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode windows-x86)
# Problematic frame:
# C  [ntvinv.dll+0x13cfc]

据我所知,错误报告文件没有显示任何有意义的内容。不幸的是,我无法使用 QC11,因此无法使用 RESTful API。

知道如何解决这个问题吗?

谢谢,马可

4

0 回答 0