[
https://issues.apache.org/jira/browse/AMBARI-7836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175303#comment-14175303
]
Hudson commented on AMBARI-7836:
--------------------------------
SUCCESS: Integrated in Ambari-branch-1.7.0 #134 (See
[https://builds.apache.org/job/Ambari-branch-1.7.0/134/])
AMBARI-7836. Slider View: Unable to create app, 500 error on POST request
(srimanth) (sgunturi:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=dd7e45e8b638193fc72ee4dc21348735bcf87427)
*
contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
> Slider View: Unable to create app, 500 error on POST request
> ------------------------------------------------------------
>
> Key: AMBARI-7836
> URL: https://issues.apache.org/jira/browse/AMBARI-7836
> Project: Ambari
> Issue Type: Bug
> Components: contrib
> Affects Versions: 1.7.0
> Reporter: Srimanth Gunturi
> Assignee: Srimanth Gunturi
> Fix For: 1.7.0
>
> Attachments: AMBARI-7836.patch
>
>
> After hitting 'Finish' button in Create App Wiazrd, POST request
> {code}api/v1/views/SLIDER/versions/1.0.0/instances/{instanceName}/apps{code}
> returns 500 error with message: {code}Server Error{code}
> Exception:
> {code}
> 10:38:31,872 WARN [qtp1316535515-167] ServletHandler:514 -
> /api/v1/views/SLIDER/versions/1.0.0/instances/s0/apps
> java.lang.NullPointerException
> at
> org.apache.ambari.view.slider.SliderAppsViewControllerImpl.getUserToRunAsKeytab(SliderAppsViewControllerImpl.java:1178)
> at
> org.apache.ambari.view.slider.SliderAppsViewControllerImpl.createSliderApp(SliderAppsViewControllerImpl.java:1094)
> at
> org.apache.ambari.view.slider.rest.SliderAppsResource.createApp(SliderAppsResource.java:132)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> at
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
> at
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> at
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> at
> com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
> at
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)