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

JCK-102a: java_spec/NAME test (name057) -- NullPointerException thrown

XMLWordPrintable

    • sparc
    • solaris_2.5

      Compiled/run with JDK1.1i

      #Test Results
      #Fri Oct 04 11:26:52 PDT 1996
      status=Failed. Output file and reference file were different
      work=file:/home/hagen/RESULTS/sol/b2/java_spec/src/NAME/name057/
      execStatus=Completed--check results. Compilation failed as expected; check output [exit code 1]
      description=file:/home/hagen/JCK-102a/tests/java_spec/src/NAME/name057/name057.html
      sections=compile.java
      harnessVersion=JT1.0_beta1
      end=Fri Oct 04 11:26:52 PDT 1996
      start=Fri Oct 04 11:26:48 PDT 1996
      environment=jdk1.1

      test: file:/home/hagen/JCK-102a/tests/java_spec/src/NAME/name057/name057.html
      running script javasoft.sqe.harness.CompTestScript -expectFail -checkErrors
      exec: /usr/local/java/jdk1.1/solaris/bin/javac -d /home/hagen/RESULTS/sol/b2/classes JCK-102a/tests/java_spec/src/NAME/name057/name057.java CLASSPATH=/home/hagen/JCK-102a/classes:/home/hagen/RESULTS/sol/b2/classes:
      command exited, exit=1
      command result: status not set
      ----------ref:compile.java(0/0)----------
      ----------log:compile.java(13/699)----------
      err = 1!
      java.lang.NullPointerException
      at sun.tools.tree.AssignExpression.code(AssignExpression.java:64)
      at sun.tools.tree.ExpressionStatement.code(ExpressionStatement.java:77)
      at sun.tools.tree.CompoundStatement.code(CompoundStatement.java:137)
      at sun.tools.javac.SourceField.code(SourceField.java:510)
      at sun.tools.javac.SourceField.code(SourceField.java:472)
      at sun.tools.javac.SourceClass.compileClass(SourceClass.java:913)
      at sun.tools.javac.SourceClass.compile(SourceClass.java:865)
      at sun.tools.javac.Main.compile(Main.java:267)
      at sun.tools.javac.Main.main(Main.java:375)
      error: An exception has occurred in the compiler; please file a bug report (###@###.###).
      1 error
      test result: Completed--check results. Compilation failed as expected; check output [exit code 1]


      NOTE: This bug was also noted by Leonid and corresponds to their test --

         ...tests/lang/NAME/name049/name04906/name04906.html

            jrose John Rose
            lminersunw Linda Miner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: