[
https://issues.apache.org/jira/browse/HDDS-9252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-9252.
------------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> NPE in TestNSSummaryTaskWithLegacy$TestProcess
> ----------------------------------------------
>
> Key: HDDS-9252
> URL: https://issues.apache.org/jira/browse/HDDS-9252
> Project: Apache Ozone
> Issue Type: Bug
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Mohammad Arafat Khan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> Running only {{TestNSSummaryTaskWithLegacy$TestProcess}} fails with
> {{NullPointerException}}. It depends on the outer class {{setUp()}}, which
> seems to be skipped in this case.
> {code:title=mvn -am -pl :ozone-recon
> -Dtest='TestNSSummaryTaskWithLegacy$TestProcess' clean test}
> ...
> [INFO] Running
> org.apache.hadoop.ozone.recon.tasks.TestNSSummaryTaskWithLegacy$TestProcess
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.021
> s <<< FAILURE! - in
> org.apache.hadoop.ozone.recon.tasks.TestNSSummaryTaskWithLegacy$TestProcess
> [ERROR]
> org.apache.hadoop.ozone.recon.tasks.TestNSSummaryTaskWithLegacy$TestProcess
> Time elapsed: 0.021 s <<< ERROR!
> java.lang.NullPointerException
> at
> org.apache.hadoop.ozone.recon.tasks.TestNSSummaryTaskWithLegacy$TestProcess.setUp(TestNSSummaryTaskWithLegacy.java:298)
> {code}
> CC [~xBis]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]