Skip to content

Exception raised while hitting the Back button in the connect step of the login wizard #274

@fioan89

Description

@fioan89
3.2.0.65851 40677 2026-02-19 23:18:11.676 INFO  Dispatcher-worker-37 ConnectStep                    Plugin com.coder.toolbox > Successfully configured dev.coder.com...
3.2.0.65851 40677 2026-02-19 23:18:11.676 INFO  Dispatcher-worker-37 ConnectStep                    Plugin com.coder.toolbox > Connection setup done, initializing the workspace poller...
3.2.0.65851 40677 2026-02-19 23:18:11.676 INFO  Dispatcher-worker-37 CoderRemoteProvider            Plugin com.coder.toolbox > Cancelled workspace poll job StandaloneCoroutine{Cancelling}@6d5d6d09
3.2.0.65851 40677 2026-02-19 23:18:11.678 INFO  Dispatcher-worker-37 CoderRemoteProvider            Plugin com.coder.toolbox > REST API client closed and resources released
3.2.0.65851 40677 2026-02-19 23:18:11.679 INFO  Dispatcher-worker-37 CoderRemoteProvider            Plugin com.coder.toolbox > Coder plugin is now closed
3.2.0.65851 40677 2026-02-19 23:18:11.687 INFO  Dispatcher-worker-37 CoderRemoteProvider            Plugin com.coder.toolbox > Deployment URL and token were stored and will be available for automatic connection
3.2.0.65851 40677 2026-02-19 23:18:11.687 INFO  Dispatcher-worker-37 CoderRemoteProvider            Plugin com.coder.toolbox > Displaying https://dev.coder.com as main page title
3.2.0.65851 40677 2026-02-19 23:18:11.687 INFO  Dispatcher-worker-37 CoderRemoteProvider            Plugin com.coder.toolbox > Workspace poll job with name StandaloneCoroutine{Active}@15966b53 was created
3.2.0.65851 40677 2026-02-19 23:18:11.687 INFO  Dispatcher-worker-37 CoderCLIManager                Plugin com.coder.toolbox > Storing CLI credentials in /Users/ifaur/Library/Application Support/coder-toolbox/dev.coder.com/config
3.2.0.65851 40677 2026-02-19 23:18:11.856 INFO  Dispatcher-worker-24 CoderCLIManager                Plugin com.coder.toolbox > `/Users/ifaur/Library/Application Support/coder-toolbox/dev.coder.com/coder-darwin-arm64 login https://dev.coder.com --token <redacted> --global-config /Users/ifaur/Library/Application Support/coder-toolbox/dev.coder.com/config`: Attempting to authenticate with argument URL: 'https://dev.coder.com'
  Welcome to Coder, faur! You're authenticated.

3.2.0.65851 40677 2026-02-19 23:18:11.879 INFO  Dispatcher-worker-17 ConnectStep                    Plugin com.coder.toolbox > Back button was pressed, cancelling in-progress connection setup...
3.2.0.65851 40677 2026-02-19 23:18:11.879 ERROR Dispatcher-worker-17 CoderToolboxContext            Plugin com.coder.toolbox > Index -1 out of bounds for length 3: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 3
	at com.coder.toolbox.views.state.CoderSetupWizardState.goToPreviousStep(CoderSetupWizardState.kt:25)
	at com.coder.toolbox.views.ConnectStep.handleNavigation(ConnectStep.kt:232)
	at com.coder.toolbox.views.ConnectStep.onBack(ConnectStep.kt:248)
	at com.coder.toolbox.views.CoderCliSetupWizardPage$displaySteps$6$1.invokeSuspend(CoderCliSetupWizardPage.kt:109)
	at com.coder.toolbox.views.CoderCliSetupWizardPage$displaySteps$6$1.invoke(CoderCliSetupWizardPage.kt)
	at com.coder.toolbox.views.CoderCliSetupWizardPage$displaySteps$6$1.invoke(CoderCliSetupWizardPage.kt)
	at com.coder.toolbox.views.Action$run$1.invokeSuspend(CoderPage.kt:72)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:829)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions