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

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

    XMLWordPrintable

    Details

    • Introduced In Build:
      b08
    • Resolved In Build:
      b27
    • CPU:
      generic
    • OS:
      os_x

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                weijun Weijun Wang
                Reporter:
                gpatil Gauri Patil
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: