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 - Exception when deleting local interface of EJB 3 session bean
Summary: Exception when deleting local interface of EJB 3 session bean
Status: RESOLVED DUPLICATE of bug 69479
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks: 84602
  Show dependency tree
 
Reported: 2006-09-19 13:22 UTC by Erno Mononen
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (3.59 KB, text/plain)
2006-09-19 13:24 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
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