cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7481) Assertion/exception in listVolumes call from UI with assert enabled
Date Fri, 05 Sep 2014 18:36:28 GMT

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

ASF subversion and git services commented on CLOUDSTACK-7481:
-------------------------------------------------------------

Commit f9d7a12a57de26a0bebe4923e8364400c65aabd0 in cloudstack's branch refs/heads/master from
[~nitinme]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f9d7a12 ]

CLOUDSTACK-7481: Assertion/exception in listVolumes call from UI with assert enabled
searchForVolumesInternal() indicated some inconsistency in the use of entity().isDisplayVolume()
property – used twice as “display” and “displayVolume” in search criteria. And then
exception/assert happens while setting the property.
Correcting the issue.


> Assertion/exception in listVolumes call from UI with assert enabled
> -------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7481
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7481
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.5.0
>            Reporter: Nitin Mehta
>            Assignee: Nitin Mehta
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> A quick look at searchForVolumesInternal() indicated some inconsistency in the use of
entity().isDisplayVolume() property – used twice as “display” and “displayVolume”
in search criteria. And then exception/assert happens while setting the property.
> 2014-09-02 14:49:25.257:WARN::Error for /client/api
> java.lang.AssertionError: Couldn't find displayVolume
>                 at com.cloud.utils.db.SearchCriteria.setParameters(SearchCriteria.java:161)
>                 at com.cloud.api.query.QueryManagerImpl.searchForVolumesInternal(QueryManagerImpl.java:1764)
>                 at com.cloud.api.query.QueryManagerImpl.searchForVolumes(QueryManagerImpl.java:1650)
>                 at org.apache.cloudstack.api.command.user.volume.ListVolumesCmd.execute(ListVolumesCmd.java:152)
>                 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>                 at com.cloud.api.ApiServer.queueCommand(ApiServer.java:694)
>                 at com.cloud.api.ApiServer.handleRequest(ApiServer.java:517)
>                 at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:273)
>                 at com.cloud.api.ApiServlet$1.run(ApiServlet.java:117)
>                 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:114)
>                 at com.cloud.api.ApiServlet.doGet(ApiServlet.java:76)
>                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>                 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>                 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
>                 at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>                 at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>                 at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>                 at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>                 at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>                 at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>                 at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>                 at org.mortbay.jetty.Server.handle(Server.java:326)
>                 at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>                 at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
>                 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>                 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>                 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>                 at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>                 at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)



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

Mime
View raw message