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.
#200609190300 1) create ejb-module with glassfish 2) create session bean 3) create sun-ejb-jar.xml 4) select "safely delete" on bean class 5) select "undo safe delete" 6) the beans class is restored but is not visible under sun-ejb-jar.xml
This is not a SJSAS plugin issue. The bean is not restored becuase the configuration editor never receives a new DDBean event from the merged annotation-dd provider. SafeDelete's Undo support is horribly broken. Undo Safe Delete action grabs a lock on the file and never releases it. See attached exception. Furthermore, once the lock problem is fixed, the event is still not sent because MDR does not reparse the file. It looks like issue 74489 is meant to fix the parsing problem but is not correctly fixed either.
Need to retest to see how much of the description is still valid against 6.0.
Fixed in 6.0 due to redesign of annotation handling and interactions with configuration editor.