org.jboss.system.server.profileservice.repository.ScopedProfileServiceController Throws a NullPointerException

Solution Unverified - Updated -

Issue

  • JBoss fails to start and throws the following error after a new deploy directory is specified in conf/bootstrap/profile.xml:
    ERROR [org.jboss.system.server.profileservice.repository.ScopedProfileServiceController] Error installing to Create: name=ProfileKey@1cb01e3[domain=default, server=default, name=applications] state=Configured mode=On Demand requiredState=Installed
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            ...
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
         at java.util.concurrent.ConcurrentHashMap.get(Unknown Source)
         at org.jboss.virtual.spi.VFSContextFactoryLocator.getFactory(VFSContextFactoryLocator.java:187)
         at org.jboss.virtual.VFS.getVFS(VFS.java:198)
         at org.jboss.virtual.VFS.createNewRoot(VFS.java:228)
         at org.jboss.virtual.VFS.getRoot(VFS.java:244)
         at org.jboss.system.server.profileservice.repository.AbstractVFSProfileSource.getCachedVirtualFile(AbstractVFSProfileSource.java:353)
         at org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.load(BasicDeploymentRepository.java:114)
         at org.jboss.system.server.profile.repository.AbstractProfile.create(AbstractProfile.java:158)
         ... 22 more
    INFO  [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Loading profile: ProfileKey@1e4d80b[domain=default, server=default, name=hda]
    ERROR [STDERR] Failed to boot JBoss:
    ERROR [STDERR] java.lang.IllegalStateException: Incompletely deployed:
    
    *** PROFILES IN ERROR: Name -> Error
    Profile: ProfileKey@1cb01e3[domain=default, server=default, name=applications] in error due to java.lang.reflect.InvocationTargetException
    
    *** PROFILES MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
    ProfileKey@1e4d80b[domain=default, server=default, name=hda] is missing following dependencies: ProfileKey@1cb01e3[domain=default, server=default, name=applications]{Installed:**ERROR**}
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.