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

REGRESSION: Regression-test javax/swing/text/html/CSS/4845362/bug4845362.java fa

    Details

    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      x86, sparc
    • OS:
      solaris_9, windows_xp
    • Verification:
      Verified

      Description



      Name: mmR10223 Date: 10/07/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b22
      Testbase : Regression-test
      Platform[s] : all
      switch/Mode : default
      Falling test[s]: javax/swing/text/html/CSS/4845362/bug4845362.java

      This test passes using JDK1.5.0-b21, JDK1.4.2-b28 on all platforms.
      Please, see also the bug 4845362 for more information.


      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/javax/swing/text/html/CSS/4845362/bug4845362.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b22/regtest/sparc/sol9_sparc_gnome_novo48/workDir/test/javax/swing/text/html/CSS/4845362/bug4845362.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir

      #KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
      KOORI_ONESTOP="/java/re"
      #JPSE04 is your path to /net/jdk/export/jpse04
      JPSE04="/net/jdk/export/jpse04"

      #JT_HOME="/net/linux-15/export/home/java/jct"
      JT_HOME="$KOORI_ONESTOP/jct-tools/3.1.2/archive/fcs/binaries"
      #JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
      JEMMY_JAR="$JPSE04/Jemmy/jemmy.jar"
      #JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/sparc"
      JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b22/binaries/solaris-sparc"

      #TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
      TEST_BASE_PATH="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b22/ws/j2se/test"


      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"

      TEST="javax/swing/text/html/CSS/4845362/bug4845362.java"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="novo48" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"

      --- script end ---

      Script output:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(53/3504)----------
      java.lang.NullPointerException
      at javax.swing.text.html.CSS.translateHTMLToCSS(CSS.java:689)
      at javax.swing.text.html.StyleSheet.translateHTMLToCSS(StyleSheet.java:491)
      at javax.swing.text.html.StyleSheet$ViewAttributeSet.<init>(StyleSheet.java:2499)
      at javax.swing.text.html.StyleSheet.getViewAttributes(StyleSheet.java:312)
      at javax.swing.text.html.BlockView.getAttributes(BlockView.java:275)
      at javax.swing.text.html.StyleSheet$ViewAttributeSet.getResolveParent(StyleSheet.java:2632)
      at javax.swing.text.html.StyleSheet$ViewAttributeSet.doGetAttribute(StyleSheet.java:2612)
      at javax.swing.text.html.StyleSheet$ViewAttributeSet.getAttribute(StyleSheet.java:2592)
      at javax.swing.text.ParagraphView.setPropertiesFromAttributes(ParagraphView.java:105)
      at javax.swing.text.html.ParagraphView.setPropertiesFromAttributes(ParagraphView.java:87)
      at javax.swing.text.html.ParagraphView.setParent(ParagraphView.java:60)
      at javax.swing.text.CompositeView.replace(CompositeView.java:200)
      at javax.swing.text.BoxView.replace(BoxView.java:164)
      at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
      at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
      at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
      at javax.swing.text.CompositeView.replace(CompositeView.java:200)
      at javax.swing.text.BoxView.replace(BoxView.java:164)
      at javax.swing.text.html.TableView$RowView.replace(TableView.java:1449)
      at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
      at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
      at javax.swing.text.CompositeView.replace(CompositeView.java:200)
      at javax.swing.text.BoxView.replace(BoxView.java:164)
      at javax.swing.text.html.TableView.replace(TableView.java:888)
      at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
      at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
      at javax.swing.text.html.TableView.setParent(TableView.java:792)
      at javax.swing.text.CompositeView.replace(CompositeView.java:200)
      at javax.swing.text.BoxView.replace(BoxView.java:164)
      at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
      at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
      at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
      at javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setParent(HTMLEditorKit.java:1271)
      at javax.swing.text.CompositeView.replace(CompositeView.java:200)
      at javax.swing.text.BoxView.replace(BoxView.java:164)
      at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
      at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
      at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
      at javax.swing.plaf.basic.BasicHTML$Renderer.<init>(BasicHTML.java:290)
      at javax.swing.plaf.basic.BasicHTML.createHTMLView(BasicHTML.java:47)
      at bug4845362.main(bug4845362.java:16)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:549)

      JavaTest Message: Test threw exception: java.lang.NullPointerException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.NullPointerException
      result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException


      test result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException


      Specific machine info:
      ======================
      Hostname: linux-21
      OS: Windows XP Home
      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)


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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdvsunw Sdv Sdv (Inactive)
                Reporter:
                mmvsunw Mmv Mmv (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: