For the defense of res judicata to succeed, there must have been prior litigation between the parties resulting in a final judgment or decision with final effect based on the merits of the point in issue. A magistrate's decision declining to exercise jurisdiction, and an appeal that is withdrawn before arguments are presented, do not constitute decisions on the merits that would render subsequent proceedings res judicata. The requirements for res judicata are: idem actor (same parties), idem reus (same defendant), eadem res (same subject matter), and eadem causa petendi (same cause of action). Where material disputes of fact arise in application proceedings that cannot be resolved on affidavit evidence alone, and where it would not be equitable to dismiss the application, the court may exercise its discretion under Rule 46(10)(b) to refer the matter to trial for determination of the disputed factual issues.