@NotNull method com/android/tools/idea/model/MergedManifestInfo.getManifests must not return null

I am simply trying to run an android app. I go to Run > Run 'MyApp' and I get the following error:

[ 398034]  ERROR - til.concurrency.QueueProcessor - @NotNull method com/android/tools/idea/model/MergedManifestInfo.getManifests must not return null
java.lang.IllegalStateException: @NotNull method com/android/tools/idea/model/MergedManifestInfo.getManifests must not return null
 at com.android.tools.idea.model.MergedManifestInfo.getManifests(MergedManifestInfo.java:149)
 at com.android.tools.idea.model.ManifestInfo$1.compute(ManifestInfo.java:311)
 at com.android.tools.idea.model.ManifestInfo$1.compute(ManifestInfo.java:306)
 at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:884)
 at com.android.tools.idea.model.ManifestInfo.getActivities(ManifestInfo.java:306)
 at org.jetbrains.android.run.AndroidRunConfiguration.checkConfiguration(AndroidRunConfiguration.java:147)
 at org.jetbrains.android.run.AndroidRunConfigurationBase.checkConfiguration(AndroidRunConfigurationBase.java:143)
 at com.intellij.execution.impl.RunnerAndConfigurationSettingsImpl.checkSettings(RunnerAndConfigurationSettingsImpl.java:417)
 at com.intellij.execution.impl.RunManagerImpl.canRunConfiguration(RunManagerImpl.java:536)
 at com.intellij.execution.impl.RunManagerImpl.canRunConfiguration(RunManagerImpl.java:531)
 at com.intellij.execution.ProgramRunnerUtil.executeConfiguration(ProgramRunnerUtil.java:65)
 at com.intellij.execution.impl.ExecutionManagerImpl.a(ExecutionManagerImpl.java:396)
 at com.intellij.execution.impl.ExecutionManagerImpl.access$400(ExecutionManagerImpl.java:61)
 at com.intellij.execution.impl.ExecutionManagerImpl$5.run(ExecutionManagerImpl.java:384)
 at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
 at com.intellij.util.Alarm$Request$1.run(Alarm.java:351)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
 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)
[ 398035]  ERROR - til.concurrency.QueueProcessor - IntelliJ IDEA 14.1.3  Build #IU-141.1010.3
[ 398035]  ERROR - til.concurrency.QueueProcessor - JDK: 1.8.0_45
[ 398035]  ERROR - til.concurrency.QueueProcessor - VM: Java HotSpot(TM) 64-Bit Server VM
[ 398035]  ERROR - til.concurrency.QueueProcessor - Vendor: Oracle Corporation
[ 398035]  ERROR - til.concurrency.QueueProcessor - OS: Linux
[ 398035]  ERROR - til.concurrency.QueueProcessor - Last Action: Run


Why is this happening?
1 comment
Comment actions Permalink

It appears to be a bug, see https://youtrack.jetbrains.com/issue/IDEA-144358 .

You can help us to fix it by attaching a sample project reproducing the problem to the issue above.

0

Please sign in to leave a comment.