Exception java.lang.IllegalArgumentException: The 'metadata' field of the 'packageDetails' parameter is null when trying to deploy application using JBoss ON

Solution Unverified - Updated -

Issue

  • I am trying to deploy a war file or a .ear file from a repository I created in the JON-server. When trying to deploy to the jbossas EAP instance I get the following error:
Package Name    myApp.ear
Version     1.1
Architecture    noarch
Result  Failed
Error Message   

java.lang.IllegalArgumentException: The 'metadata' field of the 'packageDetails' parameter is null.
    at org.jboss.on.common.jbossas.JBPMWorkflowManager.run(JBPMWorkflowManager.java:94)
    at org.rhq.plugins.jbossas5.ApplicationServerContentFacetDelegate.deployPackages(ApplicationServerContentFacetDelegate.java:113)
    at org.rhq.plugins.jbossas5.ApplicationServerComponent.deployPackages(ApplicationServerComponent.java:325)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)

Can you tell what could be going wrong?

Environment

  • JBoss Operations Network (JON) 3.1.2

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.