Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Panic on sync #3

Closed
watermint opened this issue Jul 8, 2016 · 0 comments
Closed

Panic on sync #3

watermint opened this issue Jul 8, 2016 · 0 comments

Comments

@watermint
Copy link
Owner

map not initialised.

panic: assignment to entry in nil map

goroutine 1 [running]:
panic(0x887f00, 0xc0823809f0)
        /usr/local/go/src/runtime/panic.go:481 +0x3f4
github.com/watermint/dcfg/integration/directory.(*GoogleDirectory).loadCustomerMembers(0xc0823609a0,
 0xc0823801c0, 0x9, 0x0)
        /go/src/github.com/watermint/dcfg/integration/directory/google.go:145 +0x6c8
github.com/watermint/dcfg/integration/directory.(*GoogleDirectory).getFlattenMember(0xc0823609a0, 0x
c0820fc990, 0xc0823b7ac0, 0x14, 0x0, 0xc0823abf50)
        /go/src/github.com/watermint/dcfg/integration/directory/google.go:189 +0xae8
github.com/watermint/dcfg/integration/directory.(*GoogleDirectory).createGroupFromRaw(0xc0823609a0,
0xc08214c5b0, 0xc082100148, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/src/github.com/watermint/dcfg/integration/directory/google.go:41 +0x11b
github.com/watermint/dcfg/integration/directory.(*GoogleDirectory).Group(0xc0823609a0, 0xc0823ae4a8,
 0x14, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /go/src/github.com/watermint/dcfg/integration/directory/google.go:35 +0x44c
github.com/watermint/dcfg/sync/groupsync.(*GroupSync).Sync(0xc08208bc88, 0xc0823ae4a8, 0x14)
        /go/src/github.com/watermint/dcfg/sync/groupsync/groupsync.go:96 +0x172
github.com/watermint/dcfg/sync/groupsync.(*GroupSync).SyncFromList(0xc08208bc88, 0x0, 0x0, 0xc082006
200, 0x2f, 0xc082008220, 0x9, 0x1, 0x0, 0x0, ...)
        /go/src/github.com/watermint/dcfg/sync/groupsync/groupsync.go:119 +0x30d
github.com/watermint/dcfg/cli/dispatch.DispatchSync(0x0, 0x0, 0xc082006200, 0x2f, 0xc082008220, 0x9,
 0x1, 0x0, 0x0, 0xc082002660, ...)
        /go/src/github.com/watermint/dcfg/cli/dispatch/dispatch.go:41 +0x5cc
github.com/watermint/dcfg/cli/dispatch.Dispatch(0x0, 0x0, 0xc082006200, 0x2f, 0xc082008220, 0x9, 0x1
, 0x0, 0x0, 0xc082002660, ...)
        /go/src/github.com/watermint/dcfg/cli/dispatch/dispatch.go:51 +0xab
main.main()
        /go/src/github.com/watermint/dcfg/dcfg.go:34 +0x207
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant