web stats
Mirth Community - View Single Post - Empty query results causing StringIndexOutOfBoundsException
View Single Post
Old 11-02-2012, 02:36 PM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,116
narupley is on a distinguished road

Hm, again that works perfectly fine for me. I wouldn't expect an error to occur because of blank fields. For example, this mapping:

If the "prov_md_email" node in the inbound message is blank, the above mapping will just evaluate to an empty string, and that's what'll get placed in SFT.15.1. So, there's no reason that the transformer should fail, that I can see. There's most likely something else happening on your specific Mirth Connect instance that's causing those errors. Can you post the entire error message?
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote