Picture the scene: it’s Friday night, it’s half ten, what else would you rather be doing than upgrading some software?
Well, tonight I updated to Ubuntu to 16.04 LTS:
I’ve been thinking about switching to CentOS as of late, but haven’t yet had the time. So when the little pop-up prompted me to update, I figured… heck, why not?
Well, why not – because usually Ubuntu updates cause all kinds of chaos for me. And tonight was no different. Though for once, it was graphic card related.
But it was graphics related.
I also took the opportunity to bump PHPStorm to 2016.1.1, after all this recent hoo-hah about security.
Being somewhat of a chimp, I copied over the newly downloaded files over the top of my existing PhpStorm-10.0.4 directory. Naughty.
Then, when I opened up PHPStorm, it all looked a bit… wrong:
Oh yeah, good times.
Figuring I had messed up good and proper, I deleted the entire directory and tried again. Same deal. Oops.
Strangely though, WebStorm carried on working just fine.
I figured maybe it was somehow related to my desktop icon, but alas no, running from the command line also threw a total benny:
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0 [ 4183] ERROR - napi.project.CacheUpdateRunner - Error while indexing /home/chris/Development/symfony-githut/app/Resources/views/githut/repo.html.twig To reindex this file IDEA has to be restarted java.lang.NoClassDefFoundError: Could not initialize class com.intellij.psi.xml.XmlChildRole at com.intellij.psi.impl.source.xml.XmlTagImpl.getName(XmlTagImpl.java:572) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer$1.visitXmlAttribute(CssTemplateSelectorsIndex.java:133) at com.intellij.psi.impl.source.xml.XmlAttributeImpl.accept(XmlAttributeImpl.java:153) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:64) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:26) at com.intellij.util.WalkingState.walkChildren(WalkingState.java:65) at com.intellij.util.WalkingState.elementStarted(WalkingState.java:52) at com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:73) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitElement(XmlRecursiveElementWalkingVisitor.java:38) at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:34) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitFile(XmlRecursiveElementWalkingVisitor.java:56) at com.intellij.psi.XmlElementVisitor.visitXmlFile(XmlElementVisitor.java:26) at com.intellij.psi.impl.source.xml.XmlFileImpl.accept(XmlFileImpl.java:71) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:129) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:116) at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:398) at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1831) at com.intellij.util.indexing.FileBasedIndexImpl$23.run(FileBasedIndexImpl.java:1760) at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:510) at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1718) at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1703) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:108) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:105) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:226) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:246) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:240) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [ 4184] ERROR - napi.project.CacheUpdateRunner - PhpStorm 2016.1.1 Build #PS-145.970.40 [ 4184] ERROR - napi.project.CacheUpdateRunner - JDK: 1.8.0_76-release [ 4184] ERROR - napi.project.CacheUpdateRunner - VM: OpenJDK 64-Bit Server VM [ 4184] ERROR - napi.project.CacheUpdateRunner - Vendor: JetBrains s.r.o [ 4184] ERROR - napi.project.CacheUpdateRunner - OS: Linux [ 4184] ERROR - napi.project.CacheUpdateRunner - Last Action: [ 4188] ERROR - napi.project.CacheUpdateRunner - Error while indexing /home/chris/Development/symfony-githut/app/Resources/views/githut/repos.html.twig To reindex this file IDEA has to be restarted java.lang.NoClassDefFoundError: Could not initialize class com.intellij.psi.xml.XmlChildRole at com.intellij.psi.impl.source.xml.XmlTagImpl.getName(XmlTagImpl.java:572) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer$1.visitXmlAttribute(CssTemplateSelectorsIndex.java:133) at com.intellij.psi.impl.source.xml.XmlAttributeImpl.accept(XmlAttributeImpl.java:153) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:64) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:26) at com.intellij.util.WalkingState.walkChildren(WalkingState.java:65) at com.intellij.util.WalkingState.elementStarted(WalkingState.java:52) at com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:73) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitElement(XmlRecursiveElementWalkingVisitor.java:38) at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:34) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitFile(XmlRecursiveElementWalkingVisitor.java:56) at com.intellij.psi.XmlElementVisitor.visitXmlFile(XmlElementVisitor.java:26) at com.intellij.psi.impl.source.xml.XmlFileImpl.accept(XmlFileImpl.java:71) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:129) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:116) at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:398) at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1831) at com.intellij.util.indexing.FileBasedIndexImpl$23.run(FileBasedIndexImpl.java:1760) at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:510) at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1718) at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1703) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:108) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:105) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:226) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:246) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:240) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [ 4189] ERROR - napi.project.CacheUpdateRunner - PhpStorm 2016.1.1 Build #PS-145.970.40 [ 4189] ERROR - napi.project.CacheUpdateRunner - JDK: 1.8.0_76-release [ 4189] ERROR - napi.project.CacheUpdateRunner - VM: OpenJDK 64-Bit Server VM [ 4189] ERROR - napi.project.CacheUpdateRunner - Vendor: JetBrains s.r.o [ 4189] ERROR - napi.project.CacheUpdateRunner - OS: Linux [ 4189] ERROR - napi.project.CacheUpdateRunner - Last Action: [ 4184] ERROR - napi.project.CacheUpdateRunner - Error while indexing /home/chris/Development/symfony-githut/app/Resources/views/githut/index.html.twig To reindex this file IDEA has to be restarted java.lang.NoClassDefFoundError: com/intellij/psi/jsp/JspTokenType at com.intellij.psi.impl.source.jsp.JspStartTagEndProvider.getTypes(JspStartTagEndProvider.java:12) at com.intellij.psi.xml.XmlChildRole$4.<init>(XmlChildRole.java:65) at com.intellij.psi.xml.XmlChildRole.<clinit>(XmlChildRole.java:61) at com.intellij.psi.impl.source.xml.XmlTagImpl.getName(XmlTagImpl.java:572) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer$1.visitXmlAttribute(CssTemplateSelectorsIndex.java:133) at com.intellij.psi.impl.source.xml.XmlAttributeImpl.accept(XmlAttributeImpl.java:153) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:64) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:26) at com.intellij.util.WalkingState.walkChildren(WalkingState.java:65) at com.intellij.util.WalkingState.elementStarted(WalkingState.java:52) at com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:73) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitElement(XmlRecursiveElementWalkingVisitor.java:38) at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:34) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitFile(XmlRecursiveElementWalkingVisitor.java:56) at com.intellij.psi.XmlElementVisitor.visitXmlFile(XmlElementVisitor.java:26) at com.intellij.psi.impl.source.xml.XmlFileImpl.accept(XmlFileImpl.java:71) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:129) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:116) at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:398) at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1831) at com.intellij.util.indexing.FileBasedIndexImpl$23.run(FileBasedIndexImpl.java:1760) at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:510) at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1718) at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1703) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:108) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:105) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:226) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:246) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:240) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: com.intellij.psi.jsp.JspTokenType PluginClassLoader[com.intellij.jsp, 1.0] at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:64) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 42 more [ 4205] ERROR - napi.project.CacheUpdateRunner - PhpStorm 2016.1.1 Build #PS-145.970.40 [ 4205] ERROR - napi.project.CacheUpdateRunner - JDK: 1.8.0_76-release [ 4205] ERROR - napi.project.CacheUpdateRunner - VM: OpenJDK 64-Bit Server VM [ 4205] ERROR - napi.project.CacheUpdateRunner - Vendor: JetBrains s.r.o [ 4205] ERROR - napi.project.CacheUpdateRunner - OS: Linux [ 4205] ERROR - napi.project.CacheUpdateRunner - Last Action: [ 4213] ERROR - napi.project.CacheUpdateRunner - Error while indexing /home/chris/Development/symfony-githut/app/Resources/views/base.html.twig To reindex this file IDEA has to be restarted java.lang.NoClassDefFoundError: Could not initialize class com.intellij.psi.xml.XmlChildRole at com.intellij.psi.impl.source.xml.XmlTagImpl.getName(XmlTagImpl.java:572) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer$1.visitXmlAttribute(CssTemplateSelectorsIndex.java:133) at com.intellij.psi.impl.source.xml.XmlAttributeImpl.accept(XmlAttributeImpl.java:153) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:64) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:26) at com.intellij.util.WalkingState.walkChildren(WalkingState.java:65) at com.intellij.util.WalkingState.elementStarted(WalkingState.java:52) at com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:73) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitElement(XmlRecursiveElementWalkingVisitor.java:38) at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:34) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitFile(XmlRecursiveElementWalkingVisitor.java:56) at com.intellij.psi.XmlElementVisitor.visitXmlFile(XmlElementVisitor.java:26) at com.intellij.psi.impl.source.xml.XmlFileImpl.accept(XmlFileImpl.java:71) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:129) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:116) at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:398) at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1831) at com.intellij.util.indexing.FileBasedIndexImpl$23.run(FileBasedIndexImpl.java:1760) at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:510) at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1718) at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1703) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:108) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:105) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:226) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:246) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:240) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [ 4213] ERROR - napi.project.CacheUpdateRunner - PhpStorm 2016.1.1 Build #PS-145.970.40 [ 4213] ERROR - napi.project.CacheUpdateRunner - JDK: 1.8.0_76-release [ 4213] ERROR - napi.project.CacheUpdateRunner - VM: OpenJDK 64-Bit Server VM [ 4213] ERROR - napi.project.CacheUpdateRunner - Vendor: JetBrains s.r.o [ 4213] ERROR - napi.project.CacheUpdateRunner - OS: Linux [ 4213] ERROR - napi.project.CacheUpdateRunner - Last Action: [ 4224] ERROR - napi.project.CacheUpdateRunner - Error while indexing /home/chris/Development/symfony-githut/app/Resources/views/githut/profile.html.twig To reindex this file IDEA has to be restarted java.lang.NoClassDefFoundError: Could not initialize class com.intellij.psi.xml.XmlChildRole at com.intellij.psi.impl.source.xml.XmlTagImpl.getName(XmlTagImpl.java:572) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer$1.visitXmlAttribute(CssTemplateSelectorsIndex.java:133) at com.intellij.psi.impl.source.xml.XmlAttributeImpl.accept(XmlAttributeImpl.java:153) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:64) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:26) at com.intellij.util.WalkingState.walkChildren(WalkingState.java:65) at com.intellij.util.WalkingState.elementStarted(WalkingState.java:52) at com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:73) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitElement(XmlRecursiveElementWalkingVisitor.java:38) at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:34) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitFile(XmlRecursiveElementWalkingVisitor.java:56) at com.intellij.psi.XmlElementVisitor.visitXmlFile(XmlElementVisitor.java:26) at com.intellij.psi.impl.source.xml.XmlFileImpl.accept(XmlFileImpl.java:71) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:129) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:116) at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:398) at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1831) at com.intellij.util.indexing.FileBasedIndexImpl$23.run(FileBasedIndexImpl.java:1760) at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:510) at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1718) at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1703) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:108) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:105) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:226) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:246) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:240) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [ 4224] ERROR - napi.project.CacheUpdateRunner - PhpStorm 2016.1.1 Build #PS-145.970.40 [ 4224] ERROR - napi.project.CacheUpdateRunner - JDK: 1.8.0_76-release [ 4224] ERROR - napi.project.CacheUpdateRunner - VM: OpenJDK 64-Bit Server VM [ 4224] ERROR - napi.project.CacheUpdateRunner - Vendor: JetBrains s.r.o [ 4224] ERROR - napi.project.CacheUpdateRunner - OS: Linux [ 4225] ERROR - napi.project.CacheUpdateRunner - Last Action: [ 4925] ERROR - napi.project.CacheUpdateRunner - Error while indexing /home/chris/Development/symfony-githut/web/config.php To reindex this file IDEA has to be restarted java.lang.NoClassDefFoundError: Could not initialize class com.intellij.psi.xml.XmlChildRole at com.intellij.psi.impl.source.xml.XmlTagImpl.getName(XmlTagImpl.java:572) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer$1.visitXmlAttribute(CssTemplateSelectorsIndex.java:133) at com.intellij.psi.impl.source.xml.XmlAttributeImpl.accept(XmlAttributeImpl.java:153) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:64) at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:26) at com.intellij.util.WalkingState.walkChildren(WalkingState.java:65) at com.intellij.util.WalkingState.elementStarted(WalkingState.java:52) at com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:73) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitElement(XmlRecursiveElementWalkingVisitor.java:38) at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:34) at com.intellij.psi.XmlRecursiveElementWalkingVisitor.visitFile(XmlRecursiveElementWalkingVisitor.java:56) at com.intellij.psi.XmlElementVisitor.visitXmlFile(XmlElementVisitor.java:26) at com.intellij.psi.impl.source.xml.XmlFileImpl.accept(XmlFileImpl.java:71) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:129) at com.intellij.psi.css.index.CssTemplateSelectorsIndex$MyDataIndexer.map(CssTemplateSelectorsIndex.java:116) at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:398) at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1831) at com.intellij.util.indexing.FileBasedIndexImpl$23.run(FileBasedIndexImpl.java:1760) at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyIn(FileTypeManagerImpl.java:510) at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1718) at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1703) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:108) at com.intellij.util.indexing.UnindexedFilesUpdater$2.consume(UnindexedFilesUpdater.java:105) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:226) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1178) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:246) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127) at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:240) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [ 4925] ERROR - napi.project.CacheUpdateRunner - PhpStorm 2016.1.1 Build #PS-145.970.40 [ 4925] ERROR - napi.project.CacheUpdateRunner - JDK: 1.8.0_76-release [ 4925] ERROR - napi.project.CacheUpdateRunner - VM: OpenJDK 64-Bit Server VM [ 4925] ERROR - napi.project.CacheUpdateRunner - Vendor: JetBrains s.r.o [ 4925] ERROR - napi.project.CacheUpdateRunner - OS: Linux [ 4925] ERROR - napi.project.CacheUpdateRunner - Last Action: [ 10381] ERROR - pplication.impl.LaterInvocator - Could not initialize class com.intellij.psi.xml.XmlChildRole java.lang.NoClassDefFoundError: Could not initialize class com.intellij.psi.xml.XmlChildRole at com.intellij.psi.impl.source.xml.XmlTagImpl.getName(XmlTagImpl.java:572) at com.jetbrains.php.joomla.init.JoomlaDetectionManager.isJoomlaManifest(JoomlaDetectionManager.java:112) at com.jetbrains.php.joomla.init.JoomlaDetectionManager.isJoomlaExtension(JoomlaDetectionManager.java:101) at com.jetbrains.php.joomla.init.JoomlaDetectionManager.offerIntegrationSetup(JoomlaDetectionManager.java:70) at com.jetbrains.php.joomla.JoomlaProjectComponent$2$1.run(JoomlaProjectComponent.java:49) at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:163) at com.intellij.openapi.project.DumbServiceImpl$8.run(DumbServiceImpl.java:406) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:345) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:329) 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$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.g(IdeEventQueue.java:857) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386) 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) [ 10382] ERROR - pplication.impl.LaterInvocator - PhpStorm 2016.1.1 Build #PS-145.970.40 [ 10382] ERROR - pplication.impl.LaterInvocator - JDK: 1.8.0_76-release [ 10382] ERROR - pplication.impl.LaterInvocator - VM: OpenJDK 64-Bit Server VM [ 10383] ERROR - pplication.impl.LaterInvocator - Vendor: JetBrains s.r.o [ 10383] ERROR - pplication.impl.LaterInvocator - OS: Linux [ 10383] ERROR - pplication.impl.LaterInvocator - Last Action:
I’ve chosen to dump the whole error output here in the hope that it helps with Googling. I couldn’t find much help via Google for this one. Hopefully this saves someone some time in the future.
The Solution
I tried deleting my entire PHPStorm directory and recreating, by unzipping again. But no dice. Same total mess.
I got a bit worried, but the solution was actually really simple.
I unzipped to a new directory, and started PHPStorm using the command line:
➜ cd ~/Downloads/PhpStorm-145.970.40/bin ➜ bin sh phpstorm.sh
And lo-and-behold, it started working again.
Of course, I’ve lost all my plugins, settings, and what-have-you, but that’s a marked improvement from the previous mess.
Hopefully this may help you too.
Just an entire hour of my life I’ll never get back.