Created
October 14, 2014 19:59
-
-
Save ddelazerda/8992172812c8d998241b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014/10/14 14:19:34 ===========REQUEST=========== | |
2014/10/14 14:19:34 POST /sdk HTTP/1.1 | |
Host: myhost.com | |
User-Agent: govsphere/1.0 | |
Content-Length: 702 | |
Content-Type: text/xml; charset="utf-8" | |
Cookie: vmware_soap_session=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | |
Soapaction: urn:vim25/5.0 | |
Accept-Encoding: gzip | |
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:encoding="http://schemas.xmlsoap.org/soap/encoding/" encoding:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> | |
<Header xmlns="http://schemas.xmlsoap.org/soap/envelope/"></Header> | |
<Body xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <RetrieveProperties> | |
<_this type="PropertyCollector">propertyCollector</_this> | |
<specSet> | |
<propSet> | |
<type>Folder</type> | |
<pathSet>childEntity</pathSet> | |
</propSet> | |
<objectSet> | |
<obj type="Folder">group-d1</obj> | |
</objectSet> | |
</specSet> | |
</RetrieveProperties></Body> | |
</Envelope> | |
2014/10/14 14:19:34 ===========RESPONSE=========== | |
2014/10/14 14:19:34 HTTP/1.1 200 OK | |
Content-Length: 667 | |
Cache-Control: no-cache | |
Connection: Keep-Alive | |
Content-Type: text/xml; charset=utf-8 | |
Date: Tue, 14 Oct 2014 18:19:34 GMT | |
<?xml version="1.0" encoding="UTF-8"?> | |
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" | |
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<soapenv:Body> | |
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="Folder">group-d1</obj><propSet><name>childEntity</name><val xsi:type="ArrayOfManagedObjectReference"><ManagedObjectReference type="Datacenter" xsi:type="ManagedObjectReference">datacenter-21</ManagedObjectReference></val></propSet></returnval></RetrievePropertiesResponse> | |
</soapenv:Body> | |
</soapenv:Envelope> | |
2014/10/14 14:19:34 Returned val: &vim.PropertyValue{Type:"ArrayOfManagedObjectReference", Xml:"<ManagedObjectReference type=\"Datacenter\" xsi:type=\"ManagedObjectReference\">datacenter-21</ManagedObjectReference>"} | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x0 pc=0x43a449] | |
goroutine 1 [running]: | |
runtime.panic(0x9071e0, 0x1158268) | |
/usr/local/go/src/pkg/runtime/panic.c:266 +0xb6 | |
govsphere/vim.(*PropertyValue).Value(0xc210230900, 0x12, 0x7f6656277d70, 0x1, 0x1) | |
/myworkspace/go/src/govsphere/vim/property_value.go:17 +0x59 | |
govsphere/vim.(*ManagedObject).currentProperty(0xc210224320, 0xa3a1f0, 0xb, 0xc21001fa00, 0xc21001fa00, ...) | |
/myworkspace/go/src/govsphere/vim/managed_object.go:71 +0x5da | |
govsphere/vim.(*Folder).ChildEntity(0xc210223d80, 0xc21001fa00, 0x0, 0x0, 0xa240d0, ...) | |
/myworkspace/go/src/govsphere/vim/vim.go:20416 +0x41 | |
main.main() | |
/myworkspace/go/src/test/test.go:28 +0x150 | |
goroutine 5 [chan receive]: | |
net/http.(*persistConn).readLoop(0xc210061580) | |
/usr/local/go/src/pkg/net/http/transport.go:701 +0x2f4 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 6 [select]: | |
net/http.(*persistConn).writeLoop(0xc210061580) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 11 [IO wait]: | |
net.runtime_pollWait(0x7f66564089f8, 0x72, 0x0) | |
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a | |
net.(*pollDesc).Wait(0xc2100ce140, 0x72, 0x7f66564072e8, 0xb) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34 | |
net.(*pollDesc).WaitRead(0xc2100ce140, 0xb, 0x7f66564072e8) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30 | |
net.(*netFD).Read(0xc2100ce0e0, 0xc21008f000, 0x1000, 0x1000, 0x0, ...) | |
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0 | |
net.(*conn).Read(0xc2100003d0, 0xc21008f000, 0x1000, 0x1000, 0x92c380, ...) | |
/usr/local/go/src/pkg/net/net.go:122 +0xc5 | |
crypto/tls.(*block).readFromUntil(0xc2100cd300, 0x7f6656408b28, 0xc2100003d0, 0x5, 0xc2100003d0, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6 | |
crypto/tls.(*Conn).readRecord(0xc21005b280, 0x17, 0x0, 0x8) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107 | |
crypto/tls.(*Conn).Read(0xc21005b280, 0xc21008c000, 0x1000, 0x1000, 0x0, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135 | |
bufio.(*Reader).fill(0xc21008b4e0) | |
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110 | |
bufio.(*Reader).Peek(0xc21008b4e0, 0x1, 0x0, 0x0, 0x0, ...) | |
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb | |
net/http.(*persistConn).readLoop(0xc210061800) | |
/usr/local/go/src/pkg/net/http/transport.go:687 +0xb7 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 10 [syscall]: | |
runtime.goexit() | |
/usr/local/go/src/pkg/runtime/proc.c:1394 | |
goroutine 12 [select]: | |
net/http.(*persistConn).writeLoop(0xc210061800) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 19 [IO wait]: | |
net.runtime_pollWait(0x7f6656408950, 0x72, 0x0) | |
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a | |
net.(*pollDesc).Wait(0xc210114140, 0x72, 0x7f66564072e8, 0xb) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34 | |
net.(*pollDesc).WaitRead(0xc210114140, 0xb, 0x7f66564072e8) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30 | |
net.(*netFD).Read(0xc2101140e0, 0xc210127000, 0x1000, 0x1000, 0x0, ...) | |
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0 | |
net.(*conn).Read(0xc2100fbb18, 0xc210127000, 0x1000, 0x1000, 0x92c380, ...) | |
/usr/local/go/src/pkg/net/net.go:122 +0xc5 | |
crypto/tls.(*block).readFromUntil(0xc210115210, 0x7f6656408b28, 0xc2100fbb18, 0x5, 0xc2100fbb18, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6 | |
crypto/tls.(*Conn).readRecord(0xc21005b500, 0x17, 0x0, 0x8) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107 | |
crypto/tls.(*Conn).Read(0xc21005b500, 0xc210123000, 0x1000, 0x1000, 0x0, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135 | |
bufio.(*Reader).fill(0xc21011e9c0) | |
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110 | |
bufio.(*Reader).Peek(0xc21011e9c0, 0x1, 0x0, 0x0, 0x0, ...) | |
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb | |
net/http.(*persistConn).readLoop(0xc210061f80) | |
/usr/local/go/src/pkg/net/http/transport.go:687 +0xb7 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 15 [chan receive]: | |
net/http.(*persistConn).readLoop(0xc210061e80) | |
/usr/local/go/src/pkg/net/http/transport.go:701 +0x2f4 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 16 [select]: | |
net/http.(*persistConn).writeLoop(0xc210061e80) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 20 [select]: | |
net/http.(*persistConn).writeLoop(0xc210061f80) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 27 [IO wait]: | |
net.runtime_pollWait(0x7f66564088a8, 0x72, 0x0) | |
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a | |
net.(*pollDesc).Wait(0xc2101091b0, 0x72, 0x7f66564072e8, 0xb) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34 | |
net.(*pollDesc).WaitRead(0xc2101091b0, 0xb, 0x7f66564072e8) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30 | |
net.(*netFD).Read(0xc210109150, 0xc2100ca000, 0x400, 0x400, 0x0, ...) | |
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0 | |
net.(*conn).Read(0xc21013c7f0, 0xc2100ca000, 0x400, 0x400, 0x92c380, ...) | |
/usr/local/go/src/pkg/net/net.go:122 +0xc5 | |
crypto/tls.(*block).readFromUntil(0xc210115570, 0x7f6656408b28, 0xc21013c7f0, 0x5, 0xc21013c7f0, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6 | |
crypto/tls.(*Conn).readRecord(0xc21005b780, 0x17, 0x0, 0x8) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107 | |
crypto/tls.(*Conn).Read(0xc21005b780, 0xc2100fe000, 0x1000, 0x1000, 0x0, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135 | |
bufio.(*Reader).fill(0xc2101086c0) | |
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110 | |
bufio.(*Reader).Peek(0xc2101086c0, 0x1, 0x0, 0x0, 0x0, ...) | |
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb | |
net/http.(*persistConn).readLoop(0xc210145300) | |
/usr/local/go/src/pkg/net/http/transport.go:687 +0xb7 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 23 [chan receive]: | |
net/http.(*persistConn).readLoop(0xc210145200) | |
/usr/local/go/src/pkg/net/http/transport.go:701 +0x2f4 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 24 [select]: | |
net/http.(*persistConn).writeLoop(0xc210145200) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 28 [select]: | |
net/http.(*persistConn).writeLoop(0xc210145300) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 35 [IO wait]: | |
net.runtime_pollWait(0x7f6656408800, 0x72, 0x0) | |
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a | |
net.(*pollDesc).Wait(0xc2100ce610, 0x72, 0x7f66564072e8, 0xb) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34 | |
net.(*pollDesc).WaitRead(0xc2100ce610, 0xb, 0x7f66564072e8) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30 | |
net.(*netFD).Read(0xc2100ce5b0, 0xc210152000, 0x4000, 0x4000, 0x0, ...) | |
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0 | |
net.(*conn).Read(0xc21013c008, 0xc210152000, 0x4000, 0x4000, 0x92c380, ...) | |
/usr/local/go/src/pkg/net/net.go:122 +0xc5 | |
crypto/tls.(*block).readFromUntil(0xc2100ed240, 0x7f6656408b28, 0xc21013c008, 0x5, 0xc21013c008, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6 | |
crypto/tls.(*Conn).readRecord(0xc21005ba00, 0x17, 0x0, 0x8) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107 | |
crypto/tls.(*Conn).Read(0xc21005ba00, 0xc2100e8000, 0x1000, 0x1000, 0x0, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135 | |
bufio.(*Reader).fill(0xc21008ba20) | |
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110 | |
bufio.(*Reader).Peek(0xc21008ba20, 0x1, 0x0, 0x0, 0x0, ...) | |
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb | |
net/http.(*persistConn).readLoop(0xc210145780) | |
/usr/local/go/src/pkg/net/http/transport.go:687 +0xb7 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 31 [chan receive]: | |
net/http.(*persistConn).readLoop(0xc210145680) | |
/usr/local/go/src/pkg/net/http/transport.go:701 +0x2f4 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 32 [select]: | |
net/http.(*persistConn).writeLoop(0xc210145680) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 36 [select]: | |
net/http.(*persistConn).writeLoop(0xc210145780) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 43 [IO wait]: | |
net.runtime_pollWait(0x7f6656408758, 0x72, 0x0) | |
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a | |
net.(*pollDesc).Wait(0xc210114610, 0x72, 0x7f66564072e8, 0xb) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34 | |
net.(*pollDesc).WaitRead(0xc210114610, 0xb, 0x7f66564072e8) | |
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30 | |
net.(*netFD).Read(0xc2101145b0, 0xc210208000, 0x1000, 0x1000, 0x0, ...) | |
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0 | |
net.(*conn).Read(0xc2101e8888, 0xc210208000, 0x1000, 0x1000, 0x92c380, ...) | |
/usr/local/go/src/pkg/net/net.go:122 +0xc5 | |
crypto/tls.(*block).readFromUntil(0xc2101ecf00, 0x7f6656408b28, 0xc2101e8888, 0x5, 0xc2101e8888, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6 | |
crypto/tls.(*Conn).readRecord(0xc2101d1780, 0x17, 0x0, 0x8) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107 | |
crypto/tls.(*Conn).Read(0xc2101d1780, 0xc210205000, 0x1000, 0x1000, 0x0, ...) | |
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135 | |
bufio.(*Reader).fill(0xc210204480) | |
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110 | |
bufio.(*Reader).Peek(0xc210204480, 0x1, 0x0, 0x0, 0x0, ...) | |
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb | |
net/http.(*persistConn).readLoop(0xc2101f5100) | |
/usr/local/go/src/pkg/net/http/transport.go:687 +0xb7 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 39 [chan receive]: | |
net/http.(*persistConn).readLoop(0xc2101f5000) | |
/usr/local/go/src/pkg/net/http/transport.go:701 +0x2f4 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 40 [select]: | |
net/http.(*persistConn).writeLoop(0xc2101f5000) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 44 [select]: | |
net/http.(*persistConn).writeLoop(0xc2101f5100) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 51 [runnable]: | |
net/http.(*persistConn).readLoop(0xc2101f5900) | |
/usr/local/go/src/pkg/net/http/transport.go:778 +0x68f | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 47 [chan receive]: | |
net/http.(*persistConn).readLoop(0xc2101f5800) | |
/usr/local/go/src/pkg/net/http/transport.go:701 +0x2f4 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:528 +0x607 | |
goroutine 48 [select]: | |
net/http.(*persistConn).writeLoop(0xc2101f5800) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
goroutine 52 [select]: | |
net/http.(*persistConn).writeLoop(0xc2101f5900) | |
/usr/local/go/src/pkg/net/http/transport.go:791 +0x271 | |
created by net/http.(*Transport).dialConn | |
/usr/local/go/src/pkg/net/http/transport.go:529 +0x61e | |
exit status 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment