From 347032ededa4755c5d90d782001f704abe8094e0 Mon Sep 17 00:00:00 2001 From: changelogweb Date: Thu, 3 Dec 2020 17:15:11 +0000 Subject: [PATCH] fixes bug#21159 qua:wally dev:wilian git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@104585 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/web/utilerias/MyComboboxRuta.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {