← Back to team overview

openjdk team mailing list archive

[Bug 308826] Re: netbeans sample application dispose()

 

Hello, can you give more details about which sample application failed with this error? I have tried several Netbeans samples, and only the Document Editor has an About dialog and I cannot reproduce your error.
Anyway, it looks like a coding error in the sample application, it's not too difficult to solve if I have the source codde (an error occurs, it tries to print some bean information in the exception message, but there is a recursion in the bean metadata)

** Changed in: openjdk-6 (Ubuntu)
       Status: New => Incomplete

-- 
netbeans sample application dispose()
https://bugs.launchpad.net/bugs/308826
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” source package in Ubuntu: Incomplete

Bug description:
I am not sure if this bug is with openjdk or netbeans.  I am using netbeans 6.5 with default openjdk that comes with Ubuntu 8.10.  The bug can be reproduced by creating a Java Desktop Application (sample application).  After you execute the sample application, hit help->About inside of the sample application.  When you hit the x in the top corner of the about dialog box to close it, it causes a StackOverflowError.  This error is also produced if you build the project into an executable jar file and run it independent of netbeans.  This error does not occur with sun's java that comes with Ubuntu 8.10.  The error seems to occur when dispose is called on the child JFrame.  I was not able to create a simple application, not produced by netbean's code generation, that caused the error (with sun's java or openjdk); thus the confusion of whether the error lies in netbeans or openjdk.



References