Red Hat Bugzilla – Bug 829394
war deployment via CLI throws NullPointerException in AS7-plugin
Last modified: 2015-09-02 20:01:04 EDT
Created attachment 589935 [details]
Description of problem:
While trying to create a PackageBackedResource with a war for deploying it via CLI, it throws NullPointerException in GUI.
Version-Release number of selected component (if applicable):
JON - Version: 3.1.0.ER6
Steps to Reproduce:
1. Run the testDeployWar_2 under CLI Remote Client (which creates createPackageBackedResource to deploy a war).
Null pointer exception is being thrown on UI
Child resource under EAP with deployed war should have been created.
Attached is the js file. Please come back to me concerning the war file.
Created attachment 589942 [details]
iBook.war for deployment
It was posible to attache the war file to this bug. Please get it from attachment.
Created attachment 589944 [details]
What version of the plugin are you using here?
The call in the script
ResourceFactoryManager.createResource(jBossId, appType.id, fileName, null,deployConfig, null);
Does not work for package based resources (i.e. deployments)
Just comment that command (createResource) and you'll get the java heap exception for 12MB war file from CLI.
verified on rhq with small war
Bulk close of old bugs in VERIFIED state.