Adalanche icon indicating copy to clipboard operation
Adalanche copied to clipboard

Adalanche Collect not working - panic: Exception occurred. (<nil>)

Open R41z0r opened this issue 1 year ago • 0 comments

.\adalanche.exe collect localmachine {"level":"warn","time":"2022-08-04T12:45:59+02:00","message":"Problem loading preferences: open preferences.json: The system cannot find the file specified."} 12:45:59.22 INF adalanche v2022.5.19 (commit 02ddc47) built 20220519, (c) 2020-2022 Lars Karlslund, This program comes with ABSOLUTELY NO WARRANTY panic: Exception occurred. ()

goroutine 1 [running]: github.com/go-ole/go-ole/oleutil.MustGetProperty(0xc0000a4678?, {0xaeade4?, 0xc0001049e0?}, {0x0?, 0xc000104dc0?, 0xc000104d00?}) /home/runner/go/pkg/mod/github.com/go-ole/[email protected]/oleutil/oleutil.go:72 +0x5e github.com/amidaware/taskmaster.parseRegisteredTask(_) /home/runner/go/pkg/mod/github.com/amidaware/[email protected]/parse.go:67 +0x279 github.com/amidaware/taskmaster.(*TaskService).GetRegisteredTasks.func1(0x9?) /home/runner/go/pkg/mod/github.com/amidaware/[email protected]/manage.go:174 +0x7b github.com/go-ole/go-ole/oleutil.ForEach(0x1?, 0xc00013b6d8) /home/runner/go/pkg/mod/github.com/go-ole/[email protected]/oleutil/oleutil.go:122 +0x20d github.com/amidaware/taskmaster.(*TaskService).GetRegisteredTasks(0xc00013c750) /home/runner/go/pkg/mod/github.com/amidaware/[email protected]/manage.go:171 +0x2d0 github.com/lkarlslund/adalanche/modules/integrations/localmachine/collect.Collect({0xade5ae, 0x4}) /home/runner/work/adalanche/adalanche/modules/integrations/localmachine/collect/main.go:283 +0xf3f github.com/lkarlslund/adalanche/modules/integrations/localmachine/collect.Execute(0x160ba00?, {0xade6b2?, 0x0?, 0x0?}) /home/runner/work/adalanche/adalanche/modules/integrations/localmachine/collect/main.go:50 +0x6e github.com/spf13/cobra.(*Command).execute(0x160ba00, {0x16922c0, 0x0, 0x0}) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:856 +0x67c github.com/spf13/cobra.(*Command).ExecuteC(0x160b000) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3b4 github.com/spf13/cobra.(*Command).Execute(...) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:902 github.com/lkarlslund/adalanche/modules/cli.Run() /home/runner/work/adalanche/adalanche/modules/cli/main.go:117 +0x60d main.main() /home/runner/work/adalanche/adalanche/adalanche/main.go:15 +0x19

R41z0r avatar Aug 04 '22 10:08 R41z0r