Opened 5 years ago

Closed 5 years ago

#1079 closed enhancement (fixed)

The FrozenTissue date importer should ignore lines without date

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: Reggie v4.21
Component: net.sf.basedb.reggie Keywords:


This includes empty lines and lines with only white-space. Seems like we get a NullPointerException if there are such lines:

Error: java.lang.NullPointerException 
  at java.util.regex.Matcher.getTextLength(Unknown Source) 
  at java.util.regex.Matcher.reset(Unknown Source) 
  at java.util.regex.Matcher.<init>(Unknown Source) 
  at java.util.regex.Pattern.matcher(Unknown Source) 
  at net.sf.basedb.reggie.servlet.ImportServlet.doPost( 
  at javax.servlet.http.HttpServlet.service(

Change History (1)

comment:1 Changed 5 years ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

(In [5112]) Fixes #1079: The FrozenTissue? date importer should ignore lines without date

Added regular expression ^\s*$ as an ignore pattern.

Note: See TracTickets for help on using tickets.