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 85237

Summary: Exception when deleting local interface of EJB 3 session bean
Product: java Reporter: Erno Mononen <emononen>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: pjiricka
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 84602    
Attachments: stacktrace

Description Erno Mononen 2006-09-19 13:22:28 UTC
build 19092006 release55_dev

When deleting the local interface of an EJB 3 session bean an exception is logged. 

Steps:
1. create an EJB module (Java EE 5)
2. create a session bean with a local interface
3. delete the local interface => the following exception is logged to the output

[org.netbeans.mdr.Logger] INFORMATIONAL *********** Exception occurred
************ at 2:07 PM on Sep 19, 2006
java.lang.Exception: mofId:
8387ABA1-47D6-11DB-B55F-9A969EE4AA77:0000000000000C60, class:
org.netbeans.jmi.javamodel.Resource$Impl
        at
org.netbeans.mdr.handlers.InstanceHandler.refDelete(InstanceHandler.java:313)
        at
org.netbeans.modules.javacore.ExclusiveMutex.parseIfNeeded(ExclusiveMutex.java:239)
        at
org.netbeans.modules.javacore.ExclusiveMutex.enter(ExclusiveMutex.java:177)
...

This blocks issue 84602 since EJBAnnotationListener doesn't receive any remove
class events in this case.
Comment 1 Erno Mononen 2006-09-19 13:24:54 UTC
Created attachment 34155 [details]
stacktrace
Comment 2 Daniel Prusa 2006-09-19 14:34:39 UTC
The exception is informational only, we log it for debugging purposes, to track
InvalidObjectExceptions, it is harmless, it does not break any functionality. It
is already reported in issue 69479.

There must be a different reason why EJBAnnotationListener does not receive any
remove events.

*** This issue has been marked as a duplicate of 69479 ***
Comment 3 Erno Mononen 2006-09-19 15:29:26 UTC
OK, I will investigate more. Thanks for the quick evaluation.
Comment 4 Quality Engineering 2007-09-20 10:00:08 UTC
Reorganization of java component