[
https://issues.apache.org/jira/browse/STRATOS-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nirmal Fernando resolved STRATOS-450.
-------------------------------------
Resolution: Fixed
> NPE at rest endpoint when alias is invalid
> ------------------------------------------
>
> Key: STRATOS-450
> URL: https://issues.apache.org/jira/browse/STRATOS-450
> Project: Stratos
> Issue Type: Bug
> Components: Stratos Manager
> Affects Versions: 4.0.0 M7
> Reporter: Nirmal Fernando
> Assignee: Nirmal Fernando
> Priority: Critical
> Fix For: 4.0.0 Alpha
>
>
> Caused by: java.lang.NullPointerException
> at
> org.apache.stratos.rest.endpoint.services.ServiceUtils.getCartridgeFromSubscription(ServiceUtils.java:698)
> at
> org.apache.stratos.rest.endpoint.services.ServiceUtils.getSubscription(ServiceUtils.java:663)
> at
> org.apache.stratos.rest.endpoint.services.StratosAdmin.getCartridgeInfo(StratosAdmin.java:320)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
> at
> org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
> ... 38 more
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)