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: | JDialog - opening file throws an exception. | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Marian Petras <mpetras> |
Component: | Code | Assignee: | Marian Petras <mpetras> |
Status: | CLOSED WONTFIX | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Priority is changed to P4 (normal). Resolved for 3.4.x or earlier, no new info since then -> verify. Resolved for 3.4.x or earlier, no new info since then -> closing. |
[IAN] Duplicate of 2480 - Color attribute can have haxedecimal values but int is expected. 1. Create some dialog from template JDialog (SwingForms). 2. Save generated source and close the Editor Window. 3. Open the class again. The following exception is thrown: >>> loadComponent: Form java.lang.NumberFormatException: c4 at java.lang.Integer.parseInt(Integer.java:409) at java.lang.Integer.parseInt(Integer.java:458) at com.netbeans.developer.editors.ColorEditor.readFromXML(ColorEditor.java:578) at com.netbeans.developer.modules.loaders.form.GandalfPersistenceManager.getEncodedPropertyValue(GandalfPersistenceManager.java:942) at com.netbeans.developer.modules.loaders.form.GandalfPersistenceManager.loadProperties(GandalfPersistenceManager.java:384) at com.netbeans.developer.modules.loaders.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:235) at com.netbeans.developer.modules.loaders.form.GandalfPersistenceManager.loadVisualComponent(GandalfPersistenceManager.java:262) at com.netbeans.developer.modules.loaders.form.GandalfPersistenceManager.loadContainer(GandalfPersistenceManager.java:301) at com.netbeans.developer.modules.loaders.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:158) at com.netbeans.developer.modules.loaders.form.FormEditorSupport.loadForm(FormEditorSupport.java:241) at com.netbeans.developer.modules.loaders.form.FormEditorSupport.open(FormEditorSupport.java:75) at org.openide.actions.OpenAction$1.run(OpenAction.java:83) at org.openide.util.Task.run(Task.java:125) at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:379)