dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 498 forks source link

【自研】com/alibaba/wisp2/HandOffTest.java随机报NPE #525

Open sendaoYan opened 1 year ago

sendaoYan commented 1 year ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/154187?tab=1

ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
REASON: User specified action: run main/othervm -Dcom.alibaba.wisp.carrierEngines=1 -XX:-UseBiasedLocking -XX:+UnlockExperimentalVMOptions -XX:+EnableCoroutine -XX:+UseWispMonitor -Dcom.alibaba.wisp.transparentWispSwitch=true -Dcom.alibaba.wisp.version=2 -Dcom.alibaba.wisp.enableHandOff=true -Dcom.alibaba.wisp.handoffPolicy=ADAPTIVE -Dcom.alibaba.wisp.sysmonTickUs=100000 HandOffTest 
TIME:   5.805 seconds
messages:
command: main -Dcom.alibaba.wisp.carrierEngines=1 -XX:-UseBiasedLocking -XX:+UnlockExperimentalVMOptions -XX:+EnableCoroutine -XX:+UseWispMonitor -Dcom.alibaba.wisp.transparentWispSwitch=true -Dcom.alibaba.wisp.version=2 -Dcom.alibaba.wisp.enableHandOff=true -Dcom.alibaba.wisp.handoffPolicy=ADAPTIVE -Dcom.alibaba.wisp.sysmonTickUs=100000 HandOffTest
reason: User specified action: run main/othervm -Dcom.alibaba.wisp.carrierEngines=1 -XX:-UseBiasedLocking -XX:+UnlockExperimentalVMOptions -XX:+EnableCoroutine -XX:+UseWispMonitor -Dcom.alibaba.wisp.transparentWispSwitch=true -Dcom.alibaba.wisp.version=2 -Dcom.alibaba.wisp.enableHandOff=true -Dcom.alibaba.wisp.handoffPolicy=ADAPTIVE -Dcom.alibaba.wisp.sysmonTickUs=100000 HandOffTest 
Mode: othervm [/othervm specified]
elapsed time (seconds): 5.805
configuration:
STDOUT:
STDERR:
java.lang.NullPointerException
    at HandOffTest.main(HandOffTest.java:137)
    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:498)
    at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
    at java.lang.Thread.run(Thread.java:855)

JavaTest Message: Test threw exception: java.lang.NullPointerException
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.NullPointerException
rerun:
cd /tmp/tone/run/jtreg/jt-work/jdk_test/com/alibaba/wisp2/HandOffTest && \
DISPLAY=:7 \
HOME=/home/testUserForTone \
LANG=C \
LC_CTYPE=C.UTF-8 \
PATH=/bin:/usr/bin:/usr/sbin \
CLASSPATH=/tmp/tone/run/jtreg/jt-work/jdk_test/classes/82/com/alibaba/wisp2:/tmp/tone/run/jtreg/jdk-repo/jdk/test/com/alibaba/wisp2:/tmp/tone/run/jtreg/jt-work/jdk_test/classes/82/lib/testlibrary:/tmp/tone/run/jtreg/jdk-repo/jdk/test/lib/testlibrary:/tmp/tone/run/jtreg/binary-download/dragonwell-8.14.15/lib/tools.jar:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \
    /tmp/tone/run/jtreg/binary-download/dragonwell-8.14.15/bin/java \
        -Dtest.vm.opts='-Xmixed -ea -esa' \
        -Dtest.tool.vm.opts='-J-Xmixed -J-ea -J-esa' \
        -Dtest.compiler.opts= \
        -Dtest.java.opts= \
        -Dtest.jdk=/tmp/tone/run/jtreg/binary-download/dragonwell-8.14.15 \
        -Dcompile.jdk=/tmp/tone/run/jtreg/binary-download/dragonwell-8.14.15 \
        -Dtest.timeout.factor=4.0 \
        -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/jdk/test \
        -Dtest.name=com/alibaba/wisp2/HandOffTest.java \
        -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/jdk/test/com/alibaba/wisp2/HandOffTest.java \
        -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/jdk/test/com/alibaba/wisp2 \
        -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/jdk/test/com/alibaba/wisp2:/tmp/tone/run/jtreg/jdk-repo/jdk/test/lib/testlibrary \
        -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jdk_test/classes/82/com/alibaba/wisp2 \
        -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jdk_test/classes/82/com/alibaba/wisp2:/tmp/tone/run/jtreg/jt-work/jdk_test/classes/82/lib/testlibrary \
        -Xmixed \
        -ea \
        -esa \
        -Dcom.alibaba.wisp.carrierEngines=1 \
        -XX:-UseBiasedLocking \
        -XX:+UnlockExperimentalVMOptions \
        -XX:+EnableCoroutine \
        -XX:+UseWispMonitor \
        -Dcom.alibaba.wisp.transparentWispSwitch=true \
        -Dcom.alibaba.wisp.version=2 \
        -Dcom.alibaba.wisp.enableHandOff=true \
        -Dcom.alibaba.wisp.handoffPolicy=ADAPTIVE \
        -Dcom.alibaba.wisp.sysmonTickUs=100000 \
        com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jdk_test/com/alibaba/wisp2/HandOffTest.d/main.0.jta

TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException