title: IntelliJ JavaDoc - error - cannot read Input length = 1
body: <p>I know there are plenty of questions about this problem, but no one of the solved it for me! I'm using the Community Edition of IntelliJ and I tried to run JavaDoc through the IDE. Everytime and it doesn't matter fo which file, I run JavaDoc I got the following output:</p>
  
  <pre><code>javadoc: error - cannot read Input length = 1
  </code></pre>
  
  <p>I already figured out, that it might be an encoding problem... I'm working on a <em>Windows 10</em> maschine. I already tried the following:</p>
  
  <ul>
  <li><a href="https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000649644-Javadoc-argfile-encoding-error" rel="nofollow noreferrer">JavaDoc argfile encoding error</a></li>
  <li>Start the terminal from IntelliJ with <code>cmd.exe /K chcp 65001</code> instead of the default one <code>cmd.exe</code> to set the charset to UTF-8</li>
  <li>I also set the project's default charset through the IntelliJ settings to UTF-8 (See: <a href="https://blog.jetbrains.com/idea/2013/03/use-the-utf-8-luke-file-encodings-in-intellij-idea/" rel="nofollow noreferrer">This Guide</a>)</li>
  </ul>
  
  <p>The problem seems to be the <code>javadoc_args</code> file respectively the path to that file... The path is <code>C:\Users\Somebody Müller\AppData\Local\Temp\javadoc_args</code>. Also if I view the file from IntelliJ, all <strong>ü</strong> characters are replaced by an unknown symbol.</p>
  
  <p>I know that I could generate the documentation through a maven plugin, but I would prefer to do it via the IntelliJ IDE...</p>
  
  <p><em>Could somebody identify the problem in detail and/or provide a solution or maybe parts of it?</em></p>
  
  <p><strong>EDIT</strong></p>
  
  <p><a href="https://stackoverflow.com/users/2985643/skomisa">skomisa</a> described the situation/behaviour in easy words:</p>
  
  <blockquote>
    <p>For me the <strong>javadoc_args</strong> file does not exist! I see it is named in the Javadoc window as an argument to <strong>javadoc.exe</strong>, and if I click the link its content is shown in a pop up window within Intellij IDEA, but if I check in File Explorer there is no such file. Is this the case for you as well? I have no idea how it gets generated. Also, I created a project in a folder named <strong>Müller</strong> and the <strong>ü</strong> was rendered as � within the popup window that showed the content of <strong>javadoc_args</strong>.</p>
  </blockquote>
  
  <p><strong>UPDATE 04/12/2018</strong></p>
  
  <p>As skomisa already commented, JetBrains plans to fix this bug in a future version, likely in version <strong>2019.1 (Build 191.2458)</strong>.</p>
  
  <p><strong>UPDATE 22/02/2019</strong></p>
  
  <p>I know this question is quite old but it seems to be still relevant. I didn't check up to now if JetBrains fixed the bug but a similar one occurred for me when I try to open an JavaFX fxml externally inside of the SceneBuilder. In another <a href="https://superuser.com/a/986487">post</a> about renaming a Windows 10 user directory I found a possible workaround at least for Windows users! Just create an additional user directory without <code>ü</code> in the path and link to the existing one:</p>
  
  <pre><code>C:
  CD\Users
  MKLINK /J Müller Mueller
  </code></pre>
  
  <p>If you now uses the link as directory for project paths it should work fine.</p>