0

the bug is basically didn't set the input length long enough. How do we call this kind of bug, NPE?

"many problems with running javadoc stem from command lines that have become too long - even though the error message doesn't give the slightest hint this may be the problem. If you encounter problems with the task, try to set the useexternalfile attribute to true first." quote from apache about javadoc

When using apache ant, there is an issue when the command line input is too long, the program hangs, looks like is a bug in javadoc, ant has a work around to avoid this bug from causing issue which is having useexterfile set to true to write the command into temp file and execute the long command bit by bit.

Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143
Jack Feng
  • 895
  • 2
  • 9
  • 24
  • 3
    Put the stack trace down. It's impossible to tell you your answer without the stack trace/ and or code. – Adam Jul 28 '15 at 18:28
  • @Adam http://stackoverflow.com/questions/3205027/maximum-length-of-command-line-string – Jack Feng Jul 28 '15 at 18:39
  • @Adam I believe it is similar to this, ant generated a command line input exceeding the length limitation of the specified environment. – Jack Feng Jul 28 '15 at 18:40
  • you should still edit your question and copy paste the error message. – Adam Jul 28 '15 at 18:54

0 Answers0