Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 186551 - Throw: IllegalArgumentException when trying to set a user-defined fault type
Summary: Throw: IllegalArgumentException when trying to set a user-defined fault type
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BPEL (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: BPEL UI Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-11 08:55 EDT by Vitaly Tishkov CLA
Modified: 2022-10-03 11:11 EDT (History)
0 users

See Also:


Attachments
a patch to the bug (3.79 KB, patch)
2007-05-11 09:33 EDT, Vitaly Tishkov CLA
bbrodt: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Tishkov CLA 2007-05-11 08:55:51 EDT
Build ID: I20070222-0951

Steps To Reproduce:
1. Open the BPEL editor.
2. Add a Throw to the process.
3. Open its properties section.
4. Go to "Details" tab.
5. Click on the "User-defined" radio button.
IllegalArgumentException is thrown.


More information:
Comment 1 Vitaly Tishkov CLA 2007-05-11 09:32:36 EDT
The problem was in passing the second null parameter to
javax.xml.namespace.QName(String, String) which is not allowed. 

Additonal comment:
faultNS=null is allowed for Catch and Reply, so I've replaced 
<if (oldName != null || faultNS != null)  newQName = new QName(faultNS, oldName);
with
>if (oldName != null)  newQName = new QName(faultNS, oldName);

for both Catch and Reply (see the patch).
Comment 2 Vitaly Tishkov CLA 2007-05-11 09:33:45 EDT
Created attachment 66850 [details]
a patch to the bug
Comment 3 Simon Moser CLA 2007-05-11 10:05:05 EDT
This is a bug, and I reviewed the fix which is absolutely OK. I will check it in and then resolve this. 
Comment 4 Robert Brodt CLA 2012-04-18 14:14:26 EDT
Comment on attachment 66850 [details]
a patch to the bug

Updated iplog flag for v1.0 release review.