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.

update to the latest version and Throw an exception

See original GitHub issue
java.lang.ClassCastException: class krasa.mavenhelper.MyProjectService cannot be cast to class krasa.mavenhelper.MyProjectService (krasa.mavenhelper.MyProjectService is in unnamed module of loader @6e3b5838; krasa.mavenhelper.MyProjectService is in unnamed module of loader @2a4b0567)
	at krasa.mavenhelper.MyProjectService.getInstance(
	at krasa.mavenhelper.analyzer.GuiForm.<init>(
	at krasa.mavenhelper.analyzer.UIFormEditor.<init>(
	at krasa.mavenhelper.analyzer.MyFileEditorProvider.createEditor(
	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.dumbModeFinished(
	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$1.lambda$exitDumbMode$0(
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(
	at com.intellij.openapi.application.TransactionGuardImpl.access$200(
	at com.intellij.openapi.application.TransactionGuardImpl$
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(
	at com.intellij.openapi.application.impl.FlushQueue.doRun(
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(
	at com.intellij.openapi.application.impl.FlushQueue$
	at java.desktop/java.awt.event.InvocationEvent.dispatch(
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(
	at java.desktop/java.awt.EventQueue$
	at java.desktop/java.awt.EventQueue$
	at java.base/ Method)
	at java.base/$JavaSecurityAccessImpl.doIntersectionPrivilege(
	at java.desktop/java.awt.EventQueue.dispatchEvent(
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(
	at com.intellij.ide.IdeEventQueue._dispatchEvent(
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(
	at com.intellij.ide.IdeEventQueue.dispatchEvent(
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(
	at java.desktop/```

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

ahus1commented, Sep 6, 2021

I’ve seen a similar exception with a plugin that I maintain, and with other JetBrains plugins. Please let me know I you feel offended by hijacking this. Seen with IntelliJ IDEA 2021.2.1 Build #IU-212.5080.55. / cc: @hsz

2021-08-31 22:53:34,519 [46126956]  ERROR - - Error during processing of: plugin.xml 
java.lang.ClassCastException: class com.intellij.psi.impl.source.xml.XmlTagImpl cannot be cast to class [Ljava.lang.Object; (com.intellij.psi.impl.source.xml.XmlTagImpl is in unnamed module of loader com.intellij.util.lang.PathClassLoader @2d3fcdbd; [Ljava.lang.Object; is in module java.base of loader 'bootstrap')

I happen to have a log file. I uploaded it here: Upload id: 2021_09_06_VJBTEFWbMmimysgg (file: idea.log.1)

hszcommented, Sep 6, 2021

Could you please attach idea.log logs? You can upload it securely here: and provide the generated name.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Update Statement and Exception Handling - Ask TOM
Tom: 1. I have several PL/SQL procedures that use several update statments. After each update, I use the. IF (sql%rowcount > 0) THEN...
Read more >
Chrome update to version 92 throwing exception even after ...
Chrome update to version 92 throwing exception even after the driver is compatible ... It works fine for lower version, just need to...
Read more >
Creating and Throwing Exceptions | Microsoft Learn
Learn about creating and throwing exceptions. Exceptions are used to indicate that an error has occurred while running a program.
Read more >
How to Throw Exceptions in Python - Rollbar
Traceback (most recent call last): File "", line 2, in assert (sys.version_info[0] == 3), "Python version must be 3" AssertionError: ...
Read more >
Exceptions - Manual - PHP
If an exception is thrown and its current function scope has no catch block ... In prior versions it was a statement and...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found