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've added print statements to a fireXpathEvent listener event in the plugin. When I add/remove cmp entitites and their cmp fields, sometimes their are prints (events), sometimes not (mostly not). This is blocking my solution for issue 54867.
Rochelle, in which class is the fireXpathEvent listener event which is sometimes not being called? I've added some debug messages to the j2eeserver to see which classes are being registered as listeners to fireXpathEvent. I found that instances of the following classes are being registered org.netbeans.modules.j2ee.sun.share.configBean.EjbJarRoot org.netbeans.modules.j2ee.sun.share.configBean.CmpEntity the former one is however removed before the later one is registered and is therefore never notified. I guess that this behaviour is not intentional and it is a bug in the j2eeserver. Could this be the cause of this issue? I wonder because if this was the cause, the fireXpathEvent listener should be either never (EjbJarRoot) or always (CmpEntity) notified. This however doesn't seem to be what you experienced.
It's in EjbJarRoot. I saw it printed sometimes a few weeks ago. I tried again yesterday and didn't see it printed at all.
F. Commit log: Checking in config/ConfigurationStorage.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ConfigurationStorage.java,v <-- ConfigurationStorage.java new revision: 1.38; previous revision: 1.37 done Checking in config/ModuleDeploymentSupport.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ModuleDeploymentSupport.java,v <-- ModuleDeploymentSupport.java new revision: 1.23; previous revision: 1.22 done
Verified.