web stats
Mirth Community - View Single Post - Empty query results causing StringIndexOutOfBoundsException
View Single Post
  #5  
Old 11-02-2012, 01:23 PM
psanders psanders is offline
OBX.2 Kenobi
 
Join Date: Nov 2011
Posts: 55
psanders is on a distinguished road
Default

Here is an example of an incomplete result message taken from the raw message tab in the channel messages:

<result>
<prov_epic_internal_id>40</prov_epic_internal_id>
<prov_refferal_source_type>INTERNAL</prov_refferal_source_type>
<prov_zip>84124</prov_zip>
<prov_family>xxxxxx</prov_family>
<prov_division>PEDIATRIC NEUROLOGY</prov_division>
<prov_address>1151 E 3900 S</prov_address>
<prov_given>xxxxxx</prov_given>
<prov_city>SALT LAKE CITY</prov_city>
<prov_degree>MD</prov_degree>
<prov_md_email/>
<prov_middle>L</prov_middle>
<prov_state>UT</prov_state>
<prov_dept>PEDIATRICS</prov_dept>
<update_date>20121002</update_date>
<prov_phone/>
</result>

Here is a complete message example:

<result>
<prov_epic_internal_id>45</prov_epic_internal_id>
<prov_refferal_source_type>INTERNAL</prov_refferal_source_type>
<prov_zip>84111</prov_zip>
<prov_family>xxxxxx</prov_family>
<prov_division>DERMATOLOGY</prov_division>
<prov_address>324 10TH AVE STE 224</prov_address>
<prov_given>C</prov_given>
<prov_city>SALT LAKE CITY</prov_city>
<prov_degree>MD</prov_degree>
<prov_md_email>xxxxxxxxxxx</prov_md_email>
<prov_middle>DAVID</prov_middle>
<prov_state>UT</prov_state>
<prov_dept>DERMATOLOGY</prov_dept>
<update_date>20121002</update_date>
<prov_phone>801-581-xxxx</prov_phone>
</result>

Notice that the xml tags are different on the two fields missing data. That's what I'm guessing the problem to be.

Last edited by psanders; 11-02-2012 at 01:25 PM.
Reply With Quote