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 - Edit of form makes it uncompilable
Summary: Edit of form makes it uncompilable
Status: VERIFIED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 10:11 UTC by Jiri Rechtacek
Modified: 2005-09-14 12:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
broken sources (4.12 KB, text/plain)
2005-09-14 10:12 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
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.