Skip to content

When login , java.lang.ClassCastException: class com.intellij.openapi.application.impl.ApplicationInfoServiceDelegate cannot be cast to class com.intellij.openapi.application.impl.ApplicationInfoImpl (com.intellij.openapi.application.impl.ApplicationInfoServiceDelegate and com.intellij.openapi.application.impl.ApplicationInfoImpl are in unnamed module of loader com.intellij.util.lang.PathClassLoader @d70c109) #706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zhanggang807 opened this issue Mar 28, 2024 · 3 comments

Comments

@zhanggang807
Copy link

zhanggang807 commented Mar 28, 2024

Describe the bug
use IDEA 2023.3.6 New UI
when login ,

java.lang.ClassCastException: class com.intellij.openapi.application.impl.ApplicationInfoServiceDelegate cannot be cast to class com.intellij.openapi.application.impl.ApplicationInfoImpl (com.intellij.openapi.application.impl.ApplicationInfoServiceDelegate and com.intellij.openapi.application.impl.ApplicationInfoImpl are in unnamed module of loader com.intellij.util.lang.PathClassLoader @d70c109)

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Software versions(Help -> About)

  • Product: [e.g IDEA 2023.3.6 Use New UI ]
  • Runtime version:[ aarch64]
  • VM:[e.g OpenJDK 64-Bit Server VM by JetBrains s.r.o.]
  • OS:[e.g macos 14.4.1]

Question(Optional)

  • URL:[e.g leetcode.com]
  • Code Type:[e.g JAVA]
  • code:
    
    
@zhanggang807
Copy link
Author

image

@zhanggang807
Copy link
Author

java.lang.ClassCastException: class com.intellij.openapi.application.impl.ApplicationInfoServiceDelegate cannot be cast to class com.intellij.openapi.application.impl.ApplicationInfoImpl (com.intellij.openapi.application.impl.ApplicationInfoServiceDelegate and com.intellij.openapi.application.impl.ApplicationInfoImpl are in unnamed module of loader com.intellij.util.lang.PathClassLoader @d70c109)
at com.shuzijun.leetcode.plugin.utils.SentryUtils.submitErrorReport(SentryUtils.java:31)
at com.shuzijun.leetcode.plugin.listener.ErrorReportHandler.submit(ErrorReportHandler.java:32)
at com.intellij.diagnostic.IdeErrorsDialog.reportMessage(IdeErrorsDialog.kt:590)
at com.intellij.diagnostic.IdeErrorsDialog.reportAll(IdeErrorsDialog.kt:849)
at com.intellij.diagnostic.IdeErrorsDialog.access$reportAll(IdeErrorsDialog.kt:65)
at com.intellij.diagnostic.IdeErrorsDialog$ReportAndClearAllAction.actionPerformed(IdeErrorsDialog.kt:833)
at com.intellij.diagnostic.IdeErrorsDialog$CompositeAction.actionPerformed(IdeErrorsDialog.kt:764)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at com.intellij.openapi.ui.DialogWrapper$3.fireActionPerformed(DialogWrapper.java:798)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385)
at java.desktop/java.awt.Component.processEvent(Component.java:6422)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4969)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4583)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4524)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2809)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:695)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:635)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:580)
at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:75)
at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:67)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:580)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:72)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:355)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:354)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:793)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:354)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:349)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1014)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:114)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1014)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:349)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:848)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:391)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

@zhanggang807 zhanggang807 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2024
@jwdbc
Copy link

jwdbc commented Jun 24, 2024

same problem, how do you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants