New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUN: Don't activate Build Tool Window if "Activate tool window" option is disabled #4550
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build tool window is still shown with disabled "Activate tool window" option
src/main/kotlin/org/rust/cargo/runconfig/buildtool/CargoBuildManager.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/org/rust/cargo/runconfig/buildtool/CargoBuildTaskProvider.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/org/rust/cargo/runconfig/buildtool/CargoBuildManager.kt
Outdated
Show resolved
Hide resolved
58ae3eb
to
5511f64
Compare
@Undin Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get the following exception after build finishes
java.lang.NullPointerException
at com.intellij.build.BuildTreeConsoleView.getOrCreateMessagesNode(BuildTreeConsoleView.java:720)
at com.intellij.build.BuildTreeConsoleView.createMessageParentNodes(BuildTreeConsoleView.java:632)
at com.intellij.build.BuildTreeConsoleView.getOrMaybeCreateParentNode(BuildTreeConsoleView.java:238)
at com.intellij.build.BuildTreeConsoleView.onEventInternal(BuildTreeConsoleView.java:244)
at com.intellij.build.BuildTreeConsoleView.lambda$onEvent$15(BuildTreeConsoleView.java:609)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:72)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:126)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:115)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:72)
at com.intellij.util.concurrency.Invoker.invokeSafely(Invoker.java:153)
at com.intellij.util.concurrency.Invoker.lambda$invokeLater$0(Invoker.java:91)
at com.intellij.util.concurrency.Invoker$BackgroundThread.lambda$offer$0(Invoker.java:320)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:207)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$100(BoundedTaskExecutor.java:29)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.lambda$run$0(BoundedTaskExecutor.java:185)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:208)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:181)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
src/main/kotlin/org/rust/cargo/runconfig/buildtool/CargoBuildManager.kt
Outdated
Show resolved
Hide resolved
5511f64
to
c71cfdc
Compare
@Undin Can you please provide a sample project, if the error is still here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you rebase onto master to fix merge conflicts, please?
c71cfdc
to
3478ca5
Compare
@Undin Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me 👍
src/main/kotlin/org/rust/cargo/runconfig/buildtool/CargoBuildAdapter.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/org/rust/cargo/runconfig/buildtool/CargoBuildAdapter.kt
Outdated
Show resolved
Hide resolved
3478ca5
to
5c2dec5
Compare
@Undin Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
bors r+
Build succeeded: |
Closes #4535.