 <p>This code base has a deep level of dependency. This causes a stack overflow in <code>javadoc</code> because the default stack size is too small to support this level of dependencies.</p> <p>To work around this a the following flag can be added to the 'javadoc' command:</p> <pre><code>javadoc -J-Xss1m ... </code></pre> <p>This passes the flag <code>-Xss1m</code> to the java VM that is running javadoc which increases the stack size to 1 megabyte. See <a href="http://docs.oracle.com/javase/8/docs/technotes/tools/windows/javadoc.html" rel="nofollow">JavaDoc</a> documentation for more information. After running the command with this option javadoc was able to successfully generate documentation for the <a href="https://sourceforge.net/projects/byuediftools/" rel="nofollow">BYUEDIFTools</a></p>