cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Jagirdar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-4481) API: listEventTypes returns nothing; raises ERROR in MS logs
Date Fri, 23 Aug 2013 21:37:51 GMT
Parth Jagirdar created CLOUDSTACK-4481:
------------------------------------------

             Summary: API: listEventTypes returns nothing; raises ERROR in MS logs
                 Key: CLOUDSTACK-4481
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4481
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API
    Affects Versions: 4.2.1
         Environment: Master with VMWARE
            Reporter: Parth Jagirdar
            Priority: Critical


Issue a listEventTypes on 8080 or 8096 and observe that API returns nothing.


Snippet from API log.

2013-08-23 14:21:13,651 INFO  [cloud.api.ApiServer] (catalina-exec-15:null) (userId=2 accountId=2
sessionId=A9E1E89554B6F0750B7AEB28C32D1682) 10.215.2.19 -- GET command=listEventTypes&response=json&sessionkey=AbjeAm3ebx%2B4f2T1U74jCb%2FZSkQ%3D&listAll=true&page=1&pagesize=20&_=1377293266540
200 { "listeventtypesresponse" : { } }


Following exception seen in MS log.
2013-08-23 14:21:13,648 ERROR [cloud.server.ManagementServerImpl] (catalina-exec-15:null)
Error while listing Event Types
java.lang.IllegalAccessException: Class com.cloud.server.ManagementServerImpl can not access
a member of class com.cloud.event.EventTypes with modifiers "private static"
        at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
        at java.lang.reflect.Field.doSecurityCheck(Field.java:978)
        at java.lang.reflect.Field.getFieldAccessor(Field.java:914)
        at java.lang.reflect.Field.get(Field.java:376)
        at com.cloud.server.ManagementServerImpl.listEventTypes(ManagementServerImpl.java:3728)
        at org.apache.cloudstack.api.command.user.event.ListEventTypesCmd.execute(ListEventTypesCmd.java:45)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-08-23 14:21:13,651 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===END===  10.215.2.19
-- GET  command=listEventTypes&response=json&sessionkey=AbjeAm3ebx%2B4f2T1U74jCb%2FZSkQ%3D&listAll=true&page=1&pagesize=20&_=1377293266540







--
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: http://www.atlassian.com/software/jira

Mime
View raw message