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

java_g is missed from $JAVA_HOME/jre/bin

XMLWordPrintable

    • hopper
    • generic, x86, sparc
    • generic, solaris_7, windows_xp
    • Verified

      Name: elR10090 Date: 04/03/2001

      Debugged version of Java VM 'java_g' is missed from $JAVA_HOME/jre/bin
      in J2DK both for Merlin (build 1.4.0-beta-b57) and Ladybird (build
      1.3.1-rc1-b19).

      This prevents execution of about 170 of JDI tests from testbase_nsk
      testsuite
      against java_g.

      This is because JDI tests use default CommandLineLaunch connector,
      which by default tries to launch 'java_g' from $JAVA_HOME/jre/bin.

      Testsuite 'testbase_nsk' can be found here:

          /net/sqesvr.eng/export/vsn/VM/testbase/testbase_nsk.v14

      ======================================================================
      ###@###.### 2002-03-19

      See also:
          4654257 Reg-test Java_gTest.java Failing

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

      ###@###.### 2002-03-19

      Name: as83306 Date: 03/18/2002

      Regression test com/sun/jdi/Java_gTest.java fails with Hopper build 05 on win_xp, host cwbybkr.
       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
      #Test Results (version 2)
      #Fri Mar 15 15:43:13 PST 2002
      #checksum:77ff03c523e3c97a
      #-----testdescription-----
      $file=C:\\Regression\\hopper\\jdk1.4.1Tests\\tests\\b05\\com\\sun\\jdi\\Java_gTest.java
      $root=C:\\Regression\\hopper\\jdk1.4.1Tests\\tests\\b05
      author=jjh
      keywords=bug4500906
      run=USER_SPECIFIED build TestScaffold VMConnection TargetListener TargetAdapter\r\nUSER_SPECIFIED compile -g
      Java_gTest.java\r\nUSER_SPECIFIED main Java_gTest\r\n
      source=Java_gTest.java
      title=vmexec=java_g fails for SunCommandLineLauncher

      #-----environment-----

      #-----testresult-----
      description=file:///C:/Regression/hopper/jdk1.4.1Tests/tests/b05/com/sun/jdi/Java_gTest.java
      end=Fri Mar 15 15:43:13 PST 2002
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      javatestOS=Windows 2000 5.1 (x86)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile build main
      start=Fri Mar 15 15:43:10 PST 2002
      status=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      test=com/sun/jdi/Java_gTest.java
      work=C:\\Results\\Regression\\hopper\\b05\\CWBYBKR-Windows_NT-jth13-jdk141b05.03-15.15-32-ALL\\com\\sun\\jdi

      #section:script_messages
      ----------messages:(4/200)----------
      JDK under test: (C:/Java/jdk141b05)
      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b05)
      Java HotSpot(TM) Client VM (build 1.4.1-beta-b05, mixed mode)

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

      #section:compile
      ----------messages:(3/196)*----------
      command: compile C:\\Regression\\hopper\\jdk1.4.1Tests\\tests\\b05\\com\\sun\\jdi\\Java_gTest.java
      reason: User specified action: run compile -g Java_gTest.java
      elapsed time (seconds): 1.442
      ----------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.0
      result: Passed. No need to compile: Java_gTest.java

      #section:main
      ----------messages:(3/110)----------
      command: main Java_gTest
      reason: User specified action: run main Java_gTest
      elapsed time (seconds): 0.671
      ----------System.out:(0/0)----------
      ----------System.err:(46/2615)*----------
      run args: [-connect, com.sun.jdi.CommandLineLaunch:vmexec=java_g, Java_gTarg]
      java.io.IOException: CreateProcess: C:\\Java\\jdk141b05\\jre\\bin\\java_g -Xdebug -Xnoagent -Djava.compiler=NONE
      -Xrunjdwp:transport=dt_shmem,address=javadebug,suspend=y Java_gTarg error=2
      at java.lang.Win32Process.create(Native Method)
      at java.lang.Win32Process.<init>(Win32Process.java:63)
      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:153)
      at VMConnection.launchTarget(VMConnection.java:302)
      at VMConnection.open(VMConnection.java:158)
      at TestScaffold.connect(TestScaffold.java:473)
      at TestScaffold.startUp(TestScaffold.java:296)
      at TestScaffold.startToMain(TestScaffold.java:301)
      at Java_gTest.runTests(Java_gTest.java:53)
      at TestScaffold.startTests(TestScaffold.java:328)
      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:473)
      at TestScaffold.startUp(TestScaffold.java:296)
      at TestScaffold.startToMain(TestScaffold.java:301)
      at Java_gTest.runTests(Java_gTest.java:53)
      at TestScaffold.startTests(TestScaffold.java:328)
      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
      ///////////////////////////////////

      ###@###.### 2002-04-16

      reg-test(above) still failing with hopper build 09 on winXP, setting back to NYI.

            tbell Tim Bell
            latkinsunw Latkin Latkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: