This discussion is archived
2 Replies Latest reply: Dec 23, 2005 12:17 PM by 472728 RSS

Problems with JVM crashing when doing a fetch

472728 Newbie
Currently Being Moderated
I am writing my first java program using the SDK for on windows. I can connect, authenticate, and get a handle. But any time I use a Fetch function the JVM crashes with an EXCEPTION_ACCESS_VIOLATION. It looks like something is not installed properly and there are missing links, so the sdk tries to call a bad location.
Note that I do not have the calendar server installed on this machine - just the sdk.

Any ideas on what could be wrong.

The code I'm using is:

import oracle.calendar.sdk.*;

public class testcal {

public static void main(String[] args) throws Exception{

RequestResult rr = null;
String[] tt = {"ATTENDEE",""};

System.loadLibrary( "csdkjni" );
Session sess = new Session();


Handle h = sess.getHandle(Api.CAPI_FLAG_NONE,"xxxxx");

Handle[] hh = {h};



The error I get from the JVM is:

# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x08078e81, pid=1052, tid=3784
# Java VM: Java HotSpot(TM) Client VM (1.4.2_10-b03 mixed mode)
# Problematic frame:
# V [jvm.dll+0x78e81]