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.
* Number of build where a bug happened - NetBeans IDE, Development Version (Build 200111280100) * Java Version - 1.3.1_01 Steps ===== - Select Project: Project Manager menu item. In Project Manager dialog, click New button. Enter a name for the project and click OK. - In Explorer window, right-mouse click your new project and select Add New... menu item to add a new file to the project. Follow the Wizard to add a java file to the project (I created a JFrame.) - Select Project: Execute Project menu item. In Set Project Main Class select the project name (top-most item in the list) and click OK button. If necessary, select Project: Execute Project menu item a second time. Get StackOverflowError exception. Thanks, David
David, please add your ide.log file as an IssueZilla attachment so the problem can be diagnosed--thanks.
Created attachment 3776 [details] ide.log file
Note the user is using build from trunk, currently bugs in core/openide are fixed in release33 branch only
Thanks for the steps, it's clearly the bug of 'Set Project Main Class' dialog. It should prevent you from marking the Project itself as an entry point of execution, otherwise you fall in infinite loop. Please, select some class which you want to be executed when Execute Project action is invoked. I'll fix it for 3.3.1.
User selection of project main class is validated now and OK buton is enabled/disabled properly. User is prevented to select project itself and any node wich doesn't have both ExecCookie and DebuggerCookie. Fixed in release33.
Verified in release33 build #200112170331. Project node cannot be selected as main class.
Hmm, I have to reopen this issue. It is back again in 3.4dev#200202080100 and even in 3.3.1 ;-( As project main class can again be selected the name of actual project - root node in the set main class dialog invoked from Projects main menu.
fixed in main trunk
Verified in dev-200204170100.
Resolved for 3.4.x or earlier, no new info since then -> closing.