Phosphorus15/intellij-prolog

[auto-generated:1514953835] null

prolog-ij-bot opened this issue · 3 comments

Some(null)


  • App Version: 2019.3.4
  • Java Version: 11.0.5
  • Plugin Name: Prolog
  • Last Action:
  • Is EAP: false
  • App Version name: PyCharm
  • App Full Name: PyCharm
  • title: [auto-generated:1514953835] null
  • OS Name: Windows 10
  • Plugin Version: 0.1.1
  • App Build: PC-193.6911.25
  • App Name: PyCharm
com.intellij.ide.plugins.StartupAbortedException: Fatal error initializing 'com.intellij.psi.impl.cache.impl.id.IdIndexImpl'
	at com.intellij.ide.plugins.PluginManager.handleComponentError(PluginManager.java:58)
	at com.intellij.util.indexing.FileBasedIndexImpl$FileIndexDataInitialization.lambda$initAssociatedDataForExtensions$0(FileBasedIndexImpl.java:2454)
	at com.intellij.util.indexing.IndexInfrastructure$DataInitialization.executeNestedInitializationTask(IndexInfrastructure.java:173)
	at com.intellij.util.indexing.IndexInfrastructure$DataInitialization.runParallelNestedInitializationTasks(IndexInfrastructure.java:161)
	at com.intellij.util.indexing.IndexInfrastructure$DataInitialization.call(IndexInfrastructure.java:122)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:222)
	at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30)
	at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:201)
	at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:221)
	at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:190)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ExceptionInInitializerError
	at tech.phosphorus.intellij.prolog.psi.PrologFileType.<init>(PrologFileType.java:18)
	at tech.phosphorus.intellij.prolog.psi.PrologFileType.<clinit>(PrologFileType.java:15)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:398)
	at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.instantiateFileTypeBean(FileTypeManagerImpl.java:474)
	at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.instantiatePendingFileTypes(FileTypeManagerImpl.java:464)
	at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.getRegisteredFileTypes(FileTypeManagerImpl.java:1207)
	at com.intellij.psi.impl.cache.impl.id.IdIndexImpl.getVersion(IdIndexImpl.java:25)
	at com.intellij.util.indexing.FileBasedIndexImpl.registerIndexer(FileBasedIndexImpl.java:349)
	at com.intellij.util.indexing.FileBasedIndexImpl.access$5300(FileBasedIndexImpl.java:107)
	at com.intellij.util.indexing.FileBasedIndexImpl$FileIndexDataInitialization.lambda$initAssociatedDataForExtensions$0(FileBasedIndexImpl.java:2448)
	... 12 more
Caused by: com.intellij.diagnostic.ImplementationConflictException: Language with ID 'Prolog' is already registered: class org.logtalk.intellij.PrologLanguage
	at com.intellij.lang.Language.<init>(Language.java:84)
	at com.intellij.lang.Language.<init>(Language.java:60)
	at com.intellij.lang.Language.<init>(Language.java:56)
	at tech.phosphorus.intellij.prolog.PrologLanguage.<init>(PrologLanguage.java:11)
	at tech.phosphorus.intellij.prolog.PrologLanguage.<clinit>(PrologLanguage.java:8)
	... 23 more```

by the logs it seems that another prolog plugin is already installed

by the logs it seems that another prolog plugin is already installed

I'd rather omit this issue; the conflicting Logtalk plugin has been obsolete since a long time ago (its last release was in 2019, IIRC), and I see no reasons users should be using that.

In fact, I'm planning to start a scheduled expiration of error report tokens for older versions of our Prolog plugin to avoid antique error reports like these from being generated.

  • App Version: 2019.3.4
  • Java Version: 11.0.5
  • Plugin Name: Prolog
  • Last Action: editRunConfigurations
  • Is EAP: false
  • App Version name: PyCharm
  • App Full Name: PyCharm
  • title: [auto-generated:1514953835] null
  • OS Name: Windows 10
  • Plugin Version: 0.1.1
  • App Build: PC-193.6911.25
  • App Name: PyCharm