Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by svempati2006
, 1 year ago
Expected segment CNT but got ATT at gov.gtas.parsers.edifact.EdifactParser.getNextSegment( EdifactParser.java:169) at gov.gtas.parsers.edifact.EdifactParser.getMandatorySegment( EdifactParser.java:135) at gov.gtas.parsers.edifact.EdifactParser.getMandatorySegment( EdifactParser.java:126) at gov.gtas.parsers.paxlst.PaxlstParserUNedifact.parsePayload( PaxlstParserUNedifact.java:91)
via GitHub by svempati2006
, 1 year ago
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)
gov.gtas.parsers.exception.ParseException: Expected segment CNT but got
 ATT
 at gov.gtas.parsers.edifact.EdifactParser.getNextSegment(
 EdifactParser.java:169)
 at gov.gtas.parsers.edifact.EdifactParser.getMandatorySegment(
 EdifactParser.java:135)
 at gov.gtas.parsers.edifact.EdifactParser.getMandatorySegment(
 EdifactParser.java:126)
 at gov.gtas.parsers.paxlst.PaxlstParserUNedifact.parsePayload(
 PaxlstParserUNedifact.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)