Cannot update Pycharm with Toolbox

The Pycharm (and other client) packages are failing to install from within Toolbox as they fail to extract the package.

In the logs I can see it is finding an invalid path which I have retracted. This retracted text is actually just from my shell profile which prints very specific machine information at shell launch.
 

	at com.jetbrains.toolbox.shell.ShellEnvironmentImpl.findExecutable(ShellEnvironmentImpl.kt:126)

My theory is this call is using my shell configuration, and it shouldnt be. This bug prevents me from using Toolbox to manage my Jetbrains clients.

 

Trace:

2.3.0.30876 15593 2024-04-16 17:29:20.175 INFO  -EventQueue-0 ToolboxUi                 Hiding window
2.3.0.30876 15593 2024-04-16 17:29:20.202 INFO  -EventQueue-0 oxApp__Toolbox_servicesKt Window hidden
2.3.0.30876 15593 2024-04-16 17:29:24.556 INFO  cher-worker-3 VerificationStateWorkerKt Correct checksum for /Users/justinoroz/Library/Caches/JetBrains/Toolbox/download/9c1d71668-pycharm-professional-2024.1-aarch64.dmg (9c1d71668eb5de90f1f498477630a5d474a10ec90ee6ca61a8039f42505f5ca7)
2.3.0.30876 15593 2024-04-16 17:29:24.556 ERROR cher-worker-3 UnpackStateWorker         Failed to extract package.: java.nio.file.InvalidPathException: Nul character not allowed: <RETRACTED>
0
2 comments
	at java.base/sun.nio.fs.UnixPath.checkNotNul(Unknown Source)
	at java.base/sun.nio.fs.UnixPath.normalizeAndCheck(Unknown Source)
	at java.base/sun.nio.fs.UnixPath.<init>(Unknown Source)
	at java.base/sun.nio.fs.UnixFileSystem.getPath(Unknown Source)
	at java.base/java.nio.file.Path.of(Unknown Source)
	at java.base/java.nio.file.Paths.get(Unknown Source)
	at okio.Path.toNioPath(Path.kt:102)
	at okio.NioSystemFileSystem.metadataOrNull(NioSystemFileSystem.kt:35)
	at okio.ForwardingFileSystem.metadataOrNull(ForwardingFileSystem.kt:155)
	at com.jetbrains.toolbox.validation.FileSystemWithThreadValidation.metadataOrNull(FileSystemWithThreadValidation.kt:73)
	at okio.internal.-FileSystem.commonExists(FileSystem.kt:41)
	at okio.FileSystem.exists(FileSystem.kt:39)
	at com.jetbrains.toolbox.shell.ShellEnvironmentImpl.findExecutable(ShellEnvironmentImpl.kt:126)
	at com.jetbrains.toolbox.packageextractor.MacOsDmgExtractor.extract(MacOsDmgExtractor.kt:25)
	at com.jetbrains.toolbox.packageextractor.StrippingExtractor.extract(StrippingExtractor.kt:15)
	at com.jetbrains.toolbox.managers.UnpackStateWorker.handle(UnpackStateWorker.kt:33)
	at com.jetbrains.toolbox.managers.UnpackStateWorker.handle(UnpackStateWorker.kt:19)
	at com.jetbrains.toolbox.tools.ChannelStateWorkers.work(ChannelStateWorkers.kt:19)
	at com.jetbrains.toolbox.managers.ToolManagerImpl$createToolStateMachine$2$1.invokeSuspend(ToolManagerImpl.kt:338)
	at com.jetbrains.toolbox.managers.ToolManagerImpl$createToolStateMachine$2$1.invoke(ToolManagerImpl.kt)
	at com.jetbrains.toolbox.managers.ToolManagerImpl$createToolStateMachine$2$1.invoke(ToolManagerImpl.kt)
	at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invokeSuspend(Merge.kt:213)
	at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Merge.kt)
	at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Merge.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invokeSuspend(Merge.kt:30)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Merge.kt)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Merge.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:27)
	at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:90)
	at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:123)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:52)
	at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:43)
	at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1.emit(Merge.kt:29)
	at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$emit$1.invokeSuspend(Merge.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
2.3.0.30876 15593 2024-04-16 17:29:24.557 INFO  cher-worker-9 NotificationsMac          Show notification 'Cannot update PyCharm Professional Edition 2023.2.1: Failed to extract package.' (inApp=false)
0
Hello,

Thanks for reaching out to JetBrains Toolbox App Support and for letting us know about this issue.

We're currently going through older support requests and cleaning up tickets that have been open for a while. Since some time has passed, and newer versions of JetBrains Toolbox App have included many fixes and improvements, we're preparing to close older tickets.

If this issue still affects you, please check whether it also happens in the latest version of JetBrains Toolbox App. You can download it here: https://www.jetbrains.com/toolbox-app/

If it does, or if there's anything else you'd like to add, simply reply to this email and we'll get back to you.

If we don't hear from you, we'll close this ticket in a few weeks on the assumption that the issue has been resolved.

Thank you again for your feedback and for helping us make JetBrains Toolbox App better.

Best regards,
JetBrains Toolbox App Support
0

Please sign in to leave a comment.