You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/09/07 16:39:00 UTC
[jira] [Updated] (HDDS-9252) NPE in TestNSSummaryTaskWithLegacy$TestProcess
[ https://issues.apache.org/jira/browse/HDDS-9252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai updated HDDS-9252:
-----------------------------------
Description:
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]
was:
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}
> 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
> Priority: Major
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org