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

NullPointerException is thrown when the /demo/jfc/Stylepad is started

XMLWordPrintable



      Name: mmR10223 Date: 03/21/2003



      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b18
      Platform[s] : Sparc Solaris 2.8 (CDE), Linux Redhat 7.3 GNOME, Win2000


      NullPointerException is thrown when the demo is started:

      at javax.swing.text.FlowView.changedUpdate(FlowView.java:264)
         at javax.swing.text.ParagraphView.changedUpdate(ParagraphView.java:666)
         at javax.swing.text.View.forwardUpdateToView(View.java:1221)
         at javax.swing.text.View.forwardUpdate(View.java:1192)
         at javax.swing.text.BoxView.forwardUpdate(BoxView.java:222)
         at javax.swing.text.View.changedUpdate(View.java:798)
         at javax.swing.plaf.basic.BasicTextUI$RootView.changedUpdate(BasicTextUI.java:1515)
         at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.changedUpdate(BasicTextUI.java:1756)
         at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.java:213)
         at javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable.run(DefaultStyledDocument.java:2477)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

      Test source location:
      =====================
      /net/linux-15/export/home/jdk1.4.2/solsparc/demo/jfc/Stylepad/Stylepad.jar

      How to reproduce:
      =================
      0. Run the following script (you may need to change it's variables)

      --- script start ---
      #!/bin/bash
      JDK="/net/jdk/export/disk8/local.java/jdk1.4.2/solsparc"
      cd $JDK/demo/jfc/Stylepad
      $JDK/bin/java -jar Stylepad.jar
      --- script end ---

      ======================================================================

            idk Igor Kushnirskiy (Inactive)
            mmvsunw Mmv Mmv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: