D
D
Deefs2018-02-01 17:07:44
Java
Deefs, 2018-02-01 17:07:44

What is java.lang.NullPointerException?

application stops when calling another user
in logs
java.lang.NullPointerException:
at com.procrea8.mabtribune.modules.mediachat.activity.CallActivity$4.onResponse (CallActivity.java:170)

line 170

public void onParticipantConnected(Room paramRoom, Participant paramParticipant)
            {
              CallActivity.this.callingText.setVisibility(8);
              MyLog.e("Participant added");
              if (CallActivity.this.callType.equals(Integer.valueOf(1)))
              {
                CallActivity.this.identityContainer.setVisibility(8);
                paramParticipant.getMedia().setListener(new Media.Listener()
                {

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yerlan Ibraev, 2018-02-02
@mad_nazgul

Set a breakpoint here: And see if either "this" or "callingText" is null

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question