You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case a parsed file has no Intents AND the flag ICC_SHOW_VARS is set to TRUE, then the application throws a runtime exception (NullPointerException) at line 110 from Main.java.
The exception occurs because if there's no intents, the first loop will be skipped. By skipping the loop on intents.entrySet(), the reference info is never initialized.
Consequentially, if the following if-statement if (ICC_SHOW_VARS) is enabled, the System.out.printf command is going to reference info.type, halting the execution.
I talked about this with @leopoldomt and we think we should not invest time on this now. A quickfix is just to set the ICC_SHOW_VARS flag to false, so we focus on more important things right now.
jeandersonbc
changed the title
NullPointerException if there's no Intents and ICC_SHOW_VARS is enabled
NullPointerException if a parsed file has no Intents and ICC_SHOW_VARS is enabled
Mar 15, 2016
In case a parsed file has no Intents AND the flag ICC_SHOW_VARS is set to TRUE, then the application throws a runtime exception (NullPointerException) at line 110 from Main.java.
The exception occurs because if there's no intents, the first loop will be skipped. By skipping the loop on
intents.entrySet()
, the referenceinfo
is never initialized.Consequentially, if the following if-statement
if (ICC_SHOW_VARS)
is enabled, theSystem.out.printf
command is going to referenceinfo.type
, halting the execution.See the following lines for reference:
Main.java
The text was updated successfully, but these errors were encountered: