web stats
Strange Error in Mirth 3.5 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 07-24-2017, 01:10 AM
vibinChander vibinChander is offline
OBX.2 Kenobi
 
Join Date: Jul 2015
Location: Chennai
Posts: 74
vibinChander is on a distinguished road
Send a message via Skype™ to vibinChander
Default Strange Error in Mirth 3.5

I'm Constructing a sophisticated HL7v2 message parser also I'm converting the incoming message in a JSON format. While saving the code in the source transformer Im getting this null pointer exception. But I dont have any syntax errors in my message also I dont have any channelMaps without being populated by values in both source and destination. Im not sure what causes this error.

I have attached the channel here, let me know if there is any issue on this channel.
Attached Files
File Type: xml HL7v2 - Parser - converter.xml (21.5 KB, 13 views)
__________________

Mirth Interface Engineer
AWS DevOps
Reply With Quote
  #2  
Old 07-24-2017, 02:02 AM
amble amble is offline
OBX.2 Kenobi
 
Join Date: Nov 2015
Posts: 91
amble is on a distinguished road
Default

Works for me? It threw an error about an index. But if I change the data type on the last step to JSON, it outputs a PDF populated with the velocity info?
Reply With Quote
  #3  
Old 07-24-2017, 02:56 AM
callmeonnet callmeonnet is offline
Mirth Newb
 
Join Date: Apr 2015
Posts: 17
callmeonnet is on a distinguished road
Default

Hello Vibin,

It works for me as well. using 3.5.0.8232.

Able to convert to json and pdf.
Reply With Quote
  #4  
Old 07-24-2017, 03:38 AM
vibinChander vibinChander is offline
OBX.2 Kenobi
 
Join Date: Jul 2015
Location: Chennai
Posts: 74
vibinChander is on a distinguished road
Send a message via Skype™ to vibinChander
Question Something Wrong

Hi Guys,

When I hit save on the source transformer code, this error started to pop up. But I thought something went wrong in the code.

But tried to navigate through through the channels and right clicked to enable it and deploy the channel still the error kept popping up in the dashboard. but the message was sent successfully to the destination.

But still the error kept popping on the dashboard. And this is not the first time I face this issue on Mirth 3.5. I faced the similar issue couple of days as well. Did anyone come across similar issue? Or some bug in Mirth3.5 itself I'm not sure.

Every time we cannot restart mirth and try again right?
__________________

Mirth Interface Engineer
AWS DevOps
Reply With Quote
  #5  
Old 07-24-2017, 03:41 AM
vibinChander vibinChander is offline
OBX.2 Kenobi
 
Join Date: Jul 2015
Location: Chennai
Posts: 74
vibinChander is on a distinguished road
Send a message via Skype™ to vibinChander
Default JAVA null pointer exception

Quote:
Originally Posted by callmeonnet View Post
Hello Vibin,

It works for me as well. using 3.5.0.8232.

Able to convert to json and pdf.
Quote:
Originally Posted by amble View Post
Works for me? It threw an error about an index. But if I change the data type on the last step to JSON, it outputs a PDF populated with the velocity info?
It throws a JAVA null pointer exception for me... Strange.
Please see here https://stackoverflow.com/questions/...r-in-mirth-3-5
__________________

Mirth Interface Engineer
AWS DevOps
Reply With Quote
  #6  
Old 07-24-2017, 04:26 AM
amble amble is offline
OBX.2 Kenobi
 
Join Date: Nov 2015
Posts: 91
amble is on a distinguished road
Default

Try clearing your java cache and redownloading the jnlp
Reply With Quote
  #7  
Old 07-24-2017, 04:53 AM
callmeonnet callmeonnet is offline
Mirth Newb
 
Join Date: Apr 2015
Posts: 17
callmeonnet is on a distinguished road
Default

Are you sure it is because of this channel? I could not able to reproduce the issue.

can you try disabling other channels if deployed and check.
Reply With Quote
  #8  
Old 07-24-2017, 05:04 AM
aTom aTom is offline
OBX.3 Kenobi
 
Join Date: Feb 2016
Location: Lake Geneva Area
Posts: 113
aTom is on a distinguished road
Default

Don't think the problem is related to this channel too.

The trace in your printscreen seems to be tags-related (last 2 visible lines may suggest it), although there aren't any in the published channel. Could you post complete stack trace here?

Have you tried to import it in an alternate / empty Mirth installation?
__________________
Tom
Reply With Quote
  #9  
Old 07-24-2017, 05:42 AM
vibinChander vibinChander is offline
OBX.2 Kenobi
 
Join Date: Jul 2015
Location: Chennai
Posts: 74
vibinChander is on a distinguished road
Send a message via Skype™ to vibinChander
Default Error Image here

I have pasted the Error I receive as a screen shot in this post.

https://stackoverflow.com/questions/...r-in-mirth-3-5
__________________

Mirth Interface Engineer
AWS DevOps
Reply With Quote
  #10  
Old 07-24-2017, 05:55 AM
aTom aTom is offline
OBX.3 Kenobi
 
Join Date: Feb 2016
Location: Lake Geneva Area
Posts: 113
aTom is on a distinguished road
Default

please post full trace, it's cut on your printscreen
__________________
Tom
Reply With Quote
Reply

Tags
hl7v2, json, mirth 3.5

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:48 PM.


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