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.

Bug 41533 - FormDataObject not found
Summary: FormDataObject not found
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 12:04 UTC by Jaroslav Tulach
Modified: 2008-12-23 08:36 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-03-31 12:04:02 UTC
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)
Comment 1 Petr Nejedly 2004-03-31 13:15:47 UTC
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.
Comment 2 Jesse Glick 2004-03-31 15:06:27 UTC
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.
Comment 3 Jesse Glick 2004-03-31 15:47:59 UTC
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.
Comment 4 pzajac 2004-03-31 16:14:03 UTC
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...  
Comment 5 Jesse Glick 2004-03-31 16:33:11 UTC
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.
Comment 6 Jaroslav Tulach 2004-04-01 07:41:28 UTC
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.
Comment 7 Marian Mirilovic 2005-07-15 07:53:34 UTC
closed