Index: trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
===================================================================
--- trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm	(revision 28068)
+++ trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm	(revision 28069)
@@ -1116,4 +1116,9 @@
                 $astrom_file = $run->{cam_path_base} . ".smf";
                 my $astrom_file_resolved = $ipprc->file_resolve($astrom_file);
+                if (!$astrom_file_resolved) {
+                    print STDERR "cannot resolve astrometry file: $astrom_file\n";
+                    setErrorCodes($rowList, $PSTAMP_NOT_AVAILABLE);
+                    next;
+                }
                 $command .= " -astrom $astrom_file_resolved";
             } else {
