Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bug:coder show <workspace name> returns apanic: runtime error: invalid memory address or nil pointer dereference` #4315

Closed
Assignees
kylecarbs
@sharkymark

Description

@sharkymark

Version:v0.9.1+27c8345

I want to see details about a workspace.

The CLI is also 0.9.1

When I typecoder show <workspace name> e.g.,coder show admin/go or frankly even an incorrect workspace name, I get this:

 coder show admin/gopanic: runtime error: invalid memory address or nil pointer dereference[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1eeed43]goroutine 1 [running]:github.com/coder/coder/cli/cliui.renderAgentStatus({{0xf1, 0xef, 0x6e, 0x5b, 0x92, 0x26, 0x46, 0x75, 0xb0, 0x35, ...}, ...})/home/runner/work/coder/coder/cli/cliui/resources.go:127 +0x223github.com/coder/coder/cli/cliui.WorkspaceResources({0x6bee760, 0xc00012e008}, {0xc000910580?, 0x2, 0x4}, {{0xc00055f81a, 0x2}, 0x0, 0x0, {0x0, ...}, ...})/home/runner/work/coder/coder/cli/cliui/resources.go:99 +0x878github.com/coder/coder/cli.show.func1(0xc000592a00, {0xc00062bc50, 0x1, 0x1?})/home/runner/work/coder/coder/cli/show.go:33 +0x2f4github.com/spf13/cobra.(*Command).execute(0xc000592a00, {0xc00062bc30, 0x1, 0x1})/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:872 +0x694github.com/spf13/cobra.(*Command).ExecuteC(0xc000630f00)/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.5.0/command.go:990 +0x3bdmain.main()/home/runner/work/coder/coder/enterprise/cmd/coder/main.go:19 +0xaf

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp