Skip to content

Instantly share code, notes, and snippets.

@ddelazerda
Created October 21, 2014 18:50
Show Gist options
  • Save ddelazerda/a0f3401a3ea369f3a8c9 to your computer and use it in GitHub Desktop.
Save ddelazerda/a0f3401a3ea369f3a8c9 to your computer and use it in GitHub Desktop.
govsphere panic log
2014/10/21 14:34:14 ===========REQUEST===========
2014/10/21 14:34:14 POST /sdk HTTP/1.1
Host: myhost.com
User-Agent: govsphere/1.0
Content-Length: 663
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>
<pathSet>childEntity</pathSet>
</propSet>
<objectSet>
<obj type="">group-v22</obj>
</objectSet>
</specSet>
</RetrieveProperties></Body>
</Envelope>
2014/10/21 14:34:14 ===========RESPONSE===========
2014/10/21 14:34:14 HTTP/1.1 500 Internal Server Error
Content-Length: 1194
Cache-Control: no-cache
Connection: Keep-Alive
Content-Type: text/xml; charset=utf-8
Date: Tue, 21 Oct 2014 18:34:14 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>
<soapenv:Fault><faultcode>ServerFaultCode</faultcode><faultstring>
Required property type is missing from data object of type PropertySpec
while parsing serialized DataObject of type vmodl.query.PropertyCollector.PropertySpec
at line 6, column 10
while parsing property &quot;propSet&quot; of static type ArrayOfPropertySpec
while parsing serialized DataObject of type vmodl.query.PropertyCollector.FilterSpec
at line 5, column 6
while parsing call information for method RetrieveProperties
at line 3, column 64
while parsing SOAP body
at line 3, column 6
while parsing SOAP envelope
at line 1, column 2
while parsing HTTP request for method retrieveContents
on object of type vmodl.query.PropertyCollector
at line 1, column 0</faultstring><detail><InvalidRequestFault xmlns="urn:vim25" xsi:type="InvalidRequest"></InvalidRequestFault></detail></soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
2014/10/21 14:34:14 soap.Body{Fault:(*soap.Fault)(nil), Body:"\n<soapenv:Fault><faultcode>ServerFaultCode</faultcode><faultstring>\nRequired property type is missing from data object of type PropertySpec\n\nwhile parsing serialized DataObject of type vmodl.query.PropertyCollector.PropertySpec\nat line 6, column 10\n\nwhile parsing property &quot;propSet&quot; of static type ArrayOfPropertySpec\n\nwhile parsing serialized DataObject of type vmodl.query.PropertyCollector.FilterSpec\nat line 5, column 6\n\nwhile parsing call information for method RetrieveProperties\nat line 3, column 64\n\nwhile parsing SOAP body\nat line 3, column 6\n\nwhile parsing SOAP envelope\nat line 1, column 2\n\nwhile parsing HTTP request for method retrieveContents\non object of type vmodl.query.PropertyCollector\nat line 1, column 0</faultstring><detail><InvalidRequestFault xmlns=\"urn:vim25\" xsi:type=\"InvalidRequest\"></InvalidRequestFault></detail></soapenv:Fault>\n"}
panic: interface conversion: interface is nil, not *vim.ArrayOfManagedObjectReference
goroutine 1 [running]:
runtime.panic(0x8f6020, 0xc21017de00)
/usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
govsphere/vim.(*Folder).ChildEntity(0xc210181480, 0xc210181480, 0x0, 0x0, 0x1, ...)
/myworkspace/go/src/govsphere/vim/vim.go:20411 +0x9c
main.main()
/myworkspace/go/src/test/test-issue.go:40 +0x51f
goroutine 5 [chan receive]:
net/http.(*persistConn).readLoop(0xc210059580)
/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(0xc210059580)
/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(0x7f81ddea87d0, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2100510d0, 0x72, 0x7f81ddea70c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2100510d0, 0xb, 0x7f81ddea70c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210051070, 0xc210084000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210000368, 0xc210084000, 0x1000, 0x1000, 0x9185a0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
crypto/tls.(*block).readFromUntil(0xc2100c52a0, 0x7f81ddea8900, 0xc210000368, 0x5, 0xc210000368, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc210052280, 0x17, 0x0, 0x8)
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc210052280, 0xc210081000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135
bufio.(*Reader).fill(0xc210080480)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc210080480, 0x1, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc210059800)
/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(0xc210059800)
/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(0x7f81ddea8728, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210122060, 0x72, 0x7f81ddea70c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210122060, 0xb, 0x7f81ddea70c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210122000, 0xc210130000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210106ba0, 0xc210130000, 0x1000, 0x1000, 0x9185a0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
crypto/tls.(*block).readFromUntil(0xc210121240, 0x7f81ddea8900, 0xc210106ba0, 0x5, 0xc210106ba0, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc210052500, 0x17, 0x0, 0x8)
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc210052500, 0xc21012c000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135
bufio.(*Reader).fill(0xc21012a900)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc21012a900, 0x1, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc210059e80)
/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(0xc210059d80)
/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(0xc210059d80)
/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(0xc210059e80)
/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(0x7f81ddea8680, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2101221b0, 0x72, 0x7f81ddea70c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2101221b0, 0xb, 0x7f81ddea70c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210122150, 0xc2100c2000, 0x400, 0x400, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210147978, 0xc2100c2000, 0x400, 0x400, 0x9185a0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
crypto/tls.(*block).readFromUntil(0xc2101215a0, 0x7f81ddea8900, 0xc210147978, 0x5, 0xc210147978, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc210052780, 0x17, 0x0, 0x8)
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc210052780, 0xc21010d000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135
bufio.(*Reader).fill(0xc210113720)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc210113720, 0x1, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc210159480)
/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(0xc210159380)
/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(0xc210159380)
/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(0xc210159480)
/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(0x7f81ddea85d8, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210102a00, 0x72, 0x7f81ddea70c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210102a00, 0xb, 0x7f81ddea70c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc2101029a0, 0xc2100f4000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210147190, 0xc2100f4000, 0x1000, 0x1000, 0x9185a0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
crypto/tls.(*block).readFromUntil(0xc2100e4150, 0x7f81ddea8900, 0xc210147190, 0x5, 0xc210147190, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc210052a00, 0x17, 0x0, 0x8)
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc210052a00, 0xc2100fb000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135
bufio.(*Reader).fill(0xc210080a80)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc210080a80, 0x1, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc210159900)
/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(0xc210159800)
/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(0xc210159800)
/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(0xc210159900)
/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(0x7f81ddea8530, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc210180bc0, 0x72, 0x7f81ddea70c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc210180bc0, 0xb, 0x7f81ddea70c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc210180b60, 0xc210190c00, 0x400, 0x400, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc2100002d0, 0xc210190c00, 0x400, 0x400, 0x9185a0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
crypto/tls.(*block).readFromUntil(0xc2101884e0, 0x7f81ddea8900, 0xc2100002d0, 0x5, 0xc2100002d0, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc210052c80, 0x17, 0x0, 0x8)
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc210052c80, 0xc21019f000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135
bufio.(*Reader).fill(0xc210192a20)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc210192a20, 0x1, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc210159e00)
/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(0xc210159d00)
/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(0xc210159d00)
/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(0xc210159e00)
/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 [IO wait]:
net.runtime_pollWait(0x7f81ddea8488, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc2101b33e0, 0x72, 0x7f81ddea70c0, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc2101b33e0, 0xb, 0x7f81ddea70c0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).Read(0xc2101b3380, 0xc2101be400, 0x400, 0x400, 0x0, ...)
/usr/local/go/src/pkg/net/fd_unix.go:204 +0x2a0
net.(*conn).Read(0xc210000a90, 0xc2101be400, 0x400, 0x400, 0x9185a0, ...)
/usr/local/go/src/pkg/net/net.go:122 +0xc5
crypto/tls.(*block).readFromUntil(0xc2101b4510, 0x7f81ddea8900, 0xc210000a90, 0x5, 0xc210000a90, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:459 +0xb6
crypto/tls.(*Conn).readRecord(0xc2101bd000, 0x17, 0x0, 0x8)
/usr/local/go/src/pkg/crypto/tls/conn.go:539 +0x107
crypto/tls.(*Conn).Read(0xc2101bd000, 0xc2101b5000, 0x1000, 0x1000, 0x0, ...)
/usr/local/go/src/pkg/crypto/tls/conn.go:897 +0x135
bufio.(*Reader).fill(0xc2101b7cc0)
/usr/local/go/src/pkg/bufio/bufio.go:91 +0x110
bufio.(*Reader).Peek(0xc2101b7cc0, 0x1, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/pkg/bufio/bufio.go:119 +0xcb
net/http.(*persistConn).readLoop(0xc2101b0280)
/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 47 [chan receive]:
net/http.(*persistConn).readLoop(0xc2101b0180)
/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(0xc2101b0180)
/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(0xc2101b0280)
/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 59 [runnable]:
net/http.(*persistConn).readLoop(0xc2101b0680)
/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 55 [chan receive]:
net/http.(*persistConn).readLoop(0xc2101b0580)
/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 56 [select]:
net/http.(*persistConn).writeLoop(0xc2101b0580)
/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 60 [select]:
net/http.(*persistConn).writeLoop(0xc2101b0680)
/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