All Questions
4,350 questions
0
votes
2
answers
73
views
How to register hooks in Java?
For analyzing the runtime behavior of applications, or for implementing plug-ins, is there any way to add hooks to methods' input, output, etc. inside the running application?
The idea:
Collection....
1
vote
1
answer
39
views
vscode java debug - casting generic types watch expression
I am having problems while debuggin my app in vscode. I have an abstract class Container defined with generics in another class Element, and 3 subclasses of Container: Worker, Vehicle, Company. The ...
-4
votes
1
answer
39
views
My SpringBoot project takes long to run in debug mode [duplicate]
My @SpringBoot project takes long to run in debug mode. When I pause the execution this is the current line that is executing. Its in Object.java
public final native void wait(long timeout) throws ...
0
votes
0
answers
49
views
How can i remove java’s own classes from the debugging in Kotlin?
How do I skip the java's own classes (ex: Activity.java) while debugging? In other words, how do I skip the debug part here? I only want to see the classes I wrote.
I tried to debug, but java's own ...
1
vote
0
answers
33
views
Flutter build issue com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res....
-1
votes
0
answers
39
views
Why does android LocationRequest run once instead of continuously in android studio?
I have implemented this request which previously worked and returned multiple locations but now it gets one then stops it seems. I can see with logs that I only receive 1 location update. I have ...
0
votes
0
answers
41
views
Breakpoint on method call for one instance
(Java, Eclipse) I have a variable instance on which I call a method (like o.setValue(...) ) in between this and the output, something, somewhere (in the very complex legacy codebase with custom ...
0
votes
0
answers
21
views
Bug: Spigot overrides damage
I'm working on a kit plugin for Spigot 1.8.8 (Because besides 1.7.10 that's the only viable version to pvp on). I'm dealing with a weird issue though; Sometimes the damage a player deals to another ...
0
votes
0
answers
31
views
Spark upgrade - java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.sql.catalyst.expressions.VirtualColumn$
after upgrading my application to JDK 17 and Spark to 3.3.1, I encountered the following error:
java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.sql.catalyst.expressions....
1
vote
0
answers
33
views
Netbeans Maven remote debugging - debug button defaults to local host address and fails to connect
I have a Maven project which runs fine remotely using the Run button. Clicking the Debug button results in the program running remotely and listening for the debugger on the socket chosen by netbeans. ...
2
votes
0
answers
74
views
Debugging symbols are not loaded in vs code when remote debugging
I'm trying to remotely debug a Java web application running on Tomcat 7 using VS Code. The debugger successfully attaches to the remote instance and catches breakpoints in the call stack, but the ...
0
votes
0
answers
43
views
Eclipse Debug isn't starting
When I try to Debug as Java application it throws error
"JRE Eclipse Adoptium/23.0.1 is not supported, advanced source lookup disabled.
Eclipse debugger will use less precise source lookup ...
2
votes
0
answers
35
views
how to block only current active thread when using java remote debugging in intellij idea
I am using Inetllij Idea to remote debug the java application, at first when I set the debug point, it will block the whole JVM and make the whole application unavailable. Then I change the break ...
3
votes
1
answer
177
views
How does "hot code replace" in Eclipse work and what restrictions or limitations are there in using this?
I work on debuggers, such as one for Python. My friends who use Eclipse to debug Java tell me that there is a very useful feature that Eclipse (and similar Java IDE's?) called "hot code replace&...
-1
votes
1
answer
37
views
Caused by: org.hibernate.type.SerializationException: could not deserialize Caused by: java.io.EOFException: null
I have a generic hibernate exception:
Caused by: org.hibernate.type.SerializationException: could not deserialize
at org.hibernate.internal.util.SerializationHelper.doDeserialize(...