gov.gtas.parsers.exception.ParseException

Expected segment CNT but got ATT at gov.gtas.parsers.edifact.EdifactParser.getNextSegment(Edifac tParser.java:169) at gov.gtas.parsers.edifact.EdifactParser.getMandatorySegment(E difactParser.java:135) at gov.gtas.parsers.edifact.EdifactParser.getMandatorySegment(E difactParser.java:126) at gov.gtas.parsers.paxlst.PaxlstParserUNedifact.parsePayload(P axlstParserUNedifact.java:91)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4

  • via GitHub by svempati2006
    ,
  • via GitHub by svempati2006
    ,
  • via GitHub by RamakriJaya
    ,
  • Stack trace

    • gov.gtas.parsers.exception.ParseException: Expected segment CNT but got ATT at gov.gtas.parsers.edifact.EdifactParser.getNextSegment(Edifac tParser.java:169) at gov.gtas.parsers.edifact.EdifactParser.getMandatorySegment(E difactParser.java:135) at gov.gtas.parsers.edifact.EdifactParser.getMandatorySegment(E difactParser.java:126) at gov.gtas.parsers.paxlst.PaxlstParserUNedifact.parsePayload(P axlstParserUNedifact.java:91) at gov.gtas.parsers.edifact.EdifactParser.parse(EdifactParser.java:83) at gov.gtas.services.ApisMessageService.parse(ApisMessageService.java:62) at gov.gtas.services.Loader.processMessage(Loader.java:82) at gov.gtas.services.LoaderMain.processSingleFile(LoaderMain.java:162) at gov.gtas.services.LoaderMain.processListOfFiles(LoaderMain.java:90) at gov.gtas.services.LoaderMain.main(LoaderMain.java:70)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.