You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myriad.apache.org by "Aashreya Ravi Shankar (JIRA)" <ji...@apache.org> on 2015/09/08 20:10:45 UTC

[jira] [Created] (MYRIAD-130) Launching a profile missing from the myriad-config-default.yml throws null pointer exception

Aashreya Ravi Shankar created MYRIAD-130:
--------------------------------------------

             Summary: Launching a profile missing from the myriad-config-default.yml throws null pointer exception
                 Key: MYRIAD-130
                 URL: https://issues.apache.org/jira/browse/MYRIAD-130
             Project: Myriad
          Issue Type: Bug
          Components: Scheduler
            Reporter: Aashreya Ravi Shankar


When trying to flex-up a profile which is missing from the myriad-config file, null pointer exception is thrown.

15/09/08 10:34:38 ERROR mortbay.log: /api/cluster/flexup
java.lang.NullPointerException
	at com.ebay.myriad.state.SchedulerState.addNodes(SchedulerState.java:63)
	at com.ebay.myriad.scheduler.MyriadOperations.flexUpCluster(MyriadOperations.java:65)
	at com.ebay.myriad.api.ClustersResource.flexUp(ClustersResource.java:83)
	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.RightHandPathRule.accept(RightHandPathRule.java:147)
	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)





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