MSC000001: Failed to start service org.wildfly.security.key-manager.KeyManagerName caused by NullPointerException

Solution Unverified - Updated -

Issue

  • While converting from legacy security to elytron, we encountered the following:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service org.wildfly.security.key-manager."KeyManagerName": org.jboss.msc.service.StartException in service org.wildfly.security.key-manager."KeyManagerName": java.lang.NullPointerException
        at org.wildfly.extension.elytron@15.0.36.Final-redhat-00001//org.wildfly.extension.elytron.SSLDefinitions$1.lambda$getValueSupplier$0(SSLDefinitions.java:592)
        at org.wildfly.extension.elytron@15.0.36.Final-redhat-00001//org.wildfly.extension.elytron.TrivialService.start(TrivialService.java:61)
        at org.jboss.msc@1.4.13.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
        at org.jboss.msc@1.4.13.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
        at org.jboss.msc@1.4.13.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
        at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
        at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
        at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NullPointerException
        at org.wildfly.extension.elytron@15.0.36.Final-redhat-00001//org.wildfly.extension.elytron.SSLDefinitions$1.lambda$getValueSupplier$0(SSLDefinitions.java:578)
        ... 9 more

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 7.4.17

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content