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

java_g.exe fails to launch on Windows if MSVCRTD.dll is missing (Reg-test Java_g

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.1
    • tools
    • x86
    • windows_xp

      Investigation of the Java_gTest.java reg test failure (see below)
      shows that java_g.exe fails to launch on Win XP.

      ALL of the jre/bin/xxx_g.exe launchers fail with a pop-up announcing
      that MSVCRTD.dll was not found.

      ###@###.### 2002-05-03

      Name: as83306 Date: 05/03/2002

      #Test Results (version 2)
      #Fri May 03 16:25:56 PDT 2002
      #checksum:5e1f6636eb1f68c5
      #-----testdescription-----
      $file=X:\\st1\\regression\\hopper\\jdk1.4.1Tests\\tests\\b10\\com\\sun\\jdi\\Java_gTest.java
      $root=X:\\st1\\regression\\hopper\\jdk1.4.1Tests\\tests\\b10
      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:///X:/st1/regression/hopper/jdk1.4.1Tests/tests/b10/com/sun/jdi/Java_gTest.java
      end=Fri May 03 16:25:56 PDT 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 compile build main
      start=Fri May 03 16:25:27 PDT 2002
      status=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
      test=com/sun/jdi/Java_gTest.java
      work=C:\\Results\\Regression\\hopper\\b10\\CWBYBKR-Windows_NT-jth13-jdk141b10.05-03.16-25-V\\com\\sun\\jdi

      #section:script_messages
      ----------messages:(4/218)----------
      JDK under test: (X:/st1/jdk141/beta/b10/windows-i586)
      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b10)
      Java HotSpot(TM) Client VM (build 1.4.1-beta-b10, mixed mode)

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

      #section:compile
      ----------messages:(3/191)*----------
      command: compile X:\\st1\\regression\\hopper\\jdk1.4.1Tests\\tests\\b10\\com\\sun\\jdi\\TestScaffold.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 12.728
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/202)*----------
      command: compile X:\\st1\\regression\\hopper\\jdk1.4.1Tests\\tests\\b10\\com\\sun\\jdi\\Java_gTest.java
      reason: User specified action: run compile -g Java_gTest.java
      elapsed time (seconds): 11.286
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/98)----------
      command: build Java_gTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.01
      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): 3.776
      ----------System.out:(0/0)----------
      ----------System.err:(24/1279)*----------
      run args: [-connect, com.sun.jdi.CommandLineLaunch:vmexec=java_g, Java_gTarg]
      VM initialization failed for: X:\\st1\\jdk141\\beta\\b10\\windows-i586\\jre\\bin\\java_g -Xdebug -Xnoagent -Djava.compiler=NONE
      -Xrunjdwp:transport=dt_shmem,address=javadebug,suspend=y Java_gTarg


       Target VM failed to initialize.
      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

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

            gafter Neal Gafter (Inactive)
            apsmith Alan Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: