This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256821

Summary: Netbeans hangs completely on capturing of java.lang.StackOverflowError
Product: debugger Reporter: NukemBy
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description NukemBy 2015-11-26 16:39:40 UTC
I was trying to identify the root cause of the java.lang.StackOverflowError and set a breakpoint on that exception class. Exception was captured, but after that Netbeans completely hanged - does not react on any actions. The only way further - kill it.

It would be nice to have Netbeans being able to handle that case - I mean stay interactive.

Its pretty easy to reproduce this problems:

1. Create breakpoint of type Exception = java.lang.StackOverflowError

2. Run the test like this one
    
    @Test
    public void testRecursive() {
        testRecursive(true);
    }
    
    public static void testRecursive(boolean recurse) {
        if( recurse )
            testRecursive(recurse);
    }