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

program crashes in all sun examples using printDialog()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.2.1
    • client-libs
    • 2d
    • x86
    • windows_95



      Name: dbT83986 Date: 05/29/99


      In any of your print tutorial examples such as Report.java the application crashes after the printDialog(), if I comment out the printDialog() line the program runs ok. MSWin95, 64mb, epson inkjet on lpt1.

      "Non Fatal Internal JIT (3.00.078(x)) error
      "Structured Exception (c0000090)"
      has occured in "java/awt/font/TextLine.getBounds() Ljava/awt/geom/Rectangle2D;': Interprting method.

      The print Dialog appears the program crashes after hitting the ok button.

      Printer details are as follows:
      Epson Stylus Colour 600
      Port Settings
        Spool MS-Dos print Jobs
        Check port state before printing
      Spool settings
        Spool Jobs
        Start job after first page
        Spool data - RAW
      LPT1
      Driver - EPS600.DRV
      Version 4.00

      Machine is Pentium 166 clone
      64mb memory

      All other printer aspect works - its just this printDialog() that crashes.

      (Review ID: 63162)
      ======================================================================

      Name: krT82822 Date: 07/13/99


      Here are some additional informations for the Bug: 4242594

      *) The crash of the program depends on the driver of the default printer. In my case the original driver for the HP-printer 'HP-LaserJet 4000N PCL 5e' doesn't work, but the 'HP-LaserJet 4/4M PS 600' works fine.

      *)The program crashes also if I start the program with the JIT-compiler disabled.

      *)The call to 'Graphics.drawString' causes the programcrash.


      I hope this information may help you.
      (Review ID: 85521)
      ======================================================================

            prr Philip Race
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: