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.
Summary: | The form file format is not recognized. The form cannot be opened. | ||
---|---|---|---|
Product: | guibuilder | Reporter: | mespedil <mespedil> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | Other | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | no se puede abrir |
Description
mespedil
2007-07-20 06:25:59 UTC
You apparently have a corrupted form, can you attach it here? We've found out this was an encoding problem of String property values. I've made a fix to use different encoding when the string contains invalid xml characters. /cvs/form/src/org/netbeans/modules/form/GandalfPersistenceManager.java new revision: 1.183; previous revision: 1.182 Error: This appears to be similar to BUG 110356 but may have a different cause. FULL PRODUCT VERSION : Product Version: NetBeans IDE 7.0.1 (Build 201107282000) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_AU (nb) PROBLEM DESCRIPTION: A global search and replace operation replaced a combo box string item in the application's .form file. After that the form would not open in design mode. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Create a combo box which has a model with the following items: "Interval & Ratio Scales, Bi-polar Scale, Boolean Selections, Nominal & Ordinal Scales" in a custom class which extends FrameView. 2. Select the project on the "Projects" tab. Go to the "Edit" menu and then "Replace in Projects..." submenu. Replace "Bi-polar Scale" with "Bi-polar & Likert Scales". 3. Try and edit the form with the combo box on it. ACTUAL BEHAVIOR: Error: The form file is not recognized. The form cannot be opened. EXPECTED BEHAVIOR: Able to open the FrameView's Design window. WORKAROUND: Replaced the .Form file with a backup and replaced the combo box item manually using the Properties Editor. The .Form file is being used in a prototype application that is subject to a non-disclosure agreement so I can't send the .Form file. Whether setps above will reproduce the problem outside my project I don't know. > This appears to be similar to BUG 110356 but may have a different cause.
Yes, the root of your problem is completely different. In fact, what you describe is more a bug in search and replace than in GUI Builder. I am restoring FIXED status of this issue. Please, fill a separate issue against utilities/Search (<- Product/Component).
Created attachment 140140 [details]
no se puede abrir
|