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 55382 - xpath events not deterministically fired
Summary: xpath events not deterministically fired
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks: 54867
  Show dependency tree
 
Reported: 2005-02-23 03:24 UTC by Rochelle Raccah
Modified: 2006-03-24 13:08 UTC (History)
0 users

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 Rochelle Raccah 2005-02-23 03:24:07 UTC
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.
Comment 1 Sherold Dev 2005-02-23 16:59:48 UTC
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. 
Comment 2 Rochelle Raccah 2005-02-23 19:27:25 UTC
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.
Comment 3 Sherold Dev 2005-02-25 16:56:36 UTC
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 
 
Comment 4 zikmund 2005-04-01 08:58:45 UTC
Verified.