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

Saksham Srivastava commented on CLOUDSTACK-3167:
------------------------------------------------

Cannot reproduce the issue:

http://10.102.192.233:8096/client/api?command=listVlanIpRanges&zoneid=1 

Response:

<listvlaniprangesresponse cloud-stack-version="4.2.0-SNAPSHOT">
<count>1</count>
<vlaniprange>
<id>fe5d7f98-31b3-43f9-8e57-3949049bd4ed</id>
<forvirtualnetwork>true</forvirtualnetwork>
<zoneid>8887f433-7c25-4de5-897e-2cbea12ba322</zoneid>
<vlan>100</vlan>
<account>system</account>
<domainid>e9b9ca56-de37-11e2-9f28-1a9dc5aab6d3</domainid>
<domain>ROOT</domain>
<gateway>10.102.196.1</gateway>
<netmask>255.255.255.0</netmask>
<startip>10.102.196.115</startip>
<endip>10.102.196.125</endip>
<networkid>b0b92671-d219-4287-b0e9-0a225b246f1a</networkid>
<physicalnetworkid>f210ee4b-1746-4721-ad94-d16a12c2d1e6</physicalnetworkid>
</vlaniprange>
</listvlaniprangesresponse>

The issue is that in the test scripts execution, getVlanAccount is returning 
null.
                
> [Automation] List VLAN range API call failed with null pointer exception 
> -------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3167
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3167
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>         Environment: Master build,
>            Reporter: Rayees Namathponnan
>            Assignee: Saksham Srivastava
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: CLOUDSTACK-3167.rar
>
>
> SSVM test cases failed from BVT
> run listVLAN Range command, its fails willl null pointer exception
> http://10.223.49.195:8096/?command=listVlanIpRanges&zoneid=72deef27-805a-4c6a-bf37-2b04d6c614d0&response=json
> 2013-06-24 17:32:44,763 DEBUG [cloud.projects.ProjectManagerImpl] 
> (Job-Executor-17:job-3320) Accounts are unassign successfully from project 
> Project[94|name=Project-TRGJ8K|domainid=1] as a part of project cleanup...
> 2013-06-24 17:32:44,795 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-17:job-3320) Complete async job-3320, jobStatus: 1, resultCode: 
> 0, result: org.apache.cloudstack.api.response.SuccessResponse@7c56947b
> 2013-06-24 17:32:44,799 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-17:job-3320) Done executing 
> org.apache.cloudstack.api.command.user.project.DeleteProjectCmd for job-3320
> 2013-06-24 17:32:45,192 ERROR [cloud.api.ApiServer] (ApiServer-2:null) 
> unhandled exception executing api command: listVlanIpRanges
> java.lang.NullPointerException
>         at 
> com.cloud.configuration.ConfigurationManagerImpl.getVlanAccount(ConfigurationManagerImpl.java:4570)
>         at com.cloud.api.ApiDBUtils.getVlanAccount(ApiDBUtils.java:1062)
>         at 
> com.cloud.api.ApiResponseHelper.createVlanIpRangeResponse(ApiResponseHelper.java:604)
>         at 
> org.apache.cloudstack.api.command.admin.vlan.ListVlanIpRangesCmd.execute(ListVlanIpRangesCmd.java:145)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:528)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:371)
>         at com.cloud.api.ApiServer.handle(ApiServer.java:302)
>         at 
> org.apache.http.protocol.HttpService.doService(HttpService.java:375)
>         at 
> org.apache.http.protocol.HttpService.handleRequest(HttpService.java:290)
>         at com.cloud.api.ApiServer$WorkerTask.run(ApiServer.java:992)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

--
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

Reply via email to