jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Turli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-952) azure-compute cannot parse a suspended VM
Date Wed, 01 Jul 2015 15:45:05 GMT

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

Andrea Turli commented on JCLOUDS-952:
--------------------------------------

Here is the full stacktrace
{noformat}
java.lang.RuntimeException: request: GET https://management.core.windows.net/341751b0-f348-45ce-9498-41cc68b4b45f/services/hostedservices/amp-in-azure/deployments/amp-in-azure
HTTP/1.1; response: HTTP/1.1 200 OK; cause: java.lang.RuntimeException: request: GET https://management.core.windows.net/341751b0-f348-45ce-9498-41cc68b4b45f/services/hostedservices/amp-in-azure/deployments/amp-in-azure
HTTP/1.1; cause: java.lang.NullPointerException: Null referenceName
	at org.jclouds.http.functions.ParseSax.addDetailsAndPropagate(ParseSax.java:173)
	at org.jclouds.http.functions.ParseSax.addDetailsAndPropagate(ParseSax.java:145)
	at org.jclouds.http.functions.ParseSax.apply(ParseSax.java:85)
	at org.jclouds.http.functions.ParseSax.apply(ParseSax.java:51)
	at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:90)
	at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73)
	at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44)
	at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117)
	at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
	at com.sun.proxy.$Proxy64.get(Unknown Source)
	at org.jclouds.azurecompute.compute.AzureComputeServiceAdapter$4.apply(AzureComputeServiceAdapter.java:295)
	at org.jclouds.azurecompute.compute.AzureComputeServiceAdapter$4.apply(AzureComputeServiceAdapter.java:1)
	at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
	at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:646)
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
	at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:314)
	at com.google.common.collect.ImmutableSet.copyOf(ImmutableSet.java:300)
	at com.google.common.collect.FluentIterable.toSet(FluentIterable.java:358)
	at org.jclouds.azurecompute.compute.AzureComputeServiceAdapter.listNodes(AzureComputeServiceAdapter.java:299)
	at org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.listDetailsOnNodesMatching(AdaptingComputeServiceStrategies.java:122)
	at org.jclouds.compute.strategy.impl.AdaptingComputeServiceStrategies.listNodes(AdaptingComputeServiceStrategies.java:112)
	at org.jclouds.compute.internal.BaseComputeService.listNodes(BaseComputeService.java:335)
	at org.jclouds.azurecompute.compute.AzureComputeServiceContextLiveTest.testLaunchNode(AzureComputeServiceContextLiveTest.java:116)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at org.testng.TestRunner.privateRun(TestRunner.java:767)
	at org.testng.TestRunner.run(TestRunner.java:617)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
	at org.testng.SuiteRunner.run(SuiteRunner.java:254)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
	at org.testng.TestNG.run(TestNG.java:1057)
	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
	at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:125)
Caused by: java.lang.RuntimeException: request: GET https://management.core.windows.net/341751b0-f348-45ce-9498-41cc68b4b45f/services/hostedservices/amp-in-azure/deployments/amp-in-azure
HTTP/1.1; cause: java.lang.NullPointerException: Null referenceName
	at org.jclouds.http.functions.ParseSax.addDetailsAndPropagate(ParseSax.java:173)
	at org.jclouds.http.functions.ParseSax.addDetailsAndPropagate(ParseSax.java:145)
	at org.jclouds.http.functions.ParseSax.parse(ParseSax.java:131)
	at org.jclouds.http.functions.ParseSax.apply(ParseSax.java:83)
	... 47 more
Caused by: java.lang.NullPointerException: Null referenceName
	at org.jclouds.azurecompute.domain.AutoValue_Role_ResourceExtensionReference.<init>(AutoValue_Role_ResourceExtensionReference.java:25)
	at org.jclouds.azurecompute.domain.Role$ResourceExtensionReference.create(Role.java:191)
	at org.jclouds.azurecompute.xml.ResourceExtensionReferenceHandler.getResult(ResourceExtensionReferenceHandler.java:67)
	at org.jclouds.azurecompute.xml.RoleHandler.endElement(RoleHandler.java:172)
	at org.jclouds.azurecompute.xml.DeploymentHandler.endElement(DeploymentHandler.java:119)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)
	at org.jclouds.http.functions.ParseSax.doParse(ParseSax.java:140)
	at org.jclouds.http.functions.ParseSax.parse(ParseSax.java:129)
	... 48 more
{noformat}

> azure-compute cannot parse a suspended VM
> -----------------------------------------
>
>                 Key: JCLOUDS-952
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-952
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs
>    Affects Versions: 1.9.0
>            Reporter: Andrea Turli
>            Assignee: Andrea Turli
>              Labels: easyfix
>             Fix For: 2.0.0, 1.9.1
>
>
> listNodes fails when the Azure account contains a suspended VM



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

Mime
View raw message