diff --git a/source/net/filebot/ui/rename/RenamePanel.java b/source/net/filebot/ui/rename/RenamePanel.java index 1a8926bd..ee690295 100644 --- a/source/net/filebot/ui/rename/RenamePanel.java +++ b/source/net/filebot/ui/rename/RenamePanel.java @@ -283,8 +283,10 @@ public class RenamePanel extends JComponent { Match match = renameModel.getMatch(list.getSelectedIndex()); Map context = renameModel.getMatchContext(match); - MediaBindingBean sample = new MediaBindingBean(match.getValue(), match.getCandidate(), context); - showFormatEditor(sample); + if (match.getValue() != null) { + MediaBindingBean sample = new MediaBindingBean(match.getValue(), match.getCandidate(), context); + showFormatEditor(sample); + } } } }));