java.lang.AssertionError: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.