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.
How to reproduce: - Open a SQL file in the editor and connect to a database - Highlight a series of statements - Context menu | Run Selection If an error occurs in the output, such as: Execution finished after 1.666 s, 1 error occurred. then the highlight is lost and the cursor position is somewhere different from what it was before.
*** This bug has been marked as a duplicate of bug 268794 ***