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.
i'm working on a small java swing project and can't debug it for some days now. Every time i click on the "Debug Project"-Button netbeans starts the debug session an the buttons to control program flow (step over and so on) and the "variables"-view appear but disappear after about 1 second. The Output says :"BUILD SUCCESSFUL" but i get the following notification: "Unexpected Exception Priority: SILENT Category: Error Invalid line index=1205 >= lineCount=1047" Debug worked before and i can build my project without any problems.
Can you please turn verbose output on so that we see the details about the error? Please go to Tools -> Options, Select Java, Ant tab and change Verbosity level to Verbose. Then Debug Project again. Thanks.
Created attachment 141776 [details] stacktrace added stacktrace
Created attachment 141777 [details] verbose output
(In reply to Martin Entlicher from comment #1) > Can you please turn verbose output on so that we see the details about the > error? > Please go to Tools -> Options, Select Java, Ant tab and change Verbosity > level to Verbose. Then Debug Project again. Thanks. Thanks for the fast answer. I've added the output on verbose level
Thanks, it is an editor or openide/text problem... But this exception does not seem to really break the debugger. Maybe there are more problems that interrupt the debugging. If you attach the messages log file, we can look if there were more exceptions associated. Thanks, passing to the text component...
First I thought that the Unexpected Exception was in the Output tab. Since there was no error in the program itself, it's not apparent yet why the debugged finished.
Created attachment 141781 [details] UI log
Created attachment 141782 [details] IDE log
(In reply to Martin Entlicher from comment #6) > First I thought that the Unexpected Exception was in the Output tab. Since > there was no error in the program itself, it's not apparent yet why the > debugged finished. The output tab has two tabs in it. "<ProjectName>(debug)" and "Debugger Console" "<ProjectName>(debug)" says(output back on normal): "debug: BUILD SUCCESSFUL (total time: 0 seconds)" "Debugger Console" says(output back on normal): "Listening on javadebug Invalid line index=1205 >= lineCount=1047"
*** This bug has been marked as a duplicate of bug 236147 ***