[ https://issues.apache.org/jira/browse/CLOUDSTACK-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599138#comment-13599138 ]
ASF subversion and git services commented on CLOUDSTACK-1621: ------------------------------------------------------------- Commit 1f1ba72cf492fe6c68a6b25184af2434ff2f6040 in branch refs/heads/4.1 from [~minchen07] [ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=1f1ba72 ] CLOUDSTACK-1621: listProjectInvitations fails with NPE for valid requests. > listProjectInvitations fails with NPE for valid requests > --------------------------------------------------------- > > Key: CLOUDSTACK-1621 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1621 > 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: CentOS release 5.5 > Reporter: Sowmya Krishnan > Assignee: Min Chen > Priority: Blocker > Fix For: 4.1.0 > > > Create Project Invitations to multiple accounts for a project. > Perform listProjectInvitations, with listAll=true > API: http://localhost:8096/api?command=listProjectInvitations&listAll=true > Following is the response: > <?xml version="1.0" encoding="UTF-8"?><listprojectinvitationsresponse > cloud-stack-version="4.1.0-SNAPSHOT"><errorcode>530</errorcode><cserrorcode>9999</cserrorcode></listprojectinvitationsresponse> > Also tried with different params: &account, &projectid, &activeonly. Same > result. > DB: > mysql> select * from project_invitations limit 5; > +----+--------------------------------------+------------+------------+-----------+-------+-------+-----------+---------------------+ > | id | uuid | project_id | account_id | > domain_id | email | token | state | created | > +----+--------------------------------------+------------+------------+-----------+-------+-------+-----------+---------------------+ > | 1 | 8c4da0fe-256e-4507-829d-f419ca57bed9 | 6 | 3 | > 1 | NULL | NULL | Completed | 2013-03-11 08:13:58 | > | 2 | 1e55416b-678f-41fc-905e-9d63f402c66e | 6 | 4 | > 1 | NULL | NULL | Pending | 2013-03-11 08:13:58 | > | 3 | bf05968f-09e2-4d25-b595-dea9d5a95052 | 6 | 5 | > 1 | NULL | NULL | Pending | 2013-03-11 08:14:01 | > | 4 | 6426b5bb-902a-481c-98e3-e93cd8964c0c | 6 | 7 | > 1 | NULL | NULL | Pending | 2013-03-11 08:14:02 | > | 5 | 51521e98-06b8-4b58-8b62-959c2f96e6e7 | 6 | 8 | > 1 | NULL | NULL | Pending | 2013-03-11 08:14:02 | > +----+--------------------------------------+------------+------------+-----------+-------+-------+-----------+---------------------+ > 5 rows in set (0.07 sec) > mysql> select count(*) from project_invitations; > +----------+ > | count(*) | > +----------+ > | 1999 | > +----------+ > 1 row in set (0.00 sec) > mysql> select count(*) from project_invitation_view; > +----------+ > | count(*) | > +----------+ > | 1999 | > +----------+ > 1 row in set (0.11 sec) -- 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