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

TEST_BUG: Reg-test Java_gTest.java fails with NullPointerException

XMLWordPrintable

    • b11
    • sparc
    • solaris_8, solaris_9
    • Verified

      Test failed : JDI-REGRESSION/test/com/sun/jdi/Java_gTest.java
      Platforms : Solsparc, Linux, Windows 2000
      Mode : -Xmixed
      VM : Client, Server

      Binary used for testing : /net/sqesvr/export/automation/PIT-DTF/JDK/TL-JDK

      Error :

      description=file:///net/sqesvr/export/vsn/VM/testbase/JDI-REGRESSION/test/com/sun/jdi/Java_gTest.java
      end=Wed Aug 28 17:03:32 PDT 2002
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      javatestOS=SunOS 5.8 (sparc)
      javatestVersion=2.1.4
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile build main
      start=Wed Aug 28 17:03:27 PDT 2002
      status=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      test=com/sun/jdi/Java_gTest.java
      work=/net/sqesvr/export/automation/PIT-DTF/DTF-workspace/pit-results/1.4.2-auto-mantis-239a/ClientVM/SOLSPARC/mixed/VM/JDI_REGRESSION-PIT-VM-ClientVM-JDI_REGRESSION-mixed-SOLSPARC-2002.08.28.16.46.29.0290/com/sun/jdi

      #section:script_messages
      ----------messages:(1/220)----------
      JDK under test: java full version "1.4.2-auto-mantis-239a" (/net/sqesvr/export/vsn/automation/PIT-DTF/DTF-workspace/exec1/PIT-VM-ClientVM-JDI_REGRESSION-mixed-SOLSPARC-bufferine-2002-08-28-PM-16-46-28-0331/jdk/solsparc)

      #section:build
      ----------messages:(3/158)----------
      command: build TargetAdapter
      reason: User specified action: run build TestScaffold VMConnection TargetListener TargetAdapter
      elapsed time (seconds): 0.0070
      result: Passed. No need to compile: TargetAdapter.java

      #section:compile
      ----------messages:(3/194)----------
      command: compile /net/sqesvr/export/vsn/VM/testbase/JDI-REGRESSION/test/com/sun/jdi/Java_gTest.java
      reason: User specified action: run compile -g Java_gTest.java
      elapsed time (seconds): 3.566
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/97)----------
      command: build Java_gTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0020
      result: Passed. No need to compile: Java_gTest.java

      #section:main
      ----------messages:(3/107)----------
      command: main Java_gTest
      reason: User specified action: run main Java_gTest
      elapsed time (seconds): 1.838
      ----------System.out:(0/0)----------
      ----------System.err:(48/2588)----------
      run args: [-connect, com.sun.jdi.CommandLineLaunch:vmexec=java_g, Java_gTarg]
      java.io.IOException: /net/sqesvr/export/automation/PIT-DTF/JDK/TL-JDK/solaris-sparc/jre/bin/java_g: not found
              at java.lang.UNIXProcess.forkAndExec(Native Method)
              at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
              at java.lang.Runtime.execInternal(Native Method)
              at java.lang.Runtime.exec(Runtime.java:566)
              at java.lang.Runtime.exec(Runtime.java:491)
              at java.lang.Runtime.exec(Runtime.java:457)
              at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:153)
              at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:106)
              at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:144)
              at VMConnection.launchTarget(VMConnection.java:302)
              at VMConnection.open(VMConnection.java:158)
              at TestScaffold.connect(TestScaffold.java:563)
              at TestScaffold.startUp(TestScaffold.java:331)
              at TestScaffold.startTo(TestScaffold.java:341)
              at TestScaffold.startToMain(TestScaffold.java:336)
              at Java_gTest.runTests(Java_gTest.java:53)
              at TestScaffold.startTests(TestScaffold.java:396)
              at Java_gTest.main(Java_gTest.java:41)
              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:94)
              at java.lang.Thread.run(Thread.java:536)

       Unable to launch target VM.
      java.lang.NullPointerException
              at VMConnection.open(VMConnection.java:166)
              at TestScaffold.connect(TestScaffold.java:563)
              at TestScaffold.startUp(TestScaffold.java:331)
              at TestScaffold.startTo(TestScaffold.java:341)
              at TestScaffold.startToMain(TestScaffold.java:336)
              at Java_gTest.runTests(Java_gTest.java:53)
              at TestScaffold.startTests(TestScaffold.java:396)
              at Java_gTest.main(Java_gTest.java:41)
              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:94)
              at java.lang.Thread.run(Thread.java:536)

      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

            tbell Tim Bell
            dhvaradhsunw Dhanalakshmi Varadharaj (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: