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

Manual Testcase: "sun/security/krb5/config/native/TestDynamicStore.java" Fails with NPE

XMLWordPrintable

    • b08
    • b27
    • generic
    • os_x

        OS:
        OS_X

        Environment:
        Mac OS X 10.15.7 (x86_64)

        Reproducible: Always

        Is it a Regression: No, New test introduced in JDk17b08 and is failing since then.
        Same is the case for JDK11.0.12, test was introduced in b04 and is failing since then.

        Is it a platform specific issue: Yes, test applicable only for OS_X


        Exception/Error from Log:

        Fill in dynamic store
        Run aa 1
        Remove everything
        Run ra 1
        ----------System.err:(23/1150)----------
        >>> action: a a
        0
        0
        0
        0
        >>> action: r a
        0
        0
        0
        0
        java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "sun.security.krb5.Config.get(String[])" is null
        at TestDynamicStore.main(TestDynamicStore.java:63)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:831)

        JavaTest Message: Test threw exception: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "sun.security.krb5.Config.get(String[])" is null
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "sun.security.krb5.Config.get(String[])" is null

              weijun Weijun Wang
              gpatil Gauri Patil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: