Hi Bruce,
I am getting following error,
Java.lang.RuntimeException: The file "lexer.dat" is either missing or corrupted. at net.sf.cb2xml.sablecc.lexer.Lexer.<init>(Unknown Source) at net.sf.cb2xml.Cb2Xml.convert(Unknown Source) at net.sf.cb2xml.Cb2Xml.convertToXMLDOM(Unknown Source) at net.sf.JRecord.External.CobolCopybookLoader.loadCopyBook(CobolCopybookLoader.java:132)
Any thoughts on this? thanks ameet
Anonymous
will look at it; which JRecord version / cb2xml version ???
I would check the cb2xml version you are using - it looks old
Last edit: Bruce Martin 2018-03-10
Thanks, I am not sure what hte cb2xml version is. I am actually running a spark job using a FileInputFormat and RecordReader from Ted Malaska's git project.
I am actually including a cb2xml jar as susggested in my project while building my jar. I got the jar from there. I can try to download a new one.
What's the official location and version for this?
Also are there any compatibility versions with JRecord?
strange thing is, the job works fine, just that some of the executors get killed and need to be restarted and then they work.
thanks much
ameet
lexer.dat should be in the cb2xml.jar.
You will be better off using the 0.95.7 cb2mxl.jar than the 1.00 jar as there
where major changes for the 1.00 jar + extraexceptions
ok, thanks and what JRecord version would be compatible with that?
JRecord Version 0.81.5 or earlier. Your current JRecord should be.
apart from cb2xml 1.00, the other cb2xml versions jus fix / improve cobol support.
Hi Team,
I am getting the "Missing artifact net.sf:cb2xml_src:jar:1.00" Error in jrecord/pom.xml.
Kindly suggest on this.
you need to buil and install cb2xml first.
have a look in
Source/OtherSouce/cb2xml_package (jrecord download) or dowload cb2xml from jrecord