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.
Build: NetBeans IDE Dev (Build 200804020122) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14 OS: Windows XP, 5.1, x86 User Comments: I created new simple macro and tried to execute it using my own shortcut -> Exception was thrown Note: The macro should add some text. When I was launching it, the cursor was at the end of edited file, behind the last brackett.
Created attachment 59567 [details] stacktrace
To be more specific, it was not a typicall macro at all. It was more like recording some text editing and then launching it from another position in the file. macro code: generate-code "int hwt" delete-previous "at" caret-down caret-up caret-forward caret-forward caret-forward insert-break "this" delete-previous delete-previous delete-previous delete-previous "sout" caret-backward delete-next delete-next "hwat" select-word "this(5" caret-forward "`" delete-previous ";" caret-down
Product Version: NetBeans IDE Dev (Build 200808120201) Java: 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) This issue is reproducible in latest builds. Just create a new macro with code from Pavel. Whenever you call the macro, AE is thrown.
I would say "so don't do it". The assertion will not be thrown in the release.
should be resolved/later.
x
NetBeans.org Migration: changing resolution from LATER to WONTFIX