AbstractMethodError: org.jetbrains.idea.maven.importing.FacetImporter.reimport
I work in a team that produces hundreds of IDEA projects any of which I may need to open from time to time. When I do, I always see get an "IDE internal error" with the following message:
org.jetbrains.idea.maven.importing.FacetImporter.reimportFacet(Lcom/intellij/openapi/externalSystem/service/project/IdeModifiableModelsProvider;Lcom/intellij/openapi/module/Module;Lorg/jetbrains/idea/maven/importing/MavenRootModelAdapter;Lcom/intellij/facet/Facet;Lorg/jetbrains/idea/maven/project/MavenProjectsTree;Lorg/jetbrains/idea/maven/project/MavenProject;Lorg/jetbrains/idea/maven/project/MavenProjectChanges;Ljava/util/Map;Ljava/util/List;)V
java.lang.AbstractMethodError: org.jetbrains.idea.maven.importing.FacetImporter.reimportFacet(Lcom/intellij/openapi/externalSystem/service/project/IdeModifiableModelsProvider;Lcom/intellij/openapi/module/Module;Lorg/jetbrains/idea/maven/importing/MavenRootModelAdapter;Lcom/intellij/facet/Facet;Lorg/jetbrains/idea/maven/project/MavenProjectsTree;Lorg/jetbrains/idea/maven/project/MavenProject;Lorg/jetbrains/idea/maven/project/MavenProjectChanges;Ljava/util/Map;Ljava/util/List;)V
at org.jetbrains.idea.maven.importing.FacetImporter.process(FacetImporter.java:118)
at org.jetbrains.idea.maven.importing.MavenModuleImporter.lambda$null$1(MavenModuleImporter.java:142)
at org.jetbrains.idea.maven.importing.MavenModuleImporter$$Lambda$1807/1931563451.run(Unknown Source)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:934)
at org.jetbrains.idea.maven.importing.MavenModuleImporter.lambda$configFacets$2(MavenModuleImporter.java:130)
at org.jetbrains.idea.maven.importing.MavenModuleImporter$$Lambda$1805/543663697.run(Unknown Source)
at org.jetbrains.idea.maven.utils.MavenUtil.lambda$smartInvokeAndWait$0(MavenUtil.java:169)
at org.jetbrains.idea.maven.utils.MavenUtil$$Lambda$1806/807005084.run(Unknown Source)
at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:419)
at com.intellij.openapi.project.DumbServiceImpl$$Lambda$796/2080018934.run(Unknown Source)
at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:318)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:417)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:401)
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.b(IdeEventQueue.java:843)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:679)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
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)
I'm running IDEA Ultimate 2016.3.4 and have the following Maven-related plugins installed:
- Apache Felix OSGi Development with Maven
- Maven Integration
- Maven Integration Extension
Any suggestions for how to fix this issue would be much appreciated.
Please sign in to leave a comment.
It looks like your IDE installation is corrupted, please try reinstalling from http://www.jetbrains.com/idea/download/index.html.
Related issue: https://youtrack.jetbrains.com/issue/IDEA-163325.
This issue has actually followed me across multiple installations of different IDEA versions, including an install of version 15 on brand new hardware and which was done as a clean install (not importing any previous settings). My current install of 2016.3.4 is the first update I've made since then and I did import the previous version's settings this time.
I can try installing 2016.3.4 again without importing previous version settings. Any other suggestions in case that fails?
Thanks.
Try without third-party plug-ins enabled.
I disabled the "Apache Felix OSGi Development with Maven" plugin. The other two I mentioned above appear to be Jetbrains plugins.
It seems to have put an end to this error. The projects I've tried thus far all complain about an "unknown facet type" with the error "Cannot load facet OSGi Bundle (someBundleName)". But if I check the box to ignore that facet, everything seems to work fine.
Thanks again.
You have probably disabled dmServer/OSGI plug-in, hence the facet is not available.
I turned everything for spring and dmServer/OSGI was turned off together with this. So when I turned this back on the issue was fixed for me - EDITED Nevermind it came back after starting intellij again