Skip to content

opencloud storage-users uploads session --resume fails with a nil-pointer exception #390

@dragonchaser

Description

@dragonchaser
opencloud storage-users uploads sessions --resume
Sessions:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xcc15b5]

goroutine 1 [running]:
github.com/opencloud-eu/reva/v2/pkg/events.Publish({0x5001970, 0x71c1800}, {0x0, 0x0}, {0x344c040, 0xc001e38c90})
	/opencloud/vendor/github.com/opencloud-eu/reva/v2/pkg/events/events.go:156 +0x3f5
github.com/opencloud-eu/opencloud/services/storage-users/pkg/command.ListUploadSessions.func2(0xc001da6c80)
	/opencloud/services/storage-users/pkg/command/uploads.go:195 +0x10f2
github.com/urfave/cli/v2.(*Command).Run(0xc00191cc60, 0xc001da6c80, {0xc001e30800, 0x2, 0x2})
	/opencloud/vendor/github.com/urfave/cli/v2/command.go:276 +0x7be
github.com/urfave/cli/v2.(*Command).Run(0xc00191cdc0, 0xc001da6bc0, {0xc001db9a70, 0x3, 0x3})
	/opencloud/vendor/github.com/urfave/cli/v2/command.go:269 +0xa45
github.com/urfave/cli/v2.(*Command).Run(0xc00191d8c0, 0xc001520200, {0xc001520240, 0x4, 0x4})
	/opencloud/vendor/github.com/urfave/cli/v2/command.go:269 +0xa45
github.com/urfave/cli/v2.(*Command).Run(0xc001528160, 0xc001520100, {0xc000050050, 0x5, 0x5})
	/opencloud/vendor/github.com/urfave/cli/v2/command.go:269 +0xa45
github.com/urfave/cli/v2.(*App).RunContext(0xc0012dd000, {0x5001fc8, 0xc00180c900}, {0xc000050050, 0x5, 0x5})
	/opencloud/vendor/github.com/urfave/cli/v2/app.go:333 +0x5a5
github.com/opencloud-eu/opencloud/opencloud/pkg/command.Execute()
	/opencloud/opencloud/pkg/command/root.go:32 +0x1dd
main.main()
	/opencloud/opencloud/cmd/opencloud/main.go:11 +0x13

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions