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 144232 - [65cat] Cannot select an Interface in Insert Action for Add Business Method
Summary: [65cat] Cannot select an Interface in Insert Action for Add Business Method
Status: VERIFIED DUPLICATE of bug 145752
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker with 2 votes (vote)
Assignee: martin_adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 10:24 UTC by rajivderas
Modified: 2008-09-12 07:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
144232 Screen shot (113.24 KB, image/png)
2008-08-18 10:26 UTC, rajivderas
Details
EJB Module Project of 144232 (10.58 KB, application/x-compressed)
2008-08-18 10:27 UTC, rajivderas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-08-18 10:24:58 UTC
Steps to reproduce:
1) Open the attached EJB Module Project (EJB Module) in Project explorer
2) In the source packages node open the "NewSessionBean.java" java bean
3) Open the "NewSessionBean.java" on the the editor and right click and select "Insert Code" action
4) From "Insert Code" action pop-up select "Add Business Method"
5) The "Add Business Method" dialog pops up and enter a name and give a return type to the method and Add parameters or
exceptions if required or omit.
6) On the bottom of the  "Add Business Method" dialog their is an option named "Use in Interface" with three options
namely "Local","Remote" and "Both" but here all the three options(radio buttons) are disabled and so cannot add the new 
method to an interface as well as due to that the "ok" button is also disabled.But the UI displays a error label with
"At least one interface must be selected"

The "Use in Interface" with three options gets disabled when you create a new bean with one interface such as the
attached project. But if you create another bean including both types of interfaces this problem doesn't occur.

Dev Build 200808170243
JDK 6 Update 10
Glassfish V2 Server
Comment 1 rajivderas 2008-08-18 10:26:24 UTC
Created attachment 67675 [details]
144232 Screen shot
Comment 2 rajivderas 2008-08-18 10:27:52 UTC
Created attachment 67676 [details]
EJB Module Project of 144232
Comment 3 martin_adamek 2008-09-05 12:17:38 UTC
Fixed with issue 145752.

*** This issue has been marked as a duplicate of 145752 ***
Comment 4 rajivderas 2008-09-12 07:11:16 UTC
Tested within the following environment and works properly
Dev Build 200809101401
JDK 6 Update 10
Windows XP