Fix potential NPE
Fix possible NPE
ref #6566 Migrate "Open in.." context menu items for specimen editor