# Failed test 'typical error, parameter is null' # died: main::com::pdfunit::errors::PDFUnitValidationException=HASH(0x3b6fc30) # Invalid argument. One parameter is null.
Maybe, the assignment to a variable was forgotten or was lost during a code change. PDFUnit-Java detects null-parameters and throws this exception.
lives_ok { my $pdfUnderTest = "$resources_dir/language/localeDemo_de.pdf"; my $language; # null value intended AssertThat->document($pdfUnderTest) ->hasLanguageInfo($language) # error, parameter is null ; } "typical error, parameter is null";