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've updated Netbeans 7.3.1 to 7.4 and now I'm unable to debug any kind of project. The simplest example is a new java application with only one line of code: "system.out.println("end") If I try to debug it, the file doesn't run and I get this messages in IDE: debug: BUILD SUCCESSFUL (total time: 1 second) and in Debuger Console I get: Listening on 46269 Invalid line index=1230 >= lineCount=1103 Changing listening line in each execution, but maintaining second line in all executions. If I debug in a J2ee project with Tomcat, I can start Tomcat in debug mode, but when I debug the application I get next message: ant -f /home/paco/NetBeansProjects/trunk/OrdersForecast -Dbrowser.context=/home/paco/NetBeansProjects/trunk/OrdersForecast -DforceRedeploy=false -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true -Dnb.internal.action.name=debug debug init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: debug: connect-debugger: /home/paco/NetBeansProjects/trunk/OrdersForecast/nbproject/build-impl.xml:1168: The following error occurred while executing this line: /home/paco/NetBeansProjects/trunk/OrdersForecast/nbproject/build-impl.xml:1178: org.netbeans.api.debugger.jpda.DebuggerStartException: Invalid line index=1230 >= lineCount=1103 at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.waitRunning(JPDADebuggerImpl.java:391) at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.waitRunning(JPDADebuggerImpl.java:373) at org.netbeans.api.debugger.jpda.JPDADebugger.attach(JPDADebugger.java:323) at org.netbeans.modules.debugger.jpda.ant.JPDAConnect$1.run(JPDAConnect.java:235) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042) Caused by: java.lang.IndexOutOfBoundsException: Invalid line index=1230 >= lineCount=1103 at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:84) at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:923) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391) at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:898) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:201) at org.openide.text.PositionRef$Manager$DocumentRenderer.run(PositionRef.java:1033) at org.openide.text.PositionRef$Manager$DocumentRenderer.render(PositionRef.java:905) at org.openide.text.PositionRef$Manager$DocumentRenderer.renderToInt(PositionRef.java:939) at org.openide.text.PositionRef$Manager$LineKind.getOffset(PositionRef.java:765) at org.openide.text.PositionRef.getOffset(PositionRef.java:173) at org.openide.text.DocumentLine.refreshState(DocumentLine.java:236) at org.openide.text.DocumentLine.documentOpenedClosed(DocumentLine.java:870) at org.openide.text.DocumentOpenClose.updateLines(DocumentOpenClose.java:515) at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:687) ... 2 more BUILD FAILED (total time: 3 seconds)