Open
Description
Apache NetBeans version
Apache NetBeans 26
What happened
The program in IDE debug will not launch. using JDK-24
java.lang.ClassCastException: class org.netbeans.spi.debugger.ActionsProvider$ContextAware cannot be cast to class org.openide.util.Cancellable (org.netbeans.spi.debugger.ActionsProvider$ContextAware is in unnamed module of loader org.netbeans.StandardModule$OneModuleClassLoader @2169c0f; org.openide.util.Cancellable is in unnamed module of loader 'app')
at org.netbeans.api.debugger.ActionsManager$AsynchActionTask.getCancellable(ActionsManager.java:694)
at org.netbeans.api.debugger.ActionsManager$AsynchActionTask.cancel(ActionsManager.java:672)
at org.netbeans.api.debugger.DebuggerManager.startDebugging(DebuggerManager.java:383)
at org.netbeans.api.debugger.jpda.JPDADebugger.startListeningAndGetEngines(JPDADebugger.java:245)
at org.netbeans.modules.debugger.jpda.ant.JPDAStart$1.run(JPDAStart.java:535)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1403)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2018)
Language / Project Type / NetBeans Component
No response
How to reproduce
Just starting the app in debug mode
Did this work correctly in an earlier version?
Apache NetBeans 23
Operating System
Windows 11 for Workstations
JDK
JDK-24
Apache NetBeans packaging
Apache NetBeans platform
Anything else
No response
Are you willing to submit a pull request?
No