web stats
Error evaluating transformer (java.lang.StackOverflowError) - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 10-31-2011, 05:09 AM
ravishankarsekar ravishankarsekar is offline
What's HL7?
 
Join Date: Oct 2011
Posts: 2
ravishankarsekar is on a distinguished road
Default Error evaluating transformer (java.lang.StackOverflowError)

Hi,
We are not frequently facing this issue Perhaps just running out of memory. please help us to find the root cause for this issue.

ERROR-300: Transformer error
ERROR MESSAGE: Error evaluating transformer
java.lang.StackOverflowError
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(Unknown Source)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implWrite(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at sun.nio.cs.StreamEncoder.write(Unknown Source)
at java.io.OutputStreamWriter.write(Unknown Source)
at java.io.Writer.write(Unknown Source)
at org.apache.log4j.helpers.CountingQuietWriter.write (CountingQuietWriter.java:45)
at org.apache.log4j.WriterAppender.subAppend(WriterAp pender.java:302)
at org.apache.log4j.RollingFileAppender.subAppend(Rol lingFileAppender.java:263)
at org.apache.log4j.WriterAppender.append(WriterAppen der.java:160)
at org.apache.log4j.AppenderSkeleton.doAppend(Appende rSkeleton.java:251)
at org.apache.log4j.helpers.AppenderAttachableImpl.ap pendLoopOnAppenders(AppenderAttachableImpl.java:66 )
at org.apache.log4j.Category.callAppenders(Category.j ava:206)
at org.apache.log4j.Category.forcedLog(Category.java: 391)
at org.apache.log4j.Category.error(Category.java:305)
at com.mirth.connect.server.LogOutputStream.processLi ne(LogOutputStream.java:146)
at com.mirth.connect.server.LogOutputStream.processBu ffer(LogOutputStream.java:135)
at com.mirth.connect.server.LogOutputStream.write(Log OutputStream.java:63)
at com.mirth.connect.server.LogOutputStream.write(Log OutputStream.java:123)
at java.io.PrintStream.write(Unknown Source)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
at sun.nio.cs.StreamEncoder.flushBuffer(Unknown Source)
at java.io.OutputStreamWriter.flushBuffer(Unknown Source)
at java.io.PrintStream.newLine(Unknown Source)
at java.io.PrintStream.println(Unknown Source)
at org.apache.log4j.helpers.LogLog.error(LogLog.java: 143)
at org.apache.log4j.helpers.OnlyOnceErrorHandler.erro r(OnlyOnceErrorHandler.java:78)
at org.apache.log4j.helpers.OnlyOnceErrorHandler.erro r(OnlyOnceErrorHandler.java:68)
at org.apache.log4j.helpers.CountingQuietWriter.write (CountingQuietWriter.java:49)
at org.apache.log4j.WriterAppender.subAppend(WriterAp pender.java:302)
at org.apache.log4j.RollingFileAppender.subAppend(Rol lingFileAppender.java:263)
at org.apache.log4j.WriterAppender.append(WriterAppen der.java:160)
at org.apache.log4j.AppenderSkeleton.doAppend(Appende rSkeleton.java:251)
at org.apache.log4j.helpers.AppenderAttachableImpl.ap pendLoopOnAppenders(AppenderAttachableImpl.java:66 )
at org.apache.log4j.Category.callAppenders(Category.j ava:206)
at org.apache.log4j.Category.forcedLog(Category.java: 391)
at org.apache.log4j.Category.error(Category.java:305)

Thanks
Reply With Quote
  #2  
Old 11-03-2011, 02:44 PM
geraldb geraldb is offline
Mirth Employee
 
Join Date: Aug 2006
Location: Irvine, CA
Posts: 314
geraldb is an unknown quantity at this point
Default

It looks like you have a logger.error statement in your JavaScript transformer that is outputting a large string (either from a file or building up in your transformer).
__________________
Gerald Bortis | Chief Information Officer | Mirth Corporation
Reply With Quote
  #3  
Old 11-04-2011, 04:03 AM
ravishankarsekar ravishankarsekar is offline
What's HL7?
 
Join Date: Oct 2011
Posts: 2
ravishankarsekar is on a distinguished road
Default Thanks for your input

Thanks for your input based on this we are going to give the fixes thanks again for your valuable response
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 09:48 PM.


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