Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 212861 - NPE at parter link type selection
Summary: NPE at parter link type selection
Status: CLOSED 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-12-13 07:16 EST by Oleg Danilov CLA
Modified: 2022-10-03 11:11 EDT (History)
1 user (show)

See Also:


Attachments
aa.bpel (2.86 KB, text/plain)
2007-12-13 07:16 EST, Oleg Danilov CLA
no flags Details
aa.wsdl (1.24 KB, text/plain)
2007-12-13 07:17 EST, Oleg Danilov CLA
no flags Details
message_adapter_patch.patch (829 bytes, patch)
2007-12-13 07:21 EST, Oleg Danilov CLA
bbrodt: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Danilov CLA 2007-12-13 07:16:18 EST
Created attachment 85165 [details]
aa.bpel

1) open attached bpel
2) "echo" parter link | properties | details | browse

NPE box popups.

Actually wsdl file is incorrect:

    <wsdl:operation name="process">
      <wsdl:input message="tns:processInput"/>
      <wsdl:output message="tns:processIntput"/>
    </wsdl:operation>

There is a typo - "processIn[t]put" instead of "tns:processInput", but anyway BPEL Editor should not throw an exception even in this case.
Comment 1 Oleg Danilov CLA 2007-12-13 07:17:24 EST
Created attachment 85166 [details]
aa.wsdl 

wsdl file
Comment 2 Oleg Danilov CLA 2007-12-13 07:21:43 EST
Created attachment 85168 [details]
message_adapter_patch.patch

Attached the simple patch.

Added

+		if (object == null){
+			return null;
+		}

Actually we can return something like "message is undefined" or whatever.
Comment 3 Simon Moser CLA 2009-11-19 05:03:11 EST
Oleg, I assume that you committed this fix at some point (its in the HEAD stream), but just forgot to close the bug. Please confirm.
Comment 4 Robert Brodt CLA 2012-04-18 14:45:42 EDT
Comment on attachment 85168 [details]
message_adapter_patch.patch

Updated iplog flag for v1.0 release review.