"Bad global or local ref passed to JNI" in java.io.InputStreamReader.read()

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P1
    • None
    • Affects Version/s: unknown
    • Component/s: core-libs
    • None
    • x86
    • windows_2000

      ###@###.### 2003-05-22

      SAP has found the following problem when starting their IPC application
      on Windows 2000 with 1.3.1_08 and -Xcheck:jni:

      > FATAL ERROR in native method: Bad global or local ref passed to JNI
              at java.io.InputStreamReader.read(InputStreamReader.java:245)
              at java.io.BufferedReader.read1(BufferedReader.java:180)
              at java.io.BufferedReader.read(BufferedReader.java:256)
              - locked <2f278f8> (a java.io.InputStreamReader)
              at com.sap.sxe.socket.server.SocketConnection.work(SocketConnection.java:137)
              at com.sap.sxe.socket.server.Worker.run(Worker.java:107)

      The source for the SocketConenction.java class is attached, and there is no SAP JNI
      calls anywhere in this. I'm confusded by the fact that a call in the Java IO
      libs can produce such a problem, but I haven't found anything in the Java
      bug database or on the web.

            Assignee:
            Chris Hegarty
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: