-
Notifications
You must be signed in to change notification settings - Fork 237
Labels
Description
JIRA: OCISDEV-141
Describe the bug
When resuming an upload using the CLI command with --resume flag, as provided in the docs (https://owncloud.dev/services/storage-users/#command-examples), then it throws the following error:
Command:
ocis storage-users uploads sessions --processing=false --has-virus=false --resumeOutcome
Not processing, not virusinfected sessions:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xf5ecd5]
goroutine 1 [running]:
github.com/owncloud/reva/v2/pkg/events.Publish({0x4f9ecf0, 0x70d0540}, {0x0, 0x0}, {0x3449700, 0xc001f16c90})
/home/prajwol/www/ocis/vendor/github.com/owncloud/reva/v2/pkg/events/events.go:156 +0x3f5
github.com/owncloud/ocis/v2/services/storage-users/pkg/command.ListUploadSessions.func2(0xc001e84c40)
/home/prajwol/www/ocis/services/storage-users/pkg/command/uploads.go:209 +0x10f2
github.com/urfave/cli/v2.(*Command).Run(0xc001ba6b00, 0xc001e84c40, {0xc001e84c80, 0x4, 0x4})
/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/command.go:276 +0x7be
github.com/urfave/cli/v2.(*Command).Run(0xc001ba6dc0, 0xc001e84b40, {0xc001c366e0, 0x5, 0x5})
/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/command.go:269 +0xa45
github.com/urfave/cli/v2.(*Command).Run(0xc001ba78c0, 0xc0017201c0, {0xc001c08060, 0x6, 0x6})
/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/command.go:269 +0xa45
github.com/urfave/cli/v2.(*Command).Run(0xc001726160, 0xc001720100, {0xc000050230, 0x7, 0x7})
/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/command.go:269 +0xa45
github.com/urfave/cli/v2.(*App).RunContext(0xc001d32e00, {0x4f9f3b8, 0xc001b2de00}, {0xc000050230, 0x7, 0x7})
/home/prajwol/www/ocis/vendor/github.com/urfave/cli/v2/app.go:333 +0x5a5
github.com/owncloud/ocis/v2/ocis/pkg/command.Execute()
/home/prajwol/www/ocis/ocis/pkg/command/root.go:32 +0x1ea
main.main()
/home/prajwol/www/ocis/ocis/cmd/ocis/main.go:11 +0x13Setup
- Infinite Scale 7.1.2+540c2bff621 Community
Reactions are currently unavailable