java.lang.RuntimeException: Exit value 1 , expected to get 0

JDK Bug System | Staffan Larsen | 3 years ago
  1. 0

    #Test Results (version 2) #Wed Oct 30 19:42:43 PDT 2013 #checksum:1ba2e8fabc3ab84e #-----testdescription----- $file=C\:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd\\TestJstatdPort.java $root=C\:\\Users\\aurora\\sandbox\\testbase\\test keywords=bug4990825 library=/lib/testlibrary maxTimeout=60 run=USER_SPECIFIED build JstatdTest JstatGCUtilParser\r\nUSER_SPECIFIED main/timeout\=60 TestJstatdPort\r\n source=TestJstatdPort.java title=\ #-----environment----- #-----testresult----- description=file\:/C\:/Users/aurora/sandbox/testbase/test/sun/tools/jstatd/TestJstatdPort.java elapsed=7756 0\:00\:07.756 end=Wed Oct 30 19\:42\:42 PDT 2013 environment=regtest execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Exit value 1 , expected to get 0 hostname=SC11136076.us.oracle.com javatestOS=Windows 7 6.1 (amd64) javatestVersion=4.4 jtregVersion=jtreg 4.1 fcs b07 script=com.sun.javatest.regtest.RegressionScript sections=script_messages build build compile main start=Wed Oct 30 19\:42\:35 PDT 2013 test=sun/tools/jstatd/TestJstatdPort.java user.name=aurora work=C\:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\sun\\tools\\jstatd #section:script_messages ----------messages:(5/230)*---------- JDK under test: (C:\\Users\\aurora\\sandbox\\jdk) java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-langtools-nightly-h625-20131030-b114-b00) Java HotSpot(TM) 64-Bit Server VM (build 25.0-b56, mixed mode) #section:build ----------messages:(3/148)---------- command: build JstatdTest JstatGCUtilParser reason: User specified action: run build JstatdTest JstatGCUtilParser elapsed time (seconds): 0.001 result: Passed. All files up to date #section:build ----------messages:(3/102)---------- command: build TestJstatdPort reason: Named class compiled on demand elapsed time (seconds): 0.244 result: Passed. Build successful #section:compile ----------messages:(3/211)*---------- command: compile -XDignore.symbol.file=true C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd\\TestJstatdPort.java reason: .class file out of date or does not exist elapsed time (seconds): 0.244 ----------rerun:(22/2231)*---------- 'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\ SystemDrive=C: \\ 'SystemRoot=C:\\Windows' \\ 'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\ 'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\ 'windir=C:\\Windows' \\ 'C:\\Users\\aurora\\sandbox\\jdk\\bin\\javac' \\ -J-ea \\ -J-esa \\ -J-Xmx512m \\ -J-Dtest.vm.opts='-ea -esa -Xmx512m' \\ -J-Dcompile.jdk='C:\\Users\\aurora\\sandbox\\jdk' \\ -J-Dtest.src.path='C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\lib\\testlibrary' \\ -J-Dtest.src='C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd' \\ -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\ -J-Dtest.class.path='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\lib\\testlibrary' \\ -J-Dtest.classes='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd' \\ -J-Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd' \\ -J-Dtest.jdk='C:\\Users\\aurora\\sandbox\\jdk' \\ -J-Dtest.java.opts= \\ -J-Dtest.compiler.opts= \\ -d 'C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd' -classpath 'C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\jdk\\lib\\tools.jar' -sourcepath 'C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\lib\\testlibrary' -XDignore.symbol.file=true 'C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd\\TestJstatdPort.java' result: Passed. Compilation successful #section:main ----------messages:(3/129)---------- command: main TestJstatdPort reason: User specified action: run main/timeout=60 TestJstatdPort elapsed time (seconds): 7.503 ----------rerun:(20/1822)*---------- 'PATH=C:\\Program Files\\Java\\jdk1.7.0_25\\bin;C:\\curl;C:\\mksnt\\bin64;C:\\mksnt\\bin;C:\\mksnt\\bin\\X11;C:\\mksnt\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\aurora;' \\ SystemDrive=C: \\ 'SystemRoot=C:\\Windows' \\ 'TEMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\ 'TMP=C:\\Users\\aurora\\AppData\\Local\\Temp' \\ 'windir=C:\\Windows' \\ 'C:\\Users\\aurora\\sandbox\\jdk\\bin\\java' \\ -Dtest.vm.opts='-ea -esa -Xmx512m' \\ -Dcompile.jdk='C:\\Users\\aurora\\sandbox\\jdk' \\ -Dtest.src.path='C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\lib\\testlibrary' \\ -Dtest.src='C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd' \\ -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\ -Dtest.class.path='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\lib\\testlibrary' \\ -Dtest.classes='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd' \\ -Dtest.class.path.prefix='C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd' \\ -Dtest.jdk='C:\\Users\\aurora\\sandbox\\jdk' \\ -Dtest.java.opts= \\ -Dtest.compiler.opts= \\ -classpath 'C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_tools\\JTwork\\classes\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd;C:\\Users\\aurora\\sandbox\\jdk\\lib\\tools.jar' \\ TestJstatdPort ----------System.out:(33/1008)*---------- Start jstatd: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jstatd.exe -J-XX:+UsePerfData -J-Djava.security.policy=C:\\Users\\aurora\\sandbox\\testbase\\test\\sun\\tools\\jstatd\\all.policy -p 58036] Start jps: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jps.exe -J-XX:+UsePerfData SC11136076:58036] RMI Registry not available at SC11136076:58036 Connection refused to host: SC11136076; nested exception is: java.net.ConnectException: Connection refused: connect Waiting until jstatd is running... Start jps: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jps.exe -J-XX:+UsePerfData SC11136076:58036] 5968 Jstatd 4948 Jps 3244 Agent 3340 jtreg.jar jstatd pid: 5968 Start jps: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jps.exe -J-XX:+UsePerfData SC11136076:58036] 5968 Jstatd 1724 Jps 3244 Agent 3340 jtreg.jar Start jstat: [C:\\Users\\aurora\\sandbox\\jdk\\bin\\jstat.exe -J-XX:+UsePerfData -J-Duser.language=en -gcutil 5968@SC11136076:58036 250 5] Could not read data for remote JVM 5968 ----------System.err:(16/873)---------- java.lang.RuntimeException: Exit value 1 , expected to get 0 at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:284) at JstatdTest.verifyJstatOutput(JstatdTest.java:239) at JstatdTest.runToolsAndVerify(JstatdTest.java:252) at JstatdTest.doTest(JstatdTest.java:350) at TestJstatdPort.main(TestJstatdPort.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746) at java.lang.Thread.run(Thread.java:744) JavaTest Message: Test threw exception: java.lang.RuntimeException JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Exit value 1 , expected to get 0 test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Exit value 1 , expected to get 0

    JDK Bug System | 3 years ago | Staffan Larsen
    java.lang.RuntimeException: Exit value 1 , expected to get 0
  2. 0

    sun/tools/jstatd/TestJstatdServer.java fails in nightly with java.io.IOException: Stream Closed at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:255) at java.lang.ProcessImpl$DeferredCloseInputStream.read(ProcessImpl.java:799) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at java.io.FilterInputStream.read(FilterInputStream.java:107) at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196) at java.lang.Thread.run(Thread.java:804) java.io.IOException: Stream closed at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170) at java.io.BufferedInputStream.read(BufferedInputStream.java:336) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at java.io.FilterInputStream.read(FilterInputStream.java:107) at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196) at java.lang.Thread.run(Thread.java:804) java.lang.RuntimeException: Expected to get exit value of [0] at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:370) at JstatdTest.verifyJpsOutput(JstatdTest.java:156) at JstatdTest.runToolsAndVerify(JstatdTest.java:211) at JstatdTest.doTest(JstatdTest.java:325) at TestJstatdServer.main(TestJstatdServer.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(Thread.java:804)

    JDK Bug System | 9 months ago | Rachel Protacio
    java.lang.RuntimeException: Expected to get exit value of [0]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    The sun/tools/jps/TestJpsJar.java test can still fail after JDK-8153278 has been fixed. Here is a snippet of the failing .jtr file: ----------messages:(4/154)---------- command: main TestJpsJar reason: User specified action: run main/othervm TestJpsJar Mode: othervm [/othervm specified] elapsed time (seconds): 6.301 ----------configuration:(3/69)---------- Boot Layer add exports: jdk.jartool/sun.tools.jar ALL-UNNAMED ----------System.out:(91/3549)*---------- Running jar [-cfm, C:\\local\\aurora\\sandbox\\results\\workDir\\sun\\tools\\jps\\TestJpsJar\\JpsBase.jar, C:\\local\\aurora\\sandbox\\results\\workDir\\sun\\tools\\jps\\TestJpsJar\\JpsBase.mf, -C, C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\2\\sun\\tools\\jps, ., -C, C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\2\\lib\\testlibrary, .] Command line: [C:\\local\\aurora\\CommonData\\TEST_JAVA_HOME\\bin\\java.exe -XX:+UsePerfData -Xmx512m -Xlog:gc -Dmultiline.prop=value1 value2 value3 -XX:Flags=C:\\local\\aurora\\sandbox\\results\\workDir\\sun\\tools\\jps\\TestJpsJar\\vmflags -Dtest.jdk=C:\\local\\aurora\\CommonData\\TEST_JAVA_HOME -Dtest.src=C:\\local\\aurora\\CommonData\\j2se_jdk\\jdk\\test\\sun\\tools\\jps -jar C:\\local\\aurora\\sandbox\\results\\workDir\\sun\\tools\\jps\\TestJpsJar\\JpsBase.jar monkey ] [0.041s][info][gc] Using G1 [C:\\local\\aurora\\CommonData\\TEST_JAVA_HOME\\bin\\jps.exe -J-XX:+UsePerfData] 13696 Main 15744 JInfo 10500 MainWrapper 14468 JInfoTestLingeredApp 11092 MainWrapper 13332 MainWrapper 15252 MainWrapper 17748 Main 20692 Jps 3156 JpsBase 17176 Main 23772 -- process information unavailable 8540 MainWrapper 12128 -- process information unavailable 21216 SALauncher 20392 Main 24488 -- process information unavailable 4012 LingeredApp 12080 Main 21872 JInfo 10360 JInfoTestLingeredApp 13112 -- process information unavailable 16316 JpsBase.jar 17404 -- process information unavailable 3388 -- process information unavailable [C:\\local\\aurora\\CommonData\\TEST_JAVA_HOME\\bin\\jps.exe -J-XX:+UsePerfData -q] 14468 14660 4012 19376 22160 3504 11092 11572 13332 15252 3156 10360 14236 14812 16316 8540 [C:\\local\\aurora\\CommonData\\TEST_JAVA_HOME\\bin\\jps.exe -J-XX:+UsePerfData -l] 11424 jdk.compiler/com.sun.tools.javac.Main 14660 jdk.compiler/com.sun.tools.javac.Main 22160 com.sun.javatest.regtest.agent.MainWrapper 3504 com.sun.javatest.regtest.agent.MainWrapper 11092 com.sun.javatest.regtest.agent.MainWrapper 11572 -- process information unavailable 13332 com.sun.javatest.regtest.agent.MainWrapper 15252 com.sun.javatest.regtest.agent.MainWrapper 21492 -- process information unavailable 3156 JpsBase 3352 jdk.test.lib.apps.LingeredApp 14236 jdk.compiler/com.sun.tools.javac.Main 16316 C:\\local\\aurora\\sandbox\\results\\workDir\\sun\\tools\\jps\\TestJpsJar\\JpsBase.jar 18364 jdk.jcmd/sun.tools.jps.Jps 8540 com.sun.javatest.regtest.agent.MainWrapper stdout: [11424 jdk.compiler/com.sun.tools.javac.Main 14660 jdk.compiler/com.sun.tools.javac.Main 22160 com.sun.javatest.regtest.agent.MainWrapper 3504 com.sun.javatest.regtest.agent.MainWrapper 11092 com.sun.javatest.regtest.agent.MainWrapper 11572 -- process information unavailable 13332 com.sun.javatest.regtest.agent.MainWrapper 15252 com.sun.javatest.regtest.agent.MainWrapper 21492 -- process information unavailable 3156 JpsBase 3352 jdk.test.lib.apps.LingeredApp 14236 jdk.compiler/com.sun.tools.javac.Main 16316 C:\\local\\aurora\\sandbox\\results\\workDir\\sun\\tools\\jps\\TestJpsJar\\JpsBase.jar 18364 jdk.jcmd/sun.tools.jps.Jps 8540 com.sun.javatest.regtest.agent.MainWrapper ]; stderr: [] exitValue = 0 Exception in thread "main" java.lang.RuntimeException: '^16316\\s+E:\\\\aurora\\\\sandbox\\\\results\\\\workDir\\\\sun\\\\tools\\\\jps\\\\TestJpsJar\\\\JpsBase\\.jar.*' missing from stdout/stderr at jdk.testlibrary.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:220) at JpsBase.main(JpsBase.java:89) ----------System.err:(106/3738)*---------- stdout: [[0.041s][info][gc] Using G1 [C:\\local\\aurora\\CommonData\\TEST_JAVA_HOME\\bin\\jps.exe -J-XX:+UsePerfData] 13696 Main 15744 JInfo 10500 MainWrapper 14468 JInfoTestLingeredApp 11092 MainWrapper 13332 MainWrapper 15252 MainWrapper 17748 Main 20692 Jps 3156 JpsBase 17176 Main 23772 -- process information unavailable 8540 MainWrapper 12128 -- process information unavailable 21216 SALauncher 20392 Main 24488 -- process information unavailable 4012 LingeredApp 12080 Main 21872 JInfo 10360 JInfoTestLingeredApp 13112 -- process information unavailable 16316 JpsBase.jar 17404 -- process information unavailable 3388 -- process information unavailable [C:\\local\\aurora\\CommonData\\TEST_JAVA_HOME\\bin\\jps.exe -J-XX:+UsePerfData -q] 14468 14660 4012 19376 22160 3504 11092 11572 13332 15252 3156 10360 14236 14812 16316 8540 [C:\\local\\aurora\\CommonData\\TEST_JAVA_HOME\\bin\\jps.exe -J-XX:+UsePerfData -l] 11424 jdk.compiler/com.sun.tools.javac.Main 14660 jdk.compiler/com.sun.tools.javac.Main 22160 com.sun.javatest.regtest.agent.MainWrapper 3504 com.sun.javatest.regtest.agent.MainWrapper 11092 com.sun.javatest.regtest.agent.MainWrapper 11572 -- process information unavailable 13332 com.sun.javatest.regtest.agent.MainWrapper 15252 com.sun.javatest.regtest.agent.MainWrapper 21492 -- process information unavailable 3156 JpsBase 3352 jdk.test.lib.apps.LingeredApp 14236 jdk.compiler/com.sun.tools.javac.Main 16316 C:\\local\\aurora\\sandbox\\results\\workDir\\sun\\tools\\jps\\TestJpsJar\\JpsBase.jar 18364 jdk.jcmd/sun.tools.jps.Jps 8540 com.sun.javatest.regtest.agent.MainWrapper ]; stderr: [ stdout: [11424 jdk.compiler/com.sun.tools.javac.Main 14660 jdk.compiler/com.sun.tools.javac.Main 22160 com.sun.javatest.regtest.agent.MainWrapper 3504 com.sun.javatest.regtest.agent.MainWrapper 11092 com.sun.javatest.regtest.agent.MainWrapper 11572 -- process information unavailable 13332 com.sun.javatest.regtest.agent.MainWrapper 15252 com.sun.javatest.regtest.agent.MainWrapper 21492 -- process information unavailable 3156 JpsBase 3352 jdk.test.lib.apps.LingeredApp 14236 jdk.compiler/com.sun.tools.javac.Main 16316 C:\\local\\aurora\\sandbox\\results\\workDir\\sun\\tools\\jps\\TestJpsJar\\JpsBase.jar 18364 jdk.jcmd/sun.tools.jps.Jps 8540 com.sun.javatest.regtest.agent.MainWrapper ]; stderr: [] exitValue = 0 Exception in thread "main" java.lang.RuntimeException: '^16316\\s+E:\\\\aurora\\\\sandbox\\\\results\\\\workDir\\\\sun\\\\tools\\\\jps\\\\TestJpsJar\\\\JpsBase\\.jar.*' missing from stdout/stderr at jdk.testlibrary.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:220) at JpsBase.main(JpsBase.java:89) ] exitValue = 1 java.lang.RuntimeException: Expected to get exit value of [0] at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:371) at TestJpsJar.main(TestJpsJar.java:62) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0] JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0] Here is the failing exception: Exception in thread "main" java.lang.RuntimeException: '^16316\\s+E:\\\\aurora\\\\sandbox\\\\results\\\\workDir\\\\sun\\\\tools\\\\jps\\\\TestJpsJar\\\\JpsBase\\.jar.*' missing from stdout/stderr and here is a line from the output: 16316 C:\\local\\aurora\\sandbox\\results\\workDir\\sun\\tools\\jps\\TestJpsJar\\JpsBase.jar Note that the pattern is looking for '.*' after JpsBase.jar the output line has nothing after JpsBase.jar.

    JDK Bug System | 6 months ago | Daniel Daugherty
    java.lang.RuntimeException: Expected to get exit value of [0]
  5. 0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Exit value 1 , expected to get 0

      at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue()
    2. jdk.testlibrary
      OutputAnalyzer.shouldHaveExitValue
      1. jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:284)
      1 frame
    3. Unknown
      TestJstatdPort.main
      1. JstatdTest.verifyJstatOutput(JstatdTest.java:239)
      2. JstatdTest.runToolsAndVerify(JstatdTest.java:252)
      3. JstatdTest.doTest(JstatdTest.java:350)
      4. TestJstatdPort.main(TestJstatdPort.java:36)
      4 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    5. com.sun.javatest
      MainAction$SameVMRunnable.run
      1. com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame