[ https://issues.apache.org/jira/browse/STRATOS-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901293#comment-13901293 ]
Nirmal Fernando commented on STRATOS-450: ----------------------------------------- Fixed in 48101310128e108f705e68554637617bac3c0104 and c434b0561ebf54f064b0404877f9adbbcc3c3c84 Now you should see a message like below, if it's not valid alias. stratos> subscribed-cartridges-info --alias php1 Exception [errorCode= 404, errorMessage= Unregistered [alias]: php1! Please enter a valid alias.] > 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)