Home >Web Front-end >HTML Tutorial >God, please help me take a look at this. How to solve the Null Pointer Exception? _html/css_WEB-ITnose
java.lang.NullPointerException
at com.ids.emr.client.technician.shared.models.plan.orderlabtest.OrderLabExaminationModel.getDisplayName(OrderLabExaminationModel.java:114)
at com.ids.emr. client.technician.shared.models.plan.orderlabtest.OrderLabExaminationModel.toString(OrderLabExaminationModel.java:134)
@Override
public String getDisplayName() {
return labExam.getDisplayName() " - " labTestTime.getDisplayName();
}
return labExam.getDisplayName() " - " labTestTime.getDisplayName();
labExam or labTestTime is empty, please make sure the object is valid.
or:
if(labExam!=null && labTestTime !=null) return ...;
else return "";
return labExam.getDisplayName() " - " labTestTime.getDisplayName();
labExam or labTestTime is empty, please make sure the object is valid.
or:
if(labExam!=null && labTestTime !=null) return ...;
else return "";
return labExam.getDisplayName() " - " labTestTime.getDisplayName();
labExam or labTestTime is empty, please make sure the object is valid.
or:
if(labExam!=null && labTestTime !=null) return ...;
else return "";