Issue details
I encountered an Endless loop in jadx.gui.ui.codearea.JadxTokenMaker#processTokens which makes Jadx-Gui to completly freeze. The reason for the endless loop is a token that references itself:
current.getNextToken() == current
It happens when opening https://repo1.maven.org/maven2/com/auroraoss/gplayapi/3.5.8/gplayapi-3.5.8.aar and double click on class com.aurora.gplayapi.AcquireRequest in the content tree while "Line Wrap" is active in the code view.
The Jadx-GUI window size may have an effect on this issue - on certain smaller Window sizes I get the same stacktrace as in #2796.
@skylot I am not familiar with the whole token system. Is it normal that "null token" exists in the token list?
Jadx version
latest dev version
Java version
Java 21
OS
Issue details
I encountered an Endless loop in jadx.gui.ui.codearea.JadxTokenMaker#processTokens which makes Jadx-Gui to completly freeze. The reason for the endless loop is a token that references itself:
current.getNextToken() == currentIt happens when opening https://repo1.maven.org/maven2/com/auroraoss/gplayapi/3.5.8/gplayapi-3.5.8.aar and double click on class
com.aurora.gplayapi.AcquireRequestin the content tree while "Line Wrap" is active in the code view.The Jadx-GUI window size may have an effect on this issue - on certain smaller Window sizes I get the same stacktrace as in #2796.
@skylot I am not familiar with the whole token system. Is it normal that "null token" exists in the token list?
Jadx version
latest dev version
Java version
Java 21
OS