Tracker: Bugs

5 StackOverflowError when recording inside NetBeans - ID: 3495968
Last Update: Settings changed ( jskrivanek )

I have created a plugin for NetBeans IDE which integrates Costello. But it is not possible to record anything because it fails with StackOverflowError. To reproduce:

- download NetBeans IDE from http://bits.netbeans.org/download/trunk/nightly/latest/zip/ (*-ml.zip)
- unzip it and run
- create a java project to initialize features (File|New Project|Java|Java Application...)
- open Tools|Plugins
- switch to Downloaded panel
- download http://beetle.cz.oracle.com/data/transfer/jskrivanek/Abbot/org-netbeans-modules-costello.nbm
- click Add Plugins and browse for downloaded *.nbm
- click Install and finish installation
- close Plugins dialog
- open Tools|Costello
- in Test Script Editor call File|New Script
- call Capture|All Actions
- click anywhere in NetBeans IDE and it fails after while with attached stack trace

Costello is executed in separate thread with the following sequence:

EditorContext ec = new EditorContext();
ec.setEmbedded(true);
TestHierarchy th = new TestHierarchy();
ec.setTestHierarchy(th);
System.setProperty(\"abbot.no_security_manager\", \"true\");
Costello.showCostello(ec);
th.setFiltered(getMainWindow(), false);

Environment:

Product Version: NetBeans IDE Dev (Build 201202290400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)


Jiri Skrivanek ( jskrivanek ) - 2012-03-01 04:42:51 PST

5

Open

None

Gerard Davison

Event Recording

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
stackTrace.txt Stack trace. Download

Changes ( 2 )

Field Old Value Date By
assigned_to twall 2012-03-01 04:43:55 PST jskrivanek
File Added 437113: stackTrace.txt 2012-03-01 04:42:58 PST jskrivanek