cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed Width parser error with on file containing tabs

jervin
New Contributor III

I have a fixed width file I’m trying to parse but the beginning of each line has a varying number of tabs depending on what data exists:

2020-12-18 11_33_19-Window

The fixed width parser gives me error “Null pointer exception occurred at: com.snaplogic.snaps.transform.FixedWidthParser.configure(FixedWidthParser.java:204)” when trying to parse this file.

The CSV parser works but removes the varying number of leading spaces (tabs) on each record so I can’t just use a Mapper snap with substring functions to parse out the data.

Is there a good way to parse this file with SnapLogic?

0 REPLIES 0