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

Cancel 'print to file' command caused java.lang.InternalError

    XMLWordPrintable

Details

    • b01
    • x86, sparc
    • generic, solaris_2.5.1, windows_95
    • Not verified

    Backports

      Description

        JWS2.0 FCS build 180.
        Java Version: JDK1.1.3/jws:1997-08-12

        - Example I used: CheckersGame.
        - invoke porfiler and select File-->Print.
        - In print dialog box, check 'print to file' checkbox.
        - Click OK to bring up 'Print to File' dialog.
        - Pressins cancel button will caused java.lang.InternalError.

        the worst thing is that you can't load data for profiler any more. You have to restart JWS to load data file .prof.

        Note. You must have printer installed otherwise you can't bring up print dialog box.

        java.lang.InternalError: printing STARTDOC failed
                at sun.awt.windows.WGraphics.<init>(Compiled Code)
                at sun.awt.windows.WPrintGraphics.<init>(Compiled Code)
                at sun.awt.windows.WPrintJob.initJob(Compiled Code)
                at sun.awt.windows.WToolkit.getPrintJob(Compiled Code)
                at sun.jws.profile.ProfileDisplay.print(Compiled Code)
                at sun.jws.profile.ProfileDisplay.runPrint(Compiled Code)
                at sun.jws.profile.ProfileDisplay.run(Compiled Code)
                at java.lang.Thread.run(Compiled Code)

        Attachments

          Issue Links

            Activity

              People

                rkarsunw Ralph Kar (Inactive)
                duke J. Duke
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: