[jvr-general] GlobalCall / ISDN Problem

Marco Brioschi marco.brioschi at mobilmat.it
Mon Feb 16 11:02:25 CST 2004


I suppose the problem is in the jvr_convert_evtdatap_n2j function in
jvr.jpp;
In the jvr_convert_metaevent_n2j function I have temporarely commented
the instruction 

	field = e->GetFieldID(clazz,"evtdata","Ljava/lang/Object;");
/*	e->SetObjectField(
		jmeta,
		field,
		jvr_convert_evtdatap_n2j(
			e,
			meta->evttype,
			meta->evtlen,
			meta->evtdatap,
			meta
		)
	);*/

and now everything works.
Without the comments the instruction
clazz = e->FindClass("net/threebit/jvr/GC_INFO") 
in jvr_convert_evtdatap_n2j 
returns null the third time it is invoked; 
probably in jvr_convert_evtdatap_n2j there is a buffer overrun but i
didn't
look carefully since at the moment i'm not interested in "evtdata"
field.
I hope, my workaround can help you to discover the bug.


Marco 

-----Original Message-----
From: jvr-general-bounces at threebit.net
[mailto:jvr-general-bounces at threebit.net] On Behalf Of Kevin O'Donnell
Sent: lunedì 16 febbraio 2004 17.31
To: General Mailing list of JVR
Subject: [jvr-general] GlobalCall / ISDN Problem



>I just run the test;
>gc.OpenEx(":N_dtiB1T29:P_isdn", gc.EV_ASYNC,null)
>works but now i get a strange EXCEPTION_ACCESS_VIOLATION.
>
This is probably a null-pointer that I've used inside of the JNI code.  
I'll take a look at it later on tonight.

Cheers,
Kevin.

_______________________________________________
jvr-general mailing list
jvr-general at threebit.net
http://threebit.net/mailman/listinfo/jvr-general





More information about the jvr-general mailing list