hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Chitlangia (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-456) TestOzoneShell#init is breaking due to Null Pointer Exception
Date Thu, 13 Sep 2018 18:44:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dinesh Chitlangia updated HDDS-456:
-----------------------------------
    Attachment: HDDS-456.001.patch
        Status: Patch Available  (was: Open)

> TestOzoneShell#init is breaking due to Null Pointer Exception
> -------------------------------------------------------------
>
>                 Key: HDDS-456
>                 URL: https://issues.apache.org/jira/browse/HDDS-456
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Dinesh Chitlangia
>            Assignee: Dinesh Chitlangia
>            Priority: Major
>         Attachments: HDDS-456.001.patch
>
>
> Run TestOzoneShell in IDE and all tests will fail with following stacktrace:
>  
> {noformat}
> java.lang.NullPointerException
>  at java.util.Objects.requireNonNull(Objects.java:203)
>  at java.util.Arrays$ArrayList.<init>(Arrays.java:3813)
>  at java.util.Arrays.asList(Arrays.java:3800)
>  at org.apache.hadoop.util.StringUtils.createStartupShutdownMessage(StringUtils.java:746)
>  at org.apache.hadoop.util.StringUtils.startupShutdownMessage(StringUtils.java:714)
>  at org.apache.hadoop.util.StringUtils.startupShutdownMessage(StringUtils.java:707)
>  at org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:308)
>  at org.apache.hadoop.ozone.MiniOzoneClusterImpl$Builder.createOM(MiniOzoneClusterImpl.java:419)
>  at org.apache.hadoop.ozone.MiniOzoneClusterImpl$Builder.build(MiniOzoneClusterImpl.java:348)
>  at org.apache.hadoop.ozone.ozShell.TestOzoneShell.init(TestOzoneShell.java:146)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>  at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
>  at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
>  at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
>  at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
>  at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
>  at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message