web stats
ER7Serializer error ERROR MESSAGE: Error converting ER7 to XML - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2015, 07:22 AM
haym haym is offline
What's HL7?
 
Join Date: Oct 2015
Posts: 4
haym is on a distinguished road
Default ER7Serializer error ERROR MESSAGE: Error converting ER7 to XML

Hi there,
Mirth (3.1.1) has started throwing the below error:-
ER7Serializer error
ERROR MESSAGE: Error converting ER7 to XML
org.xml.sax.SAXException: Unable to parse message. It is NULL or too short.
at com.mirth.connect.plugins.datatypes.hl7v2.ER7Reade r.parse(ER7Reader.java:63)
at com.mirth.connect.plugins.datatypes.hl7v2.ER7Seria lizer.toXML(ER7Serializer.java:213)
at com.mirth.connect.donkey.server.channel.FilterTran sformerExecutor.processConnectorMessage(FilterTran sformerExecutor.java:91)
at com.mirth.connect.donkey.server.channel.Channel.pr ocess(Channel.java:1473)
at com.mirth.connect.donkey.server.channel.Channel.pr ocessSourceQueue(Channel.java:1738)
at com.mirth.connect.donkey.server.channel.Channel.ru n(Channel.java:1725)
at java.lang.Thread.run(Unknown Source)

The error started coming after upgrading Java 7 to Java 8. Sender confirmed that the message is not blank but we don't see the messages in the source to validate.

Is it a Java 8 issue or related to data content?

Last edited by haym; 10-28-2015 at 11:27 AM.
Reply With Quote
  #2  
Old 10-28-2015, 09:17 AM
dac1005 dac1005 is offline
Mirth Newb
 
Join Date: Jun 2015
Location: Mobile, AL
Posts: 12
dac1005 is on a distinguished road
Default

I was able to fix this problem on my channel by changing the File Size (bytes): to 1 on the Source panel. Maybe this will help you.
Reply With Quote
  #3  
Old 10-28-2015, 09:47 AM
haym haym is offline
What's HL7?
 
Join Date: Oct 2015
Posts: 4
haym is on a distinguished road
Default

Thanks Dac1005. Are you using Java 8 as well?
Reply With Quote
  #4  
Old 10-28-2015, 12:51 PM
haym haym is offline
What's HL7?
 
Join Date: Oct 2015
Posts: 4
haym is on a distinguished road
Default

It is a Web Service listener and it has no file size property to edit. Anything I should try?
__________________
Reply With Quote
  #5  
Old 10-28-2015, 11:30 PM
ferdinand ferdinand is offline
OBX.1 Kenobi
 
Join Date: Sep 2014
Posts: 34
ferdinand is on a distinguished road
Default

I'm facing the same problem with java 7, so I think it is no java related.

Which version of mirth are you using?

Regards
Reply With Quote
  #6  
Old 10-29-2015, 06:23 AM
haym haym is offline
What's HL7?
 
Join Date: Oct 2015
Posts: 4
haym is on a distinguished road
Default

Hi Ferdinand,
I am using 3.1.1 version. Please let me know if you find a solution.
__________________
Reply With Quote
  #7  
Old 12-03-2015, 03:25 AM
fluancefg fluancefg is offline
OBX.2 Kenobi
 
Join Date: Oct 2013
Posts: 84
fluancefg is on a distinguished road
Default

Same problem here. I'm using Mirth 3.2.2 and Java 1.7.0_79.
The source message is HL7 and has a filesize of 0. But when I take a look at the file in the error directory, it has a size of 1.50 KB.
I have even tried to enable "check file age" and set it to 1000ms, but that doesn't fix the problem.

Last edited by fluancefg; 12-03-2015 at 03:27 AM.
Reply With Quote
  #8  
Old 12-03-2015, 08:17 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

If you're using a File Reader, you can set the minimum File Size to 1, so that 0 byte files will not be picked up.

If you're using a Web Service Listener, then it's really an issue with the client sending you data. Go to the originating system and tell them to stop sending you empty (or malformed) SOAP envelopes.
__________________
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
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:58 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation