App crashed due to null CircularProgressIndicator in CodeEditorPane.setLoading()
#9
Labels
bug
Something isn't working
CodeEditorPane.setLoading()
#9
Problem Description
The app encounters a
NullPointerException
when attempting to access theCircularProgressIndicator
(referenced asprogressbar
) in theCodeEditorPane.setLoading()
method. This error occurs because theprogressbar
is not properly initialized in theLayoutCodeEditorBinding
. When the app tries to update the progress indicator while reading a file, it crashes due to the null reference.Steps to Reproduce the Behavior
CodeEditorPane
.Expected Behavior
CodeEditorPane
without crashing. It should ensure that theContextualCodeEditor
object is not null before calling thecanUndo()
method.Crash Details
Crashlytics Issue ID
main
java.lang.NullPointerException
Message:
The app crashes with a
NullPointerException
when attempting to access aCircularProgressIndicator
from theLayoutCodeEditorBinding
in theCodeEditorPane.setLoading()
method. Theprogressbar
is null, causing the crash.Stack Trace
System Information
com.eup.codeopsstudio
1.0.0 (1)
The text was updated successfully, but these errors were encountered: