Bug 1206503
| Summary: | NullPointerException from Hello example (hello.properties file missing) | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Petr Matousek <pematous> | |
| Component: | Release_Notes | Assignee: | mmurray | |
| Status: | CLOSED WONTFIX | QA Contact: | MRG Quality Engineering <mrgqe-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | Development | CC: | iboverma, jross, mcressma, mmurray, mtoth, zkraus | |
| Target Milestone: | --- | Keywords: | Regression, WorkAround | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Known Issue | ||
| Doc Text: |
Previously the `hello.properties` file was located in `org/apache/qpid/example` (together with the example sources) and the binaries were compiled to the same location. Starting with MRG-3.1, the source and hello.properties location was changed to src/main/java/org/apache/qpid/example/ while the compiled binaries were still saved to the old location. This caused the Hello example to not be able to read the `hello.properties` file and resulted in a NullPointerException.
To workaround the issue, move the `hello.properties` from `org/apache/qpid/example/` to `src/main/java/org/apache/qpid/example/`. A future release of MRG will correct the compiled file location permanently.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1207368 (view as bug list) | Environment: | ||
| Last Closed: | 2020-03-20 16:51:21 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: | ||||
|
Description
Petr Matousek
2015-03-27 09:56:17 UTC
|