Menu

#12 lexer.dat missing

v1.0_(example)
open
None
1
2018-03-20
2018-03-09
Anonymous
No

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

Discussion

  • Bruce Martin

    Bruce Martin - 2018-03-10

    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
  • Anonymous

    Anonymous - 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

     
  • Bruce Martin

    Bruce Martin - 2018-03-11

    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

     
  • Anonymous

    Anonymous - 2018-03-12

    ok, thanks and what JRecord version would be compatible with that?

     
  • Bruce Martin

    Bruce Martin - 2018-03-14

    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.

     
  • Anonymous

    Anonymous - 2018-03-19

    Hi Team,
    I am getting the "Missing artifact net.sf:cb2xml_src:jar:1.00" Error in jrecord/pom.xml.
    Kindly suggest on this.

     
  • Bruce Martin

    Bruce Martin - 2018-03-20

    you need to buil and install cb2xml first.

    have a look in

    Source/OtherSouce/cb2xml_package (jrecord download) or dowload cb2xml from jrecord

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.