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.
Error: The form file is not recognized. The form cannot be FULL PRODUCT VERSION : Java Version 1.6.0 Java(TM) Se Runtime Environment (build 1.6.0.-b105) Java HotSpot(TM) client VM (build 1.6.0.-b105, mixed mode, sharing) Microsoft Windows XP Professional Version 2002 Service Pack 2. PROBLEM DESCRIPTION: Actually I used the Netbeans 5.5 as my IDE but then I someway around this bug seem to appear. I wasn't able to reopened the form. I used the Drag and Drop JFame of Netbeans. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : I forget how to reproduce this issue. I know there is a related bug about this. And cannot reproduce this error again. My only problem is I cannot open the form for editing even if the whole project is copied to another computer. And it seems that the project works fine. ACTUAL BEHAVIOR: Error: The form file is not recognized. The form cannot be opened. EXPECTED BEHAVIOR: Able to open the JFrame window for editing. REPRODUCIBILITY : I actually produce this and I cannot reproduce it now since I forget what are the changes that I made.
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