org.jvnet.hk2.config.TransactionFailure: java.lang.NullPointerException

Oracle Community | javashawn | 4 years ago
  1. 0

    Error enable-secure-admin when admin-realm configured to use LDAP

    Oracle Community | 4 years ago | javashawn
    org.jvnet.hk2.config.TransactionFailure: java.lang.NullPointerException

    Root Cause Analysis

    1. org.jvnet.hk2.config.TransactionFailure

      java.lang.NullPointerException

      at com.sun.enterprise.security.admin.cli.EnableSecureAdminCommand.run()
    2. Security Core Classes
      SecureAdminCommand.execute
      1. com.sun.enterprise.security.admin.cli.EnableSecureAdminCommand.run(EnableSecureAdminCommand.java:151)
      2. com.sun.enterprise.security.admin.cli.SecureAdminCommand.execute(SecureAdminCommand.java:891)
      2 frames
    3. Kernel Classes
      AdminAdapter.service
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
      7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
      8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
      8 frames
    4. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      1 frame
    5. Kernel Classes
      HK2Dispatcher.dispatch
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispatch(HK2Dispatcher.java:117)
      1 frame