web stats
Mirth Community - View Single Post - RTF to PDF
Thread: RTF to PDF
View Single Post
  #3  
Old 05-26-2012, 11:56 PM
bbeverage bbeverage is offline
OBX.1 Kenobi
 
Join Date: Apr 2012
Posts: 26
bbeverage is on a distinguished road
Default

Even using var parser = new com.lowagie.text.rtf.direct.RtfParser();

I get the following error:

Thanks for any help,
Brian

Code:
[2012-05-27 02:52:11,422]  ERROR (org.mule.impl.DefaultComponentExceptionStrategy:95): Caught exception in Exception Strategy for: 505b69da-6235-47ac-ad1a-74a074472081: java.lang.Exception: org.mozilla.javascript.EcmaError: TypeError: Cannot find function convertRtfDocument in object com.lowagie.text.rtf.direct.RtfParser@e5922. (6ed92073-4883-4ad9-9ce6-cecacd41fda2#1437)
java.lang.Exception: org.mozilla.javascript.EcmaError: TypeError: Cannot find function convertRtfDocument in object com.lowagie.text.rtf.direct.RtfParser@e5922. (6ed92073-4883-4ad9-9ce6-cecacd41fda2#1437)
	at com.mirth.connect.connectors.js.JavaScriptMessageDispatcher.doDispatch(JavaScriptMessageDispatcher.java:96)
	at com.mirth.connect.connectors.js.JavaScriptMessageDispatcher.doSend(JavaScriptMessageDispatcher.java:103)
	at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:164)
	at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
	at org.mule.impl.MuleSession.sendEvent(MuleSession.java:130)
	at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:85)
	at org.mule.routing.outbound.FilteringMulticastingRouter.route(FilteringMulticastingRouter.java:54)
	at org.mule.routing.outbound.OutboundMessageRouter$1.doInTransaction(OutboundMessageRouter.java:78)
	at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:48)
	at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:82)
	at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:247)
	at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209)
	at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277)
	at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201)
	at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:176)
	at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:143)
	at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:487)
	at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:266)
	at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:225)
	at com.mirth.connect.connectors.vm.VMMessageReceiver.getMessages(VMMessageReceiver.java:223)
	at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:108)
	at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97)
	at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
	at java.lang.Thread.run(Thread.java:662)Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot find function convertRtfDocument in object com.lowagie.text.rtf.direct.RtfParser@e5922. (6ed92073-4883-4ad9-9ce6-cecacd41fda2#1437)
	at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3753)
	at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3731)
	at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3759)
	at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3778)
	at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3842)
	at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
	at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
	at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1515)
	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:845)
	at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3157)
	at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
	at com.mirth.connect.connectors.js.JavaScriptMessageDispatcher.doDispatch(JavaScriptMessageDispatcher.java:75)
	... 25 more
Reply With Quote