-
Notifications
You must be signed in to change notification settings - Fork 544
Description
Description:\nEncountered a compiler panic when running encore run on a Go application with multiple services.\n\nError Message:\nruntime error: invalid memory address or nil pointer dereference\n\nStack Trace:\n\n╭─[Stack Trace]\n├─▶ v2builder.BuilderImpl.Parse.func1.1 encr.dev/v2/v2builder/v2builder.go:51\n├─▶ pkginfo.(*fileNameResolver).processImports encr.dev/v2/internals/pkginfo/names.go:185\n├─▶ pkginfo.resolveFileNames encr.dev/v2/internals/pkginfo/names.go:139\n├─▶ pkginfo.(*File).Names.func1 encr.dev/v2/internals/pkginfo/types.go:119\n├─▶ sync.(*Once).doSlow sync/once.go:78\n├─▶ sync.(*Once).Do sync/once.go:69\n╰─[... remaining frames omitted ...]\n\n\nEncore Version: v1.50.6\n\nSteps to Reproduce:\n1. Create a Go app with multiple services (auth, catalog, payments, etc.)\n2. Run encore run\n3. Compiler panics with the above error.\n\nExpected Behavior:\nCompiler should handle the code without panicking.\n\nAdditional Context:\nThe application is a PPV VOD platform with services for authentication, video catalog, payments, streaming, analytics, and worker. The panic occurs during the building of the application graph.