Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

problem with creating ServiceInstance

$
0
0

My project Is C++ based JNI application to get the Esxiserver details, The C++ code sends the Request to JavaMethod(Through JNI) to get the Details of the EsxiServer, I'm able to get the ServiceInstance on the First time, but on the second time (Without Quitting the exe) unable to get the service instance of the Esxi server,The ServiceInstance call gets stuck and the application crashes after 30 minutes

 

While calling the below line from java the application gets stuck and after 30 minutes the application gets crashing with the below print

 

ServiceInstance si = new ServiceInstance(new URL(m_Url),m_UserName, m_Password,true);

 

#

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

#

  1. Internal Error (safepoint.cpp:317), pid=4653, tid=1752824688

  2. guarantee(PageArmed == 0) failed: invariant

#

  1. JRE version: 7.0_25-b15

  2. Java VM: Java HotSpot(TM) Server VM (23.25-b01 mixed mode linux-x86 )

  3. Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

#

Aborted (core dumped)

 

what am I doing wrong what might be the reason for the ServiceInstance failure on the second time?

 


Viewing all articles
Browse latest Browse all 1860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>