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.
Sorry for the P1, but we are trying to fix problems surrounding mounting of filesystems during module restoration, and the form module does not work correctly with it. Specifically TimerBean.jar is (probably) mounted during form module's restore, but then this filesystem is not retained with the project. It should use a filesystem marked as global. Please see org.apache.tools.ant.module.AntModule.restored for an example of how to mount a global filesystem; this mounts ant-apis.zip and this seems to work reliably. Without the fix, a ClassNotFoundException is thrown by InstanceDataObject during first user start, since the timerbean classes are not mounted.
what is the build number? I've fixed this bug last week. All jars in {netbeans.home}/beans and {netbeans.user}/beans are mounted during restored() using GlobalJarFileSystem. I actually stole the code from the ant module. Beans' jar files also are mounted globally when beans are installed into component palette. Still does not work?
this must be a bug in core because by inserting tracing println in my code I am sure that the jar is mounted _globally_ during restored(). BTW this used to work a few days back. Now indeed I never see the jar in the list of mounted filesystems under Project Settings *** Mounting /heim/ttran/work/release32/ide/beans/TimerBean.jar[org.netbeans.modules.form.palette.GlobalJarFileSystem]
The jar is added by BeanInstaller, but then removed by project. Got following stack when it happened: [snip] at org.netbeans.modules.projects.PSupport.clearRepository(PSupport.java:914) at org.netbeans.modules.projects.PSupport.updateRepository(PSupport.java:895) at org.netbeans.modules.projects.PSupport.projectOpen(PSupport.java:227) at org.netbeans.core.NbProjectOperation.setProject(NbProjectOperation.java:129) at org.netbeans.core.NbProjectOperation.openOrCreateProject (NbProjectOperation.java:176) at org.netbeans.core.NonGui.run(NonGui.java:476) at org.netbeans.core.Main.run(Main.java:168) at org.openide.TopManager.initializeTopManager(TopManager.java:120) at org.openide.TopManager.getDefault(TopManager.java:81) at org.netbeans.core.Main.main(Main.java:255) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90) at java.lang.Thread.run(Thread.java:484)
will examine - thanks for the stack trace.
Fixed in [dev] and [release32].
Target milestone 3.2
Resolved for 3.4.x or earlier, no new info since then -> closing.