Bug 1069850
| Summary: | [GSS] (6.3.0) Prevent NullPointerException in JDR CommandLineMain | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Brad Maxwell <bmaxwell> | |
| Component: | JDR | Assignee: | Brad Maxwell <bmaxwell> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | unspecified | Docs Contact: | Scott Mumford <smumford> | |
| Priority: | unspecified | |||
| Version: | 6.2.0 | CC: | bmaxwell, kkhan, pkremens, smumford | |
| Target Milestone: | DR2 | Flags: | smumford:
needinfo-
|
|
| Target Release: | EAP 6.3.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
In previous versions of JBoss EAP 6, an NullPointerException would be thrown whenever an exception was thrown from JDR CommandLineMain. This issue has been corrected in this release.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1069894 (view as bug list) | Environment: | ||
| Last Closed: | 2014-06-28 15:32:03 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1069894 | |||
Brad Maxwell <bmaxwell> updated the status of jira WFLY-3016 to Coding In Progress Move the prints into the try { } since if standaloneCollect throws an exception, the response object will be null
Verified on EAP 6.3.0.DR2. |
If an exception is throw, it leads to a null pointer: Failed to complete the JDR report: JBAS013352: Zipfile could not be created. Exception in thread "main" java.lang.NullPointerException at org.jboss.as.jdr.CommandLineMain.main(CommandLineMain.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:613) at org.jboss.modules.Module.run(Module.java:292) at org.jboss.modules.Main.main(Main.java:455)