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

AWT printing: exception when trying to print with drawChars or drawBytes

XMLWordPrintable

    • 2d
    • beta2
    • sparc
    • solaris_2.6
    • Verified


      Build : 61
      OS : sol2.6,2.8,win2000,WinNT,Win98


      app://home/vc123631/TEA/jdk/merlin/solb_61/j2sdk1.4.0/demo/applets/NervousText/example1.html

      app://home/vc123631/TEA/jdk/merlin/solb_61/j2sdk1.4.0/demo/applets/SymbolTest/example1.html

      When executing print with the demo/applet/NervousText/example1.html
      and demo/applet/SymbolTest/example1.html using Appletviewer an exception java.lang.StackOverFlowError is thrown. Fails to print under sol2.6,2.8,win98,win2000,WinNT, and shows the exception below on all the os i had mentioned above...


      java.lang.StackOverflowError
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              at sun.print.ProxyGraphics.drawChars(ProxyGraphics.java:761)
              
            
      Note: I tested the demo module on the following builds , os platforms mentioned below and the same exception is thrown as above..
       

      build 61 : Win98,Win2000,WinNT,sol2.6 and 2.8
      build 60 : Win98,Win2000,WinNT
      build 59 : Win 98
        
      ================================================================================
      I had verfied with build 72 on the following os...

      1)solaris2.6
      2)solaris2.8
      3)Winntsp6
      4)Win2000
      5)Win98

      and it is working fine.


      venkatasuresh.chappidi@India 2001-07-24

            prr Philip Race
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: