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

Can't scroll the content of JEditorPane in JScrollPane

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 1.2.0
    • 1.2.0
    • client-libs
    • 2d
    • 1.2fcs
    • generic, x86, sparc
    • generic, solaris_2.6, windows_nt
    • Verified

    Description

      JDK1.2FCS-N:

      I can't scroll the content(html file) of JEditorPane in JScrollPane and followings are printed out.
      To reproduce:
      java TextViewPane t-basic0.html

      Exception occurred during event dispatching:
      java.lang.NullPointerException:
              at sun.java2d.loops.RasterOutputManager.copyArea(RasterOutputManager.jav
      a:575)
              at sun.java2d.SunGraphics2D.copyArea(Compiled Code)
              at javax.swing.JViewport.paint(JViewport.java:366)
              at javax.swing.JComponent.paintChildren(Compiled Code)
              at javax.swing.JComponent.paint(Compiled Code)
              at javax.swing.JComponent.paintWithBuffer(Compiled Code)
              at javax.swing.JComponent._paintImmediately(Compiled Code)
              at javax.swing.JComponent.paintImmediately(Compiled Code)
              at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
      EventQueueUtilities.java:185)
              at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled C
      ode)
              at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Com
      piled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.EventQueue.dispatchEvent(Compiled Code)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
       
      bae-chul.kim@eng 1998-10-12



      Also seeing the bug in one of the 1.x compatibility applets :

      % cd /home/lichtenw/JavaMedia/2d/tests/applets/ImageRotation
      % appletviewer -J-Djava.compiler= *.html

      java.lang.NullPointerException
              at
      sun.java2d.loops.RasterOutputManager.copyArea(RasterOutputManager.java:575)
              at sun.java2d.SunGraphics2D.copyArea(SunGraphics2D.java:1514)
              at RotateApplet2.rotate(RotateApplet2.java:40)
              at RotateApplet2.run(RotateApplet2.java:65)
              at java.lang.Thread.run(Thread.java:479)
      % java full version "JDK-1.2fcs-N"

      brian.lichtenwalter@Eng 1998-10-12

      Attachments

        Issue Links

          Activity

            People

              tnguyensunw Thanh Nguyen (Inactive)
              bkimsunw Bae-chul Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: