|
From: Qin D. <qd...@cs...> - 2003-10-08 15:10:41
|
Bruce: I guess I have to wait until you release the the patch. From here, I could not connect to cvs.sourceforge.net from here within the fire wall of the company. How soon do you think the latest code in cvs can be released? Thanks. Qin ---------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ---------------------------------------------------------------------------------------- "McDonald, Bruce" To: Qin Ding/ASD/CSC@CSC, David Glick <dg...@co...> <Bruce.McDonald cc: bab...@li... @bankofamerica.c Subject: RE: [Babeldoc-devel] Re: [Babeldoc-user] om> Questions. Please Help 10/07/03 03:28 PM 1. Use the code in CVS. 2. Use the dummy journal: Create journal/config.properties - with single line: journalType=dummy -----Original Message----- From: Qin Ding [mailto:qd...@cs...] Sent: Tuesday, October 07, 2003 3:38 PM To: David Glick Cc: bab...@li... Subject: Re: [Babeldoc-devel] Re: [Babeldoc-user] Questions. Please Help David and Bruce: Let me report back to you all I have done to try to solve the Velocity issue. I modified the my validation routine to use VelocityEngine instead of Velocity. That way, I can start a new instance of Velocity. Now, my velocity works, although it still has hard time to find the resource file (vm file). Right now, I just hard coded the vm file. I run command line, as you see it works: C:\DADDY-~1>babeldoc process -p validation-pipeline -f c: \daddy-longlegs\Aftermarket.dat <2003-10-07 14:19:18,307> INFO [main] : PipelineStage name: initialize 2003-10-07 14:19:19,469|INFO |filevalidation.TestManager|Start processing Aftermarket 2003-10-07 14:19:19,729|INFO |filevalidation.TestManager|Processed Aftermarket[24 rows] in 0 second(s) Please help me with the following two questions: 1. But when I use the scanner to run the same file, I got this error. Basically, when document.get("file_name") failed. It returns null value. I remembered that Bruce mentioned that he just fixed this problem. Can I download the patch? Or what should I do to fix it myself for the time being? 2. I remember I have asked this question: What should I do with those ever-growing folders under %BABELDOC_HOME%. Is there a way to purge them if necessary? What would happen if I manually remove them? I just want to know how to manage the filesystem which seems growing very fast. These are the errors when running scanner: 2003-10-07 14:24:04,248|ERROR|filevalidation.TestManager|AD0028771065554644248:longlegs.core.filevalidation.utils.FileValidationException: java.lang.Exception: null is null value at longlegs.core.filevalidation.utils.ExceptionUtil.createFileValidationException(Unknown Source) at longlegs.core.filevalidation.TestManager.validate(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.mozilla.javascript.NativeJavaMethod.call(Unknown Source) at org.mozilla.javascript.ScriptRuntime.call(Unknown Source) at org.mozilla.javascript.gen.c1.call(Unknown Source) at org.mozilla.javascript.gen.c1.exec(Unknown Source) at org.mozilla.javascript.Context.evaluateReader(Unknown Source) at org.mozilla.javascript.Context.evaluateString(Unknown Source) at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown Source) at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source) at org.apache.bsf.BSFManager$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.bsf.BSFManager.exec(Unknown Source) at com.babeldoc.core.pipeline.stage.ScriptingPipelineStage.process(Unknown Source) at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown Source) at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown Source) at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown Source) at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown Source) at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source) at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Source) at com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source) at com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(Unknown Source) at com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown Source) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Thread.java:536) Caused by: java.lang.Exception: null is null value ... 28 more 2003-10-07 14:24:04,289|ERROR|pipeline.DefaultPipelineStageErrorHandler|[DefaultPipelineStageErrorHandler.handlePipelineStageError] PipelineStage name: initialize Error: com.babeldoc.core.pipeline.PipelineException: Script processing failed2003-10-07 14:24:04,299|ERROR|feeder.AsynchronousFeeder|[AsynchronousFeeder$1.run] com.babeldoc.core.pipeline.PipelineException: Script processing failed at com.babeldoc.core.pipeline.stage.ScriptingPipelineStage.process(Unknown Source) at com.babeldoc.core.pipeline.PipelineStage.processStage(Unknown Source) at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.processPipelineStage(Unknown Source) at com.babeldoc.core.pipeline.processor.SyncPipelineStageProcessor.process(Unknown Source) at com.babeldoc.core.pipeline.PipelineStageFactory.process(Unknown Source) at com.babeldoc.core.pipeline.PipelineFactory.process(Unknown Source) at com.babeldoc.core.pipeline.PipelineFactoryFactory.process(Unknown Source) at com.babeldoc.core.pipeline.feeder.SynchronousFeeder.process(Unknown Source) at com.babeldoc.core.pipeline.feeder.AsynchronousFeeder.actuallyProcess(Unknown Source) at com.babeldoc.core.pipeline.feeder.AsynchronousFeeder$1.run(Unknown Source) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Thread.java:536) Caused by: org.apache.bsf.BSFException: JavaScript Error: longlegs.core.filevalidation.utils.FileValidationException: java.lang.Exception: null is null value at org.apache.bsf.engines.javascript.JavaScriptEngine.handleError(Unknown Source) at org.apache.bsf.engines.javascript.JavaScriptEngine.eval(Unknown Source) at org.apache.bsf.util.BSFEngineImpl.exec(Unknown Source) at org.apache.bsf.BSFManager$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.bsf.BSFManager.exec(Unknown Source) ... 12 more ---------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ---------------------------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Babeldoc-devel mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |