glassfish
  1. glassfish
  2. GLASSFISH-20336

ejb.security_preinvoke_exception for security devtests

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: future release
    • Component/s: security
    • Labels:
      None
    • Environment:

      security-devtests-trunk

      Description

      The security devtests mdb and timerStandalone have been disabled from the set of tests. These tests both fail for the same root cause:

      java.lang.NullPointerException
      at java.util.Arrays$ArrayList.<init>(Arrays.java:2842)
      at java.util.Arrays.asList(Arrays.java:2828)
      at com.sun.enterprise.security.auth.realm.file.FileRealm.getGroupNames(FileRealm.java:299)
      at com.sun.enterprise.security.auth.login.LoginContextDriver.loginPrincipal(LoginContextDriver.java:295)
      at org.glassfish.ejb.security.application.EJBSecurityManager$2.run(EJBSecurityManager.java:857)
      at com.sun.enterprise.security.common.AppservAccessController.doPrivileged(AppservAccessController.java:61)
      at org.glassfish.ejb.security.application.EJBSecurityManager.loginForRunAs(EJBSecurityManager.java:855)
      at org.glassfish.ejb.security.application.EJBSecurityManager.preInvoke(EJBSecurityManager.java:824)
      at org.glassfish.ejb.security.application.EjbSecurityComponentInvocationHandler$1.beforePreInvoke(EjbSecurityComponentInvocationHandler.java:76)
      at org.glassfish.api.invocation.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:180)

        Activity

          People

          • Assignee:
            JeffTancill
            Reporter:
            Craig Perez
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: