diff --git a/src/java/com/rjconsultores/ventaboletos/web/utilerias/MyComboboxRuta.java b/src/java/com/rjconsultores/ventaboletos/web/utilerias/MyComboboxRuta.java index 66fd15030..9ccbeb782 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/utilerias/MyComboboxRuta.java +++ b/src/java/com/rjconsultores/ventaboletos/web/utilerias/MyComboboxRuta.java @@ -104,7 +104,7 @@ public class MyComboboxRuta extends Combobox { private String retornaDescricaoRuta(Ruta ruta) { return ruta.getNumRuta()!= null ? ruta.getNumRuta().concat(SEPARADOR).concat(ruta.getDescruta()) - .concat(SEPARADOR).concat(ruta.getClaseServicio().getDescclase()) : ""; + .concat(SEPARADOR).concat(ruta.getClaseServicio() != null ? ruta.getClaseServicio().getDescclase(): "" ) : ""; } public void setComboItemByRuta(Ruta ruta) {