Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4868162

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1
    • None
    • unknown
    • core-libs
    • None
    • x86
    • windows_2000

    Description

      ###@###.### 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.

      Attachments

        Issue Links

          Activity

            People

              chegar Chris Hegarty
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: