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 82984

Summary: 'Already referenced as local and remote' from Call Enterprise Bean action
Product: javaee Reporter: Martin Schovanek <mschovanek>
Component: EJBAssignee: Martin Adamek <madamek>
Status: RESOLVED FIXED    
Severity: blocker CC: pjiricka
Priority: P2 Keywords: RANDOM
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Schovanek 2006-08-18 13:28:37 UTC
[#200608180000, jdk1.5.0]

Have a EAR versioned in CVS. EJB module conaatains a Session Bean with local and
remote interfaces.

to reproduce:
-------------
1) checkaout a EAR project from CVS
2) open it together with subprojects 
3) invoke Call Enterprise Bean at a servlet
4) choose the Session Bean with local and remote interfaces
ERROR: 'Already referenced as local and remote' error message appears
Comment 1 Martin Adamek 2006-08-18 18:32:12 UTC
I can't reproduce this behavior, but I think it might be posssible. Problem is
caused by unresolved local/remote interfaces. It can be caused by broken MDR
annotations events, or by annotation handling itself (specific combination of
annotations, it is possible to define business interfaces in more ways). Please
attach your project. 
I made some cleanup in code and changed warning to something more reasonable in
this case.
http://j2ee.netbeans.org/source/browse/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ui/logicalview/entres/CallEjbPanel.java?r1=1.2.2.5.2.8&r2=1.2.2.5.2.9
Comment 2 Martin Schovanek 2006-08-21 11:41:08 UTC
Can reproduce on [#200608210000, Win XP, jdk1.6.0-rc-b93, GF V2 build 10]. But
the err message is different, 'Enterprise Bean doesn't support resferences'
appears insted the original message.

Cannot reproduce on my Mac OS X with jdk1.5.0.
Comment 3 Petr Jiricka 2006-09-18 09:54:23 UTC
Martin S., can you please look at this in a newer build? This could be affected
by other fixes, so it is not clear whether this is still reproducible. Thanks.
Comment 4 Martin Schovanek 2006-09-19 17:56:17 UTC
Now cannot reproduce in #200609190000 release55 build with fresh userdir.
Closing as fixed.