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.
I am not sure whether the bug is in module system, but I assume so. There used to be some changes yesterday, so I expect that this might be releated. Start NetBeans, open project (beans), open some java files and exit. Restart. Following error is thrown: java.lang.NoClassDefFoundError: org.netbeans.modules.form.FormDataObject at org.netbeans.modules.i18n.form.FormI18nSupport.class$(FormI18nSupport.java:430) at org.netbeans.modules.i18n.form.FormI18nSupport$Factory.getDataObjectClass(FormI18nSupport.java:1081) at org.netbeans.modules.i18n.FactoryRegistry.hasFactory(FactoryRegistry.java:122) at org.netbeans.modules.i18n.I18nGroupPopupAction.enable(I18nGroupPopupAction.java:78) at org.netbeans.modules.i18n.I18nGroupPopupAction.isEnabled(I18nGroupPopupAction.java:50) at org.openide.actions.ToolsAction$G.isPopupEnabled(ToolsAction.java:453) at org.openide.actions.ToolsAction$G.access$500(ToolsAction.java:356) at org.openide.actions.ToolsAction$Popup.run(ToolsAction.java:320) at org.netbeans.core.ui.ContextMenuWarmUpTask.warmUpToolsPopupMenuItem(ContextMenuWarmUpTask.java:80) at org.netbeans.core.ui.ContextMenuWarmUpTask.access$000(ContextMenuWarmUpTask.java:36) at org.netbeans.core.ui.ContextMenuWarmUpTask$1.run(ContextMenuWarmUpTask.java:49) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
No problem with the module system. i18n-form's manifest just don't state dependency on form module. Actually, original i18n-form module had following dependencies: OpenIDE-Module-Module-Dependencies: org.netbeans.modules.properties/1 > 1.10, org.netbeans.modules.i18n/1 > 1.9, org.netbeans.modules.form/2 > 1.5, org.openide.src > 1.0, org.netbeans.modules.java/1 > 1.14 The new one has none.
Look at project.xml, it depends on form, so it should work. Does the module JAR have the correct dependencies listed or not? I will take a look at it.
I don't get any such error using the steps you list. Try doing a real-clean and a full update and a new build and try again.
Jesse, I can reproduce it with installation build built by Jarda T. Steps to reproduction: Start id with fresh userdir. Create a J2SE project. Create a Java file from template. Open Tools->Internatialization dialog from main menu...
I cannot reproduce according to Petr's instructions in a fresh build made from up-to-date trunk CVS sources with a fresh user dir. If you are seeing such a problem in some installation build made from a branch, then presumably you are doing something wrong in that branch - so figure out what it is.
Right, right, my own build does not count. I will do clean checkout and try to reproduce once again. Thanks for your investigation, I build few times always with the same result, so gave up and fired this issue.
closed