>>>>> Gao Lei writes:

    Gao> Hello, All,
    Gao> I met an error when I port my windows JNI to Linux. The jni
    Gao> run well on Windows NT/95/98. I don't familiar with Linux
    Gao> platform I need your help.

    Gao> Error is

    Gao> FATAL ERROR in native method: try to unpin an object that is not pined.

    Gao> I want to offenly what type of code could incur this error?
    Gao> What's your suspects?  I would like provide more detailed
    Gao> information while needed.

This usually means that you've called ReleaseStringChars, 
ReleasePrimitiveArrayElements, ReleasePrimitiveArrayCritical, 
or ReleaseStringCritical without having called the
corresponding Get... method on the same jstring/jarray
previous to that.


        Juergen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to