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 171872 - "Call Enterprise Bean" window doesn't show available beans
Summary: "Call Enterprise Bean" window doesn't show available beans
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
: 172045 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-10 08:26 UTC by Alexei Mokeev
Modified: 2009-09-11 21:45 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 Alexei Mokeev 2009-09-10 08:26:16 UTC
Steps to reproduce:

Setup:
1. Create WebApplication project
2. Add a servlet to this app (S1)
3. Add a session bean to this app (B1)
4. Create EJBModule project
5. Add a session bean (with local and remote interfaces) to EJB Module(B2)

Reproduce:
1. In servlet S1 source code right click and select Insert Code -> Call Enterprise Bean
2. In the newly opened "Call Enterprise Bean" window you will see 2 nodes: WebApplication and EJBModule
Expand them and depending on your luck there might be following cases:
- Both nodes are empty (the most frequent case)
- There is session bean only under one of them and you could choose it (30%)

Out of 15 attempts I was not able to reach the state when both beans, B1 and B2 are present.

20090908 build, Linux, JDK 6u14, GF v3 b62
Comment 1 Alexei Mokeev 2009-09-10 09:17:58 UTC
Setting appropriate subcomponent
Comment 2 Andrey Yamkovoy 2009-09-10 14:45:25 UTC
Regression by the fix of issue 170587.
Comment 3 Andrey Yamkovoy 2009-09-10 14:53:25 UTC
Fixed in the web-main.
Comment 4 Andrey Yamkovoy 2009-09-11 14:47:02 UTC
*** Issue 172045 has been marked as a duplicate of this issue. ***
Comment 5 Quality Engineering 2009-09-11 21:45:59 UTC
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/151a9f8b843c
User: Andrey Yamkovoy <kaktus@netbeans.org>
Log: Fix for #171872 - "Call Enterprise Bean" window doesn't show available beans