IntelliJ Troubleshooting: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * IntelliJ =Cases= ====Library source does not match the bytecode for class ...==== Shows when trying to debug on a Lombok-proc...")
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* Getting a thread dump when IDE hangs and doesn't respond https://intellij-support.jetbrains.com/hc/en-us/articles/206544899
=Internal=
=Internal=


* [[IntelliJ#Troubleshooting|IntelliJ]]
* [[IntelliJ#Troubleshooting|IntelliJ]]
=Diagnostic Data Collection=
Help → Collect Logs and Diagnostic Data
The command produce a ZIP into a temporary folder. The ZIP includes [[#idea.log|idea.log]], the [[#build.log|build log]], [[#Thread_Dumps|thread dumps]], [[#Indexing_Diagnostic_Data|indexing diagnostic data]] and a <code>troubleshooting.txt</code> with diagnostic information.
=<span id='Log_Location'></span>Logs=
The IDE logs are maintained under (adjust for IntelliJ version):
<syntaxhighlight lang='text'>
~/Library/Logs/JetBrains/IntelliJIdea2021.1
</syntaxhighlight>
The path can be looked up as the value of the <code>idea.log.path</code> system property, and its default value can be found in <code>[[IntelliJ_Concepts#.history.json|.history.json]]</code> file.
==<tt>idea.log</tt>==
<code>/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/idea.log</code>
==<tt>build.log</tt>==
<code>/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/build-log/build.log</code>
The log is generated by the compile server. For more details, see: {{Internal|IntelliJ_Concepts#Compile_Server|IntelliJ Concepts &#124; Compile Server}}
==Thread Dumps==
==Indexing Diagnostic Data==
<code>/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/indexing-diagnostic/</code>


=Cases=
=Cases=

Latest revision as of 04:51, 2 July 2021

External

Internal

Diagnostic Data Collection

Help → Collect Logs and Diagnostic Data

The command produce a ZIP into a temporary folder. The ZIP includes idea.log, the build log, thread dumps, indexing diagnostic data and a troubleshooting.txt with diagnostic information.

Logs

The IDE logs are maintained under (adjust for IntelliJ version):

~/Library/Logs/JetBrains/IntelliJIdea2021.1

The path can be looked up as the value of the idea.log.path system property, and its default value can be found in .history.json file.

idea.log

/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/idea.log

build.log

/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/build-log/build.log

The log is generated by the compile server. For more details, see:

IntelliJ Concepts | Compile Server

Thread Dumps

Indexing Diagnostic Data

/Users/<username>/Library/Logs/JetBrains/IntelliJIdea2021.1/indexing-diagnostic/

Cases

Library source does not match the bytecode for class ...

Shows when trying to debug on a Lombok-processed class: https://stackoverflow.com/questions/36753524/library-source-does-not-match-the-bytecode-for-class