java.lang.AssertionError

google.com | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.AssertionError

    No message provided

    at com.android.tools.idea.gradle.dsl.model.GradleBuildModel.populateWithParentModuleSubProjectsProperties()
  2. com.android.tools
    ServiceXmlParser.endElement
    1. com.android.tools.idea.gradle.dsl.model.GradleBuildModel.populateWithParentModuleSubProjectsProperties(GradleBuildModel.java:91)
    2. com.android.tools.idea.gradle.dsl.model.GradleBuildModel.parseBuildFile(GradleBuildModel.java:61)
    3. com.android.tools.idea.gradle.dsl.model.GradleBuildModel.get(GradleBuildModel.java:55)
    4. com.android.tools.idea.gradle.structure.services.GradleOperations.containsAllDependencies(GradleOperations.java:55)
    5. com.android.tools.idea.structure.services.ServiceXmlParser.closeServiceTag(ServiceXmlParser.java:301)
    6. com.android.tools.idea.structure.services.ServiceXmlParser.endElement(ServiceXmlParser.java:184)
    6 frames
  3. Xerces2-j
    SAXParserImpl.parse
    1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    2. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    10. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    10 frames
  4. Java RT
    SAXParser.parse
    1. javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
    1 frame
  5. com.android.tools
    DeveloperServiceCreator$1.run
    1. com.android.tools.idea.structure.services.DeveloperServiceCreator$1.run(DeveloperServiceCreator.java:125)
    1 frame
  6. IDEA
    WriteCommandAction.runWriteCommandAction
    1. com.intellij.openapi.command.WriteCommandAction$4.run(WriteCommandAction.java:181)
    2. com.intellij.openapi.command.WriteCommandAction$Simple.run(WriteCommandAction.java:166)
    3. com.intellij.openapi.application.RunResult.run(RunResult.java:35)
    4. com.intellij.openapi.command.WriteCommandAction$2$1.run(WriteCommandAction.java:114)
    5. com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1002)
    6. com.intellij.openapi.command.WriteCommandAction$2.run(WriteCommandAction.java:111)
    7. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:124)
    8. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:99)
    9. com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:108)
    10. com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:80)
    11. com.intellij.openapi.command.WriteCommandAction.runWriteCommandAction(WriteCommandAction.java:183)
    12. com.intellij.openapi.command.WriteCommandAction.runWriteCommandAction(WriteCommandAction.java:173)
    12 frames
  7. com.android.tools
    AndroidProjectStructureConfigurable.syncSucceeded
    1. com.android.tools.idea.structure.services.DeveloperServiceCreator.createService(DeveloperServiceCreator.java:121)
    2. com.android.tools.idea.structure.services.DeveloperServices.initializeFor(DeveloperServices.java:65)
    3. com.android.tools.idea.structure.services.DeveloperServices.getAll(DeveloperServices.java:43)
    4. com.android.tools.idea.gradle.structure.AndroidProjectStructureConfigurable.reset(AndroidProjectStructureConfigurable.java:360)
    5. com.android.tools.idea.gradle.structure.AndroidProjectStructureConfigurable.syncSucceeded(AndroidProjectStructureConfigurable.java:517)
    5 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  9. Openapi
    MessageBusImpl$2.invoke
    1. com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:116)
    2. com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:368)
    3. com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:355)
    4. com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:332)
    5. com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:42)
    6. com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:223)
    6 frames
  10. com.sun.proxy
    $Proxy50.progressWindowCreated
    1. com.sun.proxy.$Proxy50.progressWindowCreated(Unknown Source)
    1 frame
  11. IDEA
    Task.queue
    1. com.intellij.openapi.progress.util.ProgressWindow.<init>(ProgressWindow.java:122)
    2. com.intellij.openapi.progress.util.ProgressWindow.<init>(ProgressWindow.java:84)
    3. com.intellij.openapi.progress.impl.BackgroundableProcessIndicator.<init>(BackgroundableProcessIndicator.java:71)
    4. com.intellij.openapi.progress.impl.BackgroundableProcessIndicator.<init>(BackgroundableProcessIndicator.java:52)
    5. com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressAsynchronously(ProgressManagerImpl.java:103)
    6. com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:291)
    7. com.intellij.openapi.progress.Task.queue(Task.java:74)
    7 frames
  12. com.android.tools
    GradleWorkspace$1.syncSucceeded
    1. com.android.tools.ndk.GradleWorkspace.scheduleGradleWorkspaceUpdate(GradleWorkspace.java:142)
    2. com.android.tools.ndk.GradleWorkspace.access$000(GradleWorkspace.java:83)
    3. com.android.tools.ndk.GradleWorkspace$1.syncSucceeded(GradleWorkspace.java:110)
    3 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  14. Openapi
    MessageBusImpl$2.invoke
    1. com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:116)
    2. com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:368)
    3. com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:355)
    4. com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:341)
    5. com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:334)
    6. com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:42)
    7. com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:223)
    7 frames
  15. com.sun.proxy
    $Proxy122.syncSucceeded
    1. com.sun.proxy.$Proxy122.syncSucceeded(Unknown Source)
    1 frame
  16. com.android.tools
    GradleSyncState$4.run
    1. com.android.tools.idea.gradle.GradleSyncState$4.run(GradleSyncState.java:205)
    1 frame
  17. IDEA
    AppUIUtil.invokeLaterIfProjectAlive
    1. com.intellij.ui.AppUIUtil.invokeLaterIfProjectAlive(AppUIUtil.java:77)
    1 frame
  18. com.android.tools
    Projects$1.run
    1. com.android.tools.idea.gradle.GradleSyncState.syncPublisher(GradleSyncState.java:243)
    2. com.android.tools.idea.gradle.GradleSyncState.syncEnded(GradleSyncState.java:202)
    3. com.android.tools.idea.gradle.project.PostProjectSetupTasksExecutor.updateGradleSyncState(PostProjectSetupTasksExecutor.java:617)
    4. com.android.tools.idea.gradle.project.PostProjectSetupTasksExecutor.onProjectSyncCompletion(PostProjectSetupTasksExecutor.java:216)
    5. com.android.tools.idea.gradle.util.Projects$1.run(Projects.java:140)
    5 frames
  19. IDEA
    UIUtil.invokeAndWaitIfNeeded
    1. com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2337)
    1 frame
  20. com.android.tools
    ProjectSetUpTask$2.run
    1. com.android.tools.idea.gradle.util.Projects.populate(Projects.java:117)
    2. com.android.tools.idea.gradle.project.ProjectSetUpTask$2.run(ProjectSetUpTask.java:106)
    2 frames
  21. IDEA
    LaterInvocator$FlushQueue.run
    1. com.intellij.ide.startup.impl.StartupManagerImpl$7.run(StartupManagerImpl.java:372)
    2. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:337)
    3. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:321)
    3 frames
  22. Java RT
    EventQueue.dispatchEvent
    1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
    3. java.awt.EventQueue.access$300(EventQueue.java:103)
    4. java.awt.EventQueue$3.run(EventQueue.java:706)
    5. java.awt.EventQueue$3.run(EventQueue.java:704)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    8. java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
    8 frames
  23. IDEA
    IdeEventQueue.dispatchEvent
    1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
    2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
    3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
    3 frames
  24. Java RT
    EventDispatchThread.run
    1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    6. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    6 frames