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.

Bug 82661 - IllegalStateException: Error getting property value and work around
Summary: IllegalStateException: Error getting property value and work around
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-14 23:22 UTC by dougl30338
Modified: 2006-09-19 13:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dougl30338 2006-08-14 23:22:09 UTC
I've had some time to work though this problem and thought I'd share what I've discovered.  I started 
out having trouble with a form essentially becoming uneditable.  That is, changes to the form would not 
be written to the protected regions of the .java file as expected.  After reconstructing the form in the 
form builder 3+ times, I discovered the ~/.netbeans/5.0/var/log/message.log file made reference to 
the java.lang.IllegalStateException: Error getting property value.  Upon further investigation, I found 
that the JComboBox in my corrupted form was reporting an error in finding it's minimumSize and it's 
preferredSize.  Once this error occurs, further editing of my form is ineffective.  Upon inspection of the 
.form file, I noticed that these two Properties were missing.  My solution was to duplicate the 
maximumSize property as minimumSize and preferredSize for the JComboBox in the .form file and the 
form became editable again using netbeans.

Another possibly related problem is that if one of my components is selected when clicking the build 
and run icon in the toolbar, then the save hangs and the build never runs.  Clicking away from all 
components and clicking the build and run icon in the toolbar again completes a save, build and run as 
expected.  Perhaps the corruption in the .form file stems from this incomplete save problem.

	Product Version: NetBeans IDE 5.0 (Build 200601251500)
	Operating System: Mac OS X version 10.3.9 running on ppc
	Java: 1.4.2_09

Hope that helps the coders find the bug and the users work around the problem until it is resolved.
Comment 1 Jan Stola 2006-09-07 09:13:49 UTC
As for the first part: are you still able to reproduce this issue? Could you, 
please, provide the problematic .form and .java files?

I am not able to reproduce the second part of the issue. Does it happen in 
every form or just in this problematic one?
Comment 2 Jan Stola 2006-09-19 13:59:47 UTC
No additional information provided => closing as WORKSFORME.