You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/02/10 18:59:18 UTC

[jira] [Commented] (SLIDER-971) NPE when "slider resolve" with "--out"

    [ https://issues.apache.org/jira/browse/SLIDER-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15141316#comment-15141316 ] 

ASF subversion and git services commented on SLIDER-971:
--------------------------------------------------------

Commit eade2578150249ea784b20b4c0d78a51435f0b29 in incubator-slider's branch refs/heads/develop from [~stevel@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=eade257 ]

SLIDER-971 NPE when "slider resolve" with "--out" (kyungwan nam)


> NPE when "slider resolve" with "--out"
> --------------------------------------
>
>                 Key: SLIDER-971
>                 URL: https://issues.apache.org/jira/browse/SLIDER-971
>             Project: Slider
>          Issue Type: Bug
>          Components: client
>    Affects Versions: Slider 0.80
>            Reporter: kyungwan nam
>            Assignee: kyungwan nam
>            Priority: Minor
>             Fix For: Slider 0.91
>
>         Attachments: SLIDER-971-develop.patch
>
>
> this is what i did
> {code}
> slider-0.80.0-incubating/bin/slider resolve --path /users/yarn/services/org-apache-slider/hbase1 --out hbase1_resolved.json
> {code}
> but, that was failed with NPE as follows.
> {code}
> Exception: java.lang.NullPointerException
> 2015-11-10 15:41:44,063 [main] ERROR main.ServiceLauncher - Exception: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.slider.common.tools.SliderUtils.write(SliderUtils.java:2051)
>         at org.apache.slider.client.SliderClient.actionResolve(SliderClient.java:3494)
>         at org.apache.slider.client.SliderClient.exec(SliderClient.java:526)
>         at org.apache.slider.client.SliderClient.runService(SliderClient.java:424)
>         at org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:188)
>         at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:475)
>         at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
>         at org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:630)
>         at org.apache.slider.Slider.main(Slider.java:49)
> 2015-11-10 15:41:44,065 [main] INFO  util.ExitUtil - Exiting with status 56
> {code}
> I think that "parentDir" in "SliderUtils.write" should be checked whether that is null or not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)