Index: applications/editors/josm/i18n/launchpad.pl
===================================================================
--- applications/editors/josm/i18n/launchpad.pl	(revision 30232)
+++ applications/editors/josm/i18n/launchpad.pl	(revision 30233)
@@ -427,6 +427,7 @@
     }
   }
-  for my $code (sort {$results{$b}{TOTAL} <=> $results{$a}{TOTAL}} keys %results)
+  for my $code (sort {($results{$b}{TOTAL}||0) <=> ($results{$a}{TOTAL}||0)} keys %results)
   {
+    next if !$results{$code}{TOTAL};
     print FILE "$results{$code}{NAME}:$results{$code}{TOTAL}";
     printf "%5d - %-50s",$results{$code}{TOTAL}, $results{$code}{NAME};
