NullPointerException if copyright files fieldnames are not correct
A Debian package library including a Maven plugin.
Brought to you by:
gerrit-hohl
The copyright file of the Debian package
hdparm_9.48+ds-1ubuntu0.1_amd64.deb
of Ubuntu 16.04.4 LTS contains a typo:
FIles: wiper/contrib/raid1ext4trim.sh-1.5
but should be:
Files: wiper/contrib/raid1ext4trim.sh-1.5
This will result in a NullPointerException in the CopyrightParserImpl.
First there should be no NullPointerException in this case. Second the parser should be use a less strict mode for parsing field names (case-insensitive instead of case-sensitive).
Fixed in revision 18 / version 1.0.3.