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: | Warning popups as result of Transparent Persistence Module removal | ||
---|---|---|---|
Product: | platform | Reporter: | Peter Liu <petertliu> |
Component: | -- Other -- | Assignee: | Vitezslav Stejskal <vstejskal> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jtulach |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Peter Liu
2001-12-12 23:22:52 UTC
From the off-line communication with Peter, steps to reproduce the problem: Actually, it happens after I imported the setting from a Pilsen installation containing TP related stupp and when the IDE is coming up. However, it does seem to happen right before the ProjectErrorManager swallowed all the ClassNotFoundException. As for reproducing it, this is what I did: 1. Install Pilsen FCS 2. Create a new package 3. From the package, run New->Databases->Database Schema 4. You will need to have a database table in your database. Import the table. 6. From the database schema just created, call Generate Java 7. Make some changes on the wizard page "Customize Options [2 of 4]" 8. Click on "Save as default". That should save something into the settings. 9. Finished Generate Java. 10. Install the latest Orion kit. 11.On startup, import the setting from the Pilsen installation. Note that there are actually some exceptions during this steps, too, but it doesn't look like its TP related. After the import, during IDE initialization, you should see the warning popup. I expect the problem to be in TP adding actions to JavaDataLoader and DBschema DataLoader. Those actions cannot be found and warning is displayed. I expect the code to be in org.openide.loaders.DataLoader so it might be hard to workaround... Yarda is right in his expectatioins. This is realy the problem of TP actions plugged in JavaDataLoader and DB loader. Fortunately, DataLoader implementation doesn't display the message, but collects all exceptions as annotations and throws them at the end. I will do the same in core's LoaderPoolNode deserialization, which should solve the problem. Peter, please, verify it with Orion and TP, it worked when I simulated it with junit module and Netbeans code from release33. LoaderPoolNode.java: 1.51.14.2 fixed in release33 Resolved for 3.4.x or earlier, no new info since then -> verified Resolved for 3.4.x or earlier, no new info since then -> closing. |