You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sanjay Tripathi (JIRA)" <ji...@apache.org> on 2013/07/11 12:33:49 UTC

[jira] [Resolved] (CLOUDSTACK-3462) NumberFormatException with TemplateService while performing template synchronization.

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanjay Tripathi resolved CLOUDSTACK-3462.
-----------------------------------------

    Resolution: Fixed
    
> NumberFormatException with TemplateService while performing template synchronization.
> -------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3462
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3462
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>         Environment: Master branch.
>            Reporter: Sanjay Tripathi
>            Assignee: Sanjay Tripathi
>             Fix For: 4.2.0
>
>
> Steps:
> 1. Setup cloudstack environment.
> 2. Ensure that system VMs came up properly.
> 3. Restart MS
> 2013-07-11 13:25:45,270 ERROR [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-1:null) Monitor DownloadListener says there is an error in the connect process for 2 due to null
> java.lang.NumberFormatException: null
>         at java.lang.Long.parseLong(Long.java:404)
>         at java.lang.Long.parseLong(Long.java:483)
>         at com.cloud.utils.UriUtils.getRemoteSize(UriUtils.java:113)
>         at org.apache.cloudstack.storage.image.TemplateServiceImpl.handleTemplateSync(TemplateServiceImpl.java:331)
>         at com.cloud.storage.download.DownloadListener.processConnect(DownloadListener.java:307)
>         at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:586)
>         at com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1086)
>         at com.cloud.agent.manager.AgentManagerImpl.access$100(AgentManagerImpl.java:144)
>         at com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.run(AgentManagerImpl.java:1161)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:722)

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