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: | Form with TableModel created on JDK1.3.x vanish after opening in NB on JDK1.4 {InvalidClassException} | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Marian Mirilovic <mmirilovic> |
Component: | Code | Assignee: | Tomas Pavek <tpavek> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | pkeegan |
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
java.io.InvalidClassException
Form file Java file - generated by form from build [nb_3.2.1](98) |
Description
Marian Mirilovic
2002-03-04 09:23:39 UTC
Created attachment 4913 [details]
java.io.InvalidClassException
Created attachment 4914 [details]
Form file
Created attachment 4915 [details]
Java file - generated by form from build [nb_3.2.1](98)
This is a serialization issue between JDK 1.3 and 1.4. This can be solved only by moving to XML storing/reading of the table model. I'm going to implement issue 19069. Serialized data from previous version forms will be read, but then stored in XML, so it won't be readable for older IDEs... But I don't see another solution. Ok, I agree with this one, your described solution is the best what we can do now. Fixed. verified in [nb_dev](20020305), now table model storing is xml-ized. We cannot make anything else with the exception. ================================ Work Arround: 1. open form file with JTable in NetBeans (oldest than 5th March 2002) on JDK1.3.x and save it (table model have saved as xml - not serialized) 2. open the same file in NetBeans runned on JDK1.4 ======================== Good job Tomas, thanks. Does this problem appear in NB 3.3.2/Orion? The fix was made only for 3.4 dev, so the problem appears in 3.3.3/Orion. removing relnote keyword *** Issue 32579 has been marked as a duplicate of this issue. *** Resolved for 3.3.x or earlier, no new info since then -> closing. |