Fixed
Status Update
Comments
uc...@google.com <uc...@google.com>
es...@google.com <es...@google.com> #2
Just to double check: Did you modify or have custom lines in your vmoptions file?
ac...@google.com <ac...@google.com> #4
I tried added / removing studio JVM flags and Gradle JVM flags but everything seems fine so far.
ac...@google.com <ac...@google.com>
gu...@gmail.com <gu...@gmail.com> #5
Oh yes, I did add tracing to AS. I do not have any custom VM flags. I'll remove the tracing and try.
gu...@gmail.com <gu...@gmail.com> #6
I disabled tracing and can confirm that it's working again. Sorry for the false flag.
ac...@google.com <ac...@google.com> #7
Can you tell me how exactly is your tracing setup?
We should at least make the Tracer compatible with other custom tracing if possible.
We should at least make the Tracer compatible with other custom tracing if possible.
gu...@gmail.com <gu...@gmail.com> #8
I used this file to try to figure out why sync is taking a long time.
tr...@gmail.com <tr...@gmail.com> #9
I am getting the same NPE with 4.1 canary 8 when `Preferences > Experimental > Trace gradle import with profile: Default Profile` is enabled
ac...@google.com <ac...@google.com> #10
Quite a lot of people are reporting this, I am going to bump this to P1 and should look at it as soon as we can.
gu...@gmail.com <gu...@gmail.com> #11
Since this is a P1, I'm guessing that this shouldn't be assigned to me.. :)
ac...@google.com <ac...@google.com>
ac...@google.com <ac...@google.com>
sa...@google.com <sa...@google.com> #12
I am using AS 4.1 Canary 8. I followed steps from comment #9 but I am unable to reproduce this issue.
ac...@google.com <ac...@google.com> #13
All the fixes are in now, right?
sa...@google.com <sa...@google.com> #14
Yes, it should be in 4.2 Canary 8 [4.2.0.8].
Description
Build #AI-193.6494.35.41.6264773, built on March 5, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.3
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry: ide.new.welcome.screen.force=true, ide.suppress.double.click.handler=true
Non-Bundled Plugins: com.urswolfer.intellij.plugin.gerrit
```
Version of Gradle Plugin: 3.6.1
Version of Gradle: 6.2.2
Steps to Reproduce:
1. Open a project
2. Press the run button or debug button in the toolbar
3. Try the same for JUnit tests
4. Notice that the Run button (or debug if you pressed that) is now disabled
5. Same result when running JUnit tests via the run button in the gutter inside the editor
Stacktrace:
```
java.lang.NullPointerException
at com.android.tools.tracer.agent.Tracer.addVmArgs(Tracer.java:208)
at com.android.tools.tracer.Trace.addVmArgs(Trace.java)
at com.android.tools.idea.gradle.project.build.invoker.GradleBuildInvoker.executeTasks(GradleBuildInvoker.java:392)
at com.android.tools.idea.gradle.project.build.invoker.GradleBuildInvoker.lambda$executeTasks$4(GradleBuildInvoker.java:359)
at com.google.common.collect.Maps$KeySet.lambda$forEach$0(Maps.java:3705)
at java.util.HashMap.forEach(HashMap.java:1289)
at com.google.common.collect.Maps$KeySet.forEach(Maps.java:3705)
at com.android.tools.idea.gradle.project.build.invoker.GradleBuildInvoker.executeTasks(GradleBuildInvoker.java:359)
at com.android.tools.idea.gradle.run.GradleTaskRunner$DefaultGradleTaskRunner.lambda$run$1(GradleTaskRunner.java:92)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:83)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:107)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:441)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:424)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:407)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:908)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:424)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:423)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
```