Toolbox not opening correctly, accounts.json missing

For a while now my Toolbox app is not opening correctly. It starts, but only shows a transparent outline of the Toolbox window. The logs say that accounts.json is missing (I presume this causes the problem):

 

```

1.22.10685 3672 2021-11-14 19:51:32.126 WARN main AccountManagerImpl Failed to load user accounts: C:\Users\R\AppData\Local\JetBrains\Toolbox\accounts.json (The system cannot find the file specified)
1.22.10685 3672 2021-11-14 19:51:32.141 WARN DefaultDispatcher-worker-1 AccountManagerImpl Failed to load user accounts: C:\Users\R\AppData\Local\JetBrains\Toolbox\accounts.json (The system cannot find the file specified)
1.22.10685 3672 2021-11-14 19:51:32.148 INFO main AccountManagerImpl Provider registered: com.jetbrains.toolbox.accounts.oauth.jba.JetBrainsAccountProviderImpl@2034ec03
1.22.10685 3672 2021-11-14 19:51:32.150 WARN DefaultDispatcher-worker-3 AccountManagerImpl Failed to load user accounts: C:\Users\R\AppData\Local\JetBrains\Toolbox\accounts.json (The system cannot find the file specified)
1.22.10685 3672 2021-11-14 19:51:32.166 INFO main Capabilities toolbox_version = 1.22.10685
1.22.10685 3672 2021-11-14 19:51:32.167 INFO main Capabilities os = windows
1.22.10685 3672 2021-11-14 19:51:32.167 INFO main Capabilities os_kernel = Windows
1.22.10685 3672 2021-11-14 19:51:32.182 INFO main Capabilities os_version_major = 10
1.22.10685 3672 2021-11-14 19:51:32.182 INFO main Capabilities os_version_minor = 0
1.22.10685 3672 2021-11-14 19:51:32.182 INFO main Capabilities os_version_micro =
1.22.10685 3672 2021-11-14 19:51:32.183 INFO main Capabilities os_version = 10.0
1.22.10685 3672 2021-11-14 19:51:32.183 INFO main Capabilities cpu_arch = x64
1.22.10685 3672 2021-11-14 19:51:32.183 INFO main Capabilities glibc = 0
1.22.10685 3672 2021-11-14 19:51:32.200 INFO DefaultDispatcher-worker-5 AccountManagerImpl No accounts exists and accounts file is empty
1.22.10685 3672 2021-11-14 19:51:32.320 INFO DefaultDispatcher-worker-5 UpdateManagerLocalApplicationsFilter Selected Toolbox update: <NONE>
1.22.10685 3672 2021-11-14 19:51:32.324 ERROR DefaultDispatcher-worker-5 ApplicationManagerKt Unhandled exception in coroutine: java.lang.NullPointerException
at com.jetbrains.toolbox.UpdateManagerImpl.checkUpdateStatus(UpdateManager.kt:205)
at com.jetbrains.toolbox.UpdateManagerImpl.access$checkUpdateStatus(UpdateManager.kt:15)
at com.jetbrains.toolbox.UpdateManagerImpl$2$invokeSuspend$$inlined$collect$1.emit(Collect.kt:135)
at kotlinx.coroutines.flow.StateFlowImpl.collect(StateFlow.kt:398)
at com.jetbrains.toolbox.UpdateManagerImpl$2.invokeSuspend(UpdateManager.kt:227)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

```

 

And there is an additional error after the one above (although I think this one is unrelated):

 

```

1.22.10685 3672 2021-11-14 19:51:43.019 INFO Feed Update 0 DownloadSessionImpl Error requesting https://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed. No such host is known (toolbox-internal-feed.labs.intellij.net): java.net.UnknownHostException: No such host is known (toolbox-internal-feed.labs.intellij.net)
at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source)
at java.base/java.net.InetAddress.getAddressesFromNameService(Unknown Source)
at java.base/java.net.InetAddress$NameServiceAddresses.get(Unknown Source)
at java.base/java.net.InetAddress.getAllByName0(Unknown Source)
at java.base/java.net.InetAddress.getAllByName(Unknown Source)
at java.base/java.net.InetAddress.getAllByName(Unknown Source)
at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49)
at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:164)
at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:129)
at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:71)
at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
1.22.10685 3672 2021-11-14 19:51:43.033 WARN Feed Update 0 ApplicationFeedDownloader Unable to download feed from https://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed: No such host is known (toolbox-internal-feed.labs.intellij.net)
1.22.10685 3672 2021-11-14 19:51:43.039 WARN DefaultDispatcher-worker-9 RemoteApplications Feed update finished, found: 127 items, 704 patches

```

 

How can I fix this? I'd rather not reinstall Toolbox, because it looks like that would also uninstall the IDEs?

 

P.S.: add a 'Toolbox' option to the Topic dropdown. I am required to pick something, but Toolbox is not in the list.

0
2 comments

1.

 accounts.json is missing

It happens when you are not logged in JBA. Please login in JBA through Toolbox App and this line in toolbox.log will disappear. 

2.

Toolbox shows a transparent outline of the Toolbox window

Please try a workaround https://youtrack.jetbrains.com/issue/TBX-6461#focus=Comments-27-5044665.0-0. Please make sure that .settings.json is still valid. 

3. 

I'd rather not reinstall Toolbox, because it looks like that would also uninstall the IDEs?

Reinstall of Toolbox App will not lead to the installation of IDEs again.

 

0
Avatar
Permanently deleted user

Thanks for your answer. Unfortunately I can't apply 1, because I can't access the Toolbox GUI, so I can't login either. I tried the workaround from the link, which worked however! Thanks.

0

Please sign in to leave a comment.