You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "larry-zpt (via GitHub)" <gi...@apache.org> on 2025/06/14 14:47:37 UTC
[I] java.lang.ClassCastException has occurred during launch [netbeans]
larry-zpt opened a new issue, #8582:
URL: https://github.com/apache/netbeans/issues/8582
### Apache NetBeans version
Apache NetBeans 26
### What happened
The program in IDE debug will not launch. using JDK-24
[messages.log](https://github.com/user-attachments/files/20738298/messages.log)\
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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] java.lang.ClassCastException has occurred during launch [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #8582:
URL: https://github.com/apache/netbeans/issues/8582#issuecomment-2972866330
You need to declare (repeatable) steps to reproduce, if you want help. Starting at zero (clean installation of NB26, no preferences modified), what steps are necessary (including all necessary artifacts) to reproduce the problem.
Your "steps to reproduce" literally says nothing relevant: "Just starting the app in debug mode".
- what app?
- what build system?
- started how?
- what is the code?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] java.lang.ClassCastException has occurred during launch [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #8582: java.lang.ClassCastException has occurred during launch
URL: https://github.com/apache/netbeans/issues/8582
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists