question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception with IntelliJ IDEA 2019.3 EAP

See original GitHub issue

Describe the bug I am seeing following exception multiple times throughout the time I’m working on any project. Apparently, after this commit https://github.com/JetBrains/intellij-community/commit/eb5cf4a8326f08a61dbbcf126ae9b689faa88e5c constructors need to be annotated with @NonInjectable.

com.intellij.diagnostic.PluginException: getComponentAdapterOfType is used to get com.dubreuia.model.Storage (requestorClass=com.dubreuia.model.Storage, requestorConstructor=public com.dubreuia.model.Storage(com.dubreuia.model.Storage)).

Probably constructor should be marked as NonInjectable. [Plugin: com.dubreuia]
	at com.intellij.serviceContainer.ConstructorParameterResolver.findTargetAdapter(ConstructorParameterResolver.kt:109)
	at com.intellij.serviceContainer.ConstructorParameterResolver.isResolvable(ConstructorParameterResolver.kt:37)
	at com.intellij.serviceContainer.ConstructorInjectionKt.getGreediestSatisfiableConstructor(constructorInjection.kt:106)
	at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:36)
	at com.intellij.serviceContainer.PlatformComponentManagerImpl.instantiateClassWithConstructorInjection(PlatformComponentManagerImpl.kt:500)
	at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:52)
	at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:100)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:72)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:65)
	at com.intellij.serviceContainer.PlatformComponentManagerImpl.getService(PlatformComponentManagerImpl.kt:288)
	at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:22)
...

Full log is attached. 2019.3-EAP.txt

What triggered the plugin CTRL+SHIFT+S

Versions

IntelliJ IDEA 2019.3 EAP (Ultimate Edition)
Build #IU-193.3519.25, built on September 18, 2019
IntelliJ IDEA EAP User
Expiration date: October 18, 2019
Runtime version: 11.0.4+10-b480.2 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 4029M
Cores: 8
Registry: 
Non-Bundled Plugins: Struts Assistant, com.codota.csp.intellij, com.dubreuia, com.intellij.plugins.html.instantEditing, org.intellij.scala, org.jetbrains.plugins.vue

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
dubreuiacommented, Sep 22, 2019

On master we can keep the latest EAP snapshot, I’m not releasing on master. I’ll backport the commit content to the proper branches.

I found this:

1reaction
dubreuiacommented, Sep 22, 2019

LGTM, I’ll release the plugin ASAP

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliJ IDEA 2019.3 EAP (193.6015.5 build) Release Notes
IntelliJ IDEA 2019.3 EAP (193.6015.5 build) Release Notes ... Bug, IDEA-228368, Importing a Gradle project fails with an exception in the latest update....
Read more >
IntelliJ IDEA 2019.3 EAP (193.3519.25 build) Release Notes
Exception, IDEA-222785, ProcessCanceledException causes "Could not initialize class com.intellij.psi.search.searches.IndexPatternSearch$Holder".
Read more >
IntelliJ IDEA 2019.3 EAP (193.5233.57 build) Release Notes
No subsystem Bug IDEA‑225607 Bug IDEA‑225436 Exception IDEA‑226828 Core. Installation Task IDEA‑224508
Read more >
IntelliJ IDEA 2019.3 EAP (193.4778.1 build) Release Notes
No subsystem Bug IDEA‑224292 Bug IDEA‑224884 Build. Gradle Bug IDEA‑221699 Bug IDEA‑210603
Read more >
IntelliJ IDEA 2019.3 EAP (193.3793.14 build) Release Notes
IntelliJ IDEA 2019.3 EAP (193.3793.14 build) Release Notes ; Bug, IDEA-222937, Disable native file chooser for macOS Catalina ; Bug, IDEA-223377, java.lang.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found