You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Anuruddha Lanka Liyanarachchi (JIRA)" <ji...@apache.org> on 2015/05/14 12:19:00 UTC

[jira] [Updated] (STRATOS-1130) Adding cartridge method throws exception

     [ https://issues.apache.org/jira/browse/STRATOS-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anuruddha Lanka Liyanarachchi updated STRATOS-1130:
---------------------------------------------------
    Fix Version/s:     (was: 4.1.0)
                   4.1.0 RC1

> Adding cartridge method throws exception 
> -----------------------------------------
>
>                 Key: STRATOS-1130
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1130
>             Project: Stratos
>          Issue Type: Bug
>    Affects Versions: 4.1.0 Alpha
>            Reporter: Gayan Gunarathne
>            Assignee: Gayan Gunarathne
>             Fix For: 4.1.0 RC1
>
>
> Getting the following exception when adding the cartridge with the fresh pack.
> org.apache.stratos.cloud.controller.stub.CloudControllerServiceCartridgeNotFoundExceptionException: CloudControllerServiceCartridgeNotFoundExceptionException
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> 	at java.lang.Class.newInstance(Class.java:374)
> 	at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.getCartridgeInfo(CloudControllerServiceStub.java:4027)
> 	at org.apache.stratos.common.client.CloudControllerServiceClient.getCartridgeInfo(CloudControllerServiceClient.java:119)
> 	at org.apache.stratos.rest.endpoint.api.StratosApiV41Utils.getCartridge(StratosApiV41Utils.java:341)
> 	at org.apache.stratos.rest.endpoint.api.StratosApiV41.addCartridge(StratosApiV41.java:145)
> We are throwing the exception CartridgeNotFoundException in "getCartridgeInfo" when there is no cartridge found.But we didn't handle it in the "addCartridge".



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