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

Running Remote Debug Configuration fails with stacktrace #1851

Closed
huckeduster opened this Issue Nov 21, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@huckeduster
Copy link

huckeduster commented Nov 21, 2018

My setup:

  • PyCharm 2018.3 (Community Edition)
    Build #PC-183.4284.139, built on November 20, 2018
    JRE: 1.8.0_152-release-1343-b15 x86_64
    JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
    macOS 10.13.6
  • Perl 5.24.2 via plenv
  • java version "1.8.0_192"

Error that occurs:

  1. Updated to latest Pycharm version (from latest 2018.2), Camelcade's latest Perl Plugins (Perl, Mojolicious, Template Toolkit all v2018.3.1), removed and re-added the configured Perl interpreter, updated Camelcade Debugger plugin to newest version.
  2. Opened a Perl project I'm working on. "Activated" a Remote Debug Configuration (the one was already configured before updating all the things and used to work).
  3. Got this stacktrace:
java.lang.ClassCastException: com.perl5.lang.perl.idea.run.remote.PerlRemoteDebuggingConfiguration cannot be cast to com.perl5.lang.perl.idea.run.PerlRunConfiguration
	at com.perl5.lang.perl.idea.run.debugger.PerlDebugProfileState.<init>(PerlDebugProfileState.java:45)
	at com.perl5.lang.perl.idea.run.remote.PerlRemoteDebuggingRunProfileState.<init>(PerlRemoteDebuggingRunProfileState.java:46)
	at com.perl5.lang.perl.idea.run.remote.PerlRemoteDebuggingConfiguration.getState(PerlRemoteDebuggingConfiguration.java:83)
	at com.intellij.execution.runners.ExecutionEnvironment.getState(ExecutionEnvironment.java:158)
	at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:55)
	at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:50)
	at com.intellij.execution.ProgramRunnerUtil.executeConfigurationAsync(ProgramRunnerUtil.java:92)
	at com.intellij.execution.ProgramRunnerUtil.executeConfiguration(ProgramRunnerUtil.java:41)
	at com.intellij.execution.impl.ExecutionManagerImpl.restart(ExecutionManagerImpl.java:93)
	at com.intellij.execution.impl.ExecutionManagerImpl.access$300(ExecutionManagerImpl.java:44)
	at com.intellij.execution.impl.ExecutionManagerImpl$3.run(ExecutionManagerImpl.java:442)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:232)
	at com.intellij.util.Alarm$Request.runSafely(Alarm.java:356)
	at com.intellij.util.Alarm$Request.run(Alarm.java:343)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:228)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:719)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:668)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
	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)

Any idea how to fix that?

Thanks in advance
Andre

@hurricup hurricup closed this in 3629ec8 Nov 22, 2018

@hurricup hurricup transferred this issue from Camelcade/Perl5-IDEA-Debugger Nov 22, 2018

@hurricup hurricup added this to the 2018.3.1 milestone Nov 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment