cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daan Hoogland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8289) ec attribute not found when creating new region
Date Fri, 29 May 2015 13:10:17 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14564775#comment-14564775
] 

Daan Hoogland commented on CLOUDSTACK-8289:
-------------------------------------------

I have not search thoroughly yet but the issue has nothing to do with EC. the error message
is misleading; it is a specific message used in a more generic way then originally intended,
it seems. In the end an error message might be correct but the content needs to be modified.
Of course a the cause may be another bug.

> ec attribute not found when creating new region
> -----------------------------------------------
>
>                 Key: CLOUDSTACK-8289
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8289
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Test, UI
>            Reporter: Daan Hoogland
>
> this is related to a smoke test failing. When creating a new region filling id, name
and endpoint an exception occurs.
> ERROR [c.c.a.ApiServer] (qtp1749052383-1263:ctx-44edf7d8 ctx-fd5fd6e1) unhandled exception
executing api command: [Ljava.lang.String;@2f24434
> com.cloud.utils.exception.CloudRuntimeException: Problem with getting the ec attribute
> 	at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1403)
> 	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> 	at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> 	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 	at com.sun.proxy.$Proxy131.persist(Unknown Source)
> 	at org.apache.cloudstack.region.RegionManagerImpl.addRegion(RegionManagerImpl.java:113)
> 	at org.apache.cloudstack.region.RegionServiceImpl.addRegion(RegionServiceImpl.java:87)
> 	at org.apache.cloudstack.api.command.admin.region.AddRegionCmd.execute(AddRegionCmd.java:89)
> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
> 	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:699)
> 	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:524)
> 	at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:283)
> 	at com.cloud.api.ApiServlet$1.run(ApiServlet.java:127)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> 	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:124)
> 	at com.cloud.api.ApiServlet.doGet(ApiServlet.java:86)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:800)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
> 	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:497)
> 	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:313)
> 	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
> 	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:626)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:546)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: Can not set int field org.apache.cloudstack.region.RegionVO.id
to java.lang.Long
> 	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:164)
> 	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:168)
> 	at sun.reflect.UnsafeIntegerFieldAccessorImpl.set(UnsafeIntegerFieldAccessorImpl.java:98)
> 	at java.lang.reflect.Field.set(Field.java:741)
> 	at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1373)
> 	... 47 more



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

Mime
View raw message