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 64317

Summary: Edit of form makes it uncompilable
Product: guibuilder Reporter: Jiri Rechtacek <jrechtacek>
Component: CodeAssignee: issues@guibuilder <issues>
Status: VERIFIED INVALID    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: broken sources

Description Jiri Rechtacek 2005-09-14 10:11:13 UTC
>System Info:
  Product Version       = NetBeans IDE Dev (Build 050914)
  Operating System      = Linux version 2.6.12.3 running on i386
  Java; VM; Vendor      = 1.5.0_06-ea; Java HotSpot(TM) Client VM
1.5.0_06-ea-b02; Sun Microsystems Inc.
  Java Home             = /space/shared/java/jdk1.5.0_06/jre
  System Locale; Encod. = us (nb); UTF-8

Open nb_all/autoupdate project, open ModuleSelectionPanel and try remove a
tooltip on Uninstall button for example. When save it then the sources are
broken. Form is unusable.
Comment 1 Jiri Rechtacek 2005-09-14 10:12:13 UTC
Created attachment 24781 [details]
broken sources
Comment 2 Jiri Rechtacek 2005-09-14 10:13:17 UTC
Easy reproducible on jdk1.5 and jdk1.6.
Comment 3 Jan Stola 2005-09-14 10:51:31 UTC
It seems that you have Event Variable Name property from Form Editor Settings
set to empty String. Closing as INVALID, because this behaviour is as designed.
Later we probably should consider improvement of the corresponding property editor
to allow only java identifiers.
Not sure how this property was changed in your case. Feel free to reopen
if you find a scenario how this property can be changed in another way
then by explicit modification of the value in the property sheet.
Comment 4 Jiri Rechtacek 2005-09-14 12:05:47 UTC
I'm sorry I overlooked this property. I don't when and why it's set to empty
string but if I have changed back to i.e. evt I works. I verify it's invalid.
I'm sorry again.