You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/10/17 18:44:33 UTC

[jira] [Created] (AMBARI-7836) Slider View: Unable to create app, 500 error on POST request

Srimanth Gunturi created AMBARI-7836:
----------------------------------------

             Summary: 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


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)