Doug Trammell wrote:
> Since the function is unknown and it's in the jvm.dll, how can I
> figure out what the problem is? I know that generally this type of
> error is pointer-related, but how can I track it down?
Nothing leaps out at me that's wrong with your JNI code.
There's isn't a magic bullet for these problems -- or if there is, then I've
wasted a lot of my own time by not knowing about it...
If I were in this position, I'd continue cutting down the example until the
problem went away. (I'm assuming from the look of your example that you've
already cut it down a lot). For example, can you make the problem go away by
dummying-out the call to processData() ? That and add lots and lots of
logging...
Oh, I'd also double- and triple-check that I wasn't holding onto jobject (or
similar) referenvces, and review how I was using threads.
Not a lot of help, I'm afraid, but after the response from that twit "nos", I
thought maybe you could use a little encouragement
-- chris