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 108798 - Faults are broken in the designer (M10)
Summary: Faults are broken in the designer (M10)
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: martin_adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-03 19:37 UTC by arungupta
Modified: 2007-08-28 07:17 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 arungupta 2007-07-03 19:37:06 UTC
Using M10, I created an operation and added faults using the Designer. This adds an empty throws clause to the operation
as shown here:

-- cut here --
public String operation(@WebParam(name = "parameter")
    String parameter) throws {
//TODO write your implementation code here:
        return null;
    }
-- cut here --

And as a result, the main designer shows <error> in Faults tab. This breaks the compilation of Web service code.
Comment 1 arungupta 2007-07-03 21:15:47 UTC
See http://blogs.sun.com/arungupta/entry/netbeans_6_m10_and_web for more details.
Comment 2 bhate 2007-07-28 02:14:29 UTC
The only way to add faults is using the add operation panel.
--> milan for evaluation
Comment 3 Milan Kuchtiak 2007-08-02 15:37:51 UTC
Yes, the problem is likely in the focus managment.
The issue in this scenarion :

1. switch to Exceptions tab
2. add exception, set the exception class name
3. press OK
(the focus left the first line in exception table)

method model contains one exception, but it's an empty String value.
Comment 4 martin_adamek 2007-08-28 07:17:30 UTC
Already fixed.