4

I'm trying to debug web application in netbeans 7.2.1 with glassfish server 3.1. Debugging worked fine previously.

But Netbeans debugger suddenly started to print this message:

Thread admin-thread-pool-4848(2) stopped at Class.java.getDeclaredConstructors0.

Debugger stops at that line as if there was a breakpoint there and also at this line:

 res = Reflection.filterFields(this, getDeclaredFields0(publicOnly));
 in method private Field[] privateGetDeclaredFields(boolean publicOnly)

If I press a button to continue it stops again at same point for several times and deploying continues for a long time until it fails with message

Deployment error: Deployment timeout has exceeded.

I know it's not much information, but maybe someone has a hint what it could be related to?

1
  • 1
    I had the same issue sometime ago (SpringSource + tomcat7), the solution was to clean-up all breakpoints "Run -> Remove All Breakpoints..." Commented Jul 29, 2014 at 11:56

1 Answer 1

13

I had the exact same problem using Netbeans8, Glasshfish 4.0 and JavaEE JAX-RS. The problem was a breakpoint placed inside a lib that was part of a previous project I was working on.

Solved it by clearing/deleting all breakpoints. To do so, on the Netbeans top bar: window -> debugging -> breakpoints -> and then disable them or right click and delete all of them.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.