cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Tripathi (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-1371) In case ResourceAllocationException, server is not returning any response.
Date Fri, 22 Feb 2013 09:06:12 GMT
Sanjay Tripathi created CLOUDSTACK-1371:

             Summary: In case ResourceAllocationException, server is not returning any response.
                 Key: CLOUDSTACK-1371
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API
    Affects Versions: 4.1.0
         Environment: Master branch latest code
            Reporter: Sanjay Tripathi
            Assignee: Sanjay Tripathi
             Fix For: 4.2.0

If user tries to cross resource limits assigned for his/her account, MS throws ResourceAllocationException
but server is not returning any response and throwing ClassCastException.

MS logs:

ERROR [cloud.api.ApiServlet] (13967358@qtp-22973293-13:) unknown exception writing api response
java.lang.ClassCastException: cannot be cast
        at org.apache.cloudstack.api.ServerApiException.<init>(
        at net.sf.cglib.proxy.MethodProxy.invoke(
        at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
        at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
        at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke( ........

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message