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

win32: Java_g panics (assertion failure) in awt_MenuItem.cpp line395

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      generic, windows_nt

      Description



      With JDK 1.1.6 (fcs) while running the customer Dana's "Wyzdom" database asset management application with java_g.exe, the assertion failure at awt_MenuItem.cpp, line 395 with the application termination.
      The error trace is as below:

      -----------------------------
      D:\BUILD>D:\jdk\bin\java_g -ms32m -mx32m -Dbrowser="D:\Program Files\Netscape\Co
      mmunicator\Program\Netscape.exe" -Djdbc.drivers=sun.jdbc.odbc.JdbcOdbcDriver COM
      .dana.wyzdom.Login -l hpatel -p hpatel -d jdbc:odbc:development2
      Warning: JIT compiler "symcjit" not found. Will use interpreter.
      Connecting (JDBC)
      .
      .
      Displays few DCC/TMG developer messages...
      .
      .
      Fatal error: 0
      Assertion failed: ::EnableMenuItem(menu->GetHMenu(), menuItem->GetID(), 0x000000
      00L | (e ? 0x00000000L : 0x00000001L)) != 0xFFFFFFFF, file ..\..\..\..\src\win32
      \sun\windows\awt_MenuItem.cpp, line 395

      abnormal program termination

      -------------------------------------------------------------------------------------------------------------

      I have tried the same application with JDK 1.1.7B. Now, the assertion failure manifests as the non fatal internal error as below, and the application continues running. (Please note that the problem symptom has changed from JDK 1.1.6 (fcs) to JDK 1.1.7B.)

      ..\..\..\..\src\win32\sun\windows\awt_MenuItem.cpp:381 ::EnableMenuItem(menu->Ge
      tHMenu(), menuItem->GetID(), 0x00000000L | (e ? 0x00000000L : 0x00000001L)) != 0
      xFFFFFFFF
      Internal error: 0

      We have received the customer's rather large application on CD, we also have installed and reproduced the problem here in the lab in CUP03 (4th floor). Please feel free to call me (x53171) if you need to have either access to the application or would like to take a look at the problem symptoms.

      sandhya.vora@Eng 1998-09-14

      My customer has moved to JDK 1.1.7, and has not mentioned about this issue. There is no more information about it at this point, we can close this issue for now.

      Name: krT82822 Date: 08/10/99


      I was just running my standalone JAVA GUI application
      and it crashed while doing it's menu enable/disable
      code. This same code normally works fine. Here's
      the output:

      Warning: JIT compiler "symcjit" not found. Will use interpreter.
      Agent password=42i5ra
      Warning: JIT compiler "symcjit" not found. Will use interpreter.
      Fatal error: 0
      Assertion failed: ::EnableMenuItem(menu->GetHMenu(), menuItem->GetID(), 0x00000000L | (e ? 0x00000000L : 0x00000001L)) !
      = 0xFFFFFFFF, file ..\..\..\..\src\win32\sun\windows\awt_MenuItem.cpp, line 395

      abnormal program termination
      (Review ID: 39594)
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            lbunnisunw Lara Bunni (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: