title: How to find source of scala.MatchError?
body: <p>I have a parser program in Scala sending <code>string</code> to it and breaking the string and parse. I am getting the following error on that which I don't even know which part of the program is wrong:</p>
  
  <pre><code> Exception in thread "main" scala.MatchError: xxxx/xml/test3D.xml (of class java.lang.String)
  </code></pre>
  
  <p>What are the possibilities that I need to check and what is the best way to solve these kind of errors? </p>