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

Summary: Faults are broken in the designer (M10)
Product: javaee Reporter: arungupta <arungupta>
Component: CodeAssignee: martin_adamek <martin_adamek>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.