2009-09-14 10:41:44 UTC
E.g.
:35B:ISIN XS0222550880 4,125? LANXESS FIN.B.V.NT.V.05 21.6 :12
causes:
java.lang.IllegalArgumentException: parameter 'name' cannot be null
at org.apache.commons.lang.Validate.notNull(Validate.java:201)
at net.sourceforge.wife.swift.model.Tag.setName(Tag.java:199)
at net.sourceforge.wife.swift.parser.SwiftParser.consumeTag(SwiftParser.java:873)
at net.sourceforge.wife.swift.parser.SwiftParser.block4Consume(SwiftParser.java:599)
at net.sourceforge.wife.swift.parser.SwiftParser.consumeBlock(SwiftParser.java:293)
at net.sourceforge.wife.swift.parser.SwiftParser.message(SwiftParser.java:144)
at net.sourceforge.wife.services.ConversionService.getMessageFromFIN(ConversionService.java:108)
at net.sourceforge.wife.swift.model.UnparsedTextList.getTextAsMessage(UnparsedTextList.java:251)
at net.sourceforge.wife.swift.model.SwiftMessage.unparsedTextGetAsMessage(SwiftMessage.java:1087)
Is this a bug (as the colon (:) should be a valid character in the SWIFT character set 'x'.