Created attachment 863432[details]
Install config script
Description of problem:
When attempting to apply the 6.2.1 patch to EAP 6.2.0 that was installed via the jboss-eap-6.2.0-installer.jar, an NPE occurs.
Version-Release number of selected component (if applicable):
6.2.0
How reproducible:
Always
Steps to Reproduce:
Install EAP 6.2.0 via the installer. My config file for that is attached.
Then apply the patch for 6.2.1:
[standalone@localhost:9999 /] patch apply /home/rlucente/NotBackedUp/jboss-eap-6.2.1.zip
Conflicts detected: bin/jconsole.bat
Use the --override or --preserve arguments in order to resolve the conflict.
[standalone@localhost:9999 /] patch apply --override /home/rlucente/NotBackedUp/jboss-eap-6.2.1.zip
java.lang.NullPointerException
at org.jboss.as.patching.cli.PatchHandler.createPatchOperationBuilder(PatchHandler.java:347)
at org.jboss.as.patching.cli.PatchHandler.doHandle(PatchHandler.java:246)
at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:86)
at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:600)
at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:616)
at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1204)
at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:263)
at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.modules.Module.run(Module.java:292)
at org.jboss.modules.Main.main(Main.java:455)
Actual results:
Both the --override and --preserve options result in an NPE
Expected results:
patch should be successfully applied
Created attachment 863432 [details] Install config script Description of problem: When attempting to apply the 6.2.1 patch to EAP 6.2.0 that was installed via the jboss-eap-6.2.0-installer.jar, an NPE occurs. Version-Release number of selected component (if applicable): 6.2.0 How reproducible: Always Steps to Reproduce: Install EAP 6.2.0 via the installer. My config file for that is attached. Then apply the patch for 6.2.1: [standalone@localhost:9999 /] patch apply /home/rlucente/NotBackedUp/jboss-eap-6.2.1.zip Conflicts detected: bin/jconsole.bat Use the --override or --preserve arguments in order to resolve the conflict. [standalone@localhost:9999 /] patch apply --override /home/rlucente/NotBackedUp/jboss-eap-6.2.1.zip java.lang.NullPointerException at org.jboss.as.patching.cli.PatchHandler.createPatchOperationBuilder(PatchHandler.java:347) at org.jboss.as.patching.cli.PatchHandler.doHandle(PatchHandler.java:246) at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:86) at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:600) at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:616) at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1204) at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:263) at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.modules.Module.run(Module.java:292) at org.jboss.modules.Main.main(Main.java:455) Actual results: Both the --override and --preserve options result in an NPE Expected results: patch should be successfully applied