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
Description
In SyntaxView method viewToModel, the call to getTokenListForLine may return null and the following usage of the returned tokenList an NullPointerException. (line 975 and 977).
Steps to Reproduce
We have got NPE in some cases, but have no way (yet) to reproduce this.
Expected behavior
No NPE
Actual behavior
NPE may occur
Java version
Java 17
Additional context
Possible solution - add a null check before calling tokenList.getListOffset
The text was updated successfully, but these errors were encountered:
Description
In SyntaxView method viewToModel, the call to getTokenListForLine may return null and the following usage of the returned tokenList an NullPointerException. (line 975 and 977).
Steps to Reproduce
We have got NPE in some cases, but have no way (yet) to reproduce this.
Expected behavior
No NPE
Actual behavior
NPE may occur
Java version
Java 17
Additional context
Possible solution - add a null check before calling tokenList.getListOffset
The text was updated successfully, but these errors were encountered: