[JON] Deployment of DomainDeployment resource to EAP 6 domain fails from Remote API/CLI due to NullPointerException

Solution Unverified - Updated -

Issue

  • When trying to deploy an application using JON CLI on JBoss Enterprise Application Platform (EAP) 6 domain the application is not deployed
  • Deployment to domain fails and CreateResourceHistory contains the following error message:

    java.lang.NullPointerException
        at org.rhq.modules.plugins.jbossas7.BaseComponent.deployContent(BaseComponent.java:409)
        at org.rhq.modules.plugins.jbossas7.HostControllerComponent.createResource(HostControllerComponent.java:115)
        at sun.reflect.GeneratedMethodAccessor473.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        ...
    
  • DomainDeployment resource is not deployed

Environment

  • JBoss Operations Network (JON) 3.1, 3.1.1
  • JBoss Enterprise Application Platform (EAP) 6
  • JBoss AS7 plug-in provided by JBoss EAP Plug-in Pack
  • Creation or deployment of DomainDeployment to JBoss AS7 Domain Controller as domain content from the JON Remote API or CLI

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