Fórum

NullPointerException using liferay-ui taglib

abhi kumar, modificado 11 Anos atrás.

NullPointerException using liferay-ui taglib

New Member Mensagem: 1 Data de Entrada: 08/08/12 Postagens Recentes
I'm trying to use the liferay-ui:icon-help tag in my (Liferay 6.1) portlet, but adding

<liferay-ui:icon-help message="help me" />


to my edit.jsp gives me

ERROR [render_portlet_jsp:154] java.lang.NullPointerException at com.liferay.taglib.ui.IconHelpTag.processEndTag(IconHelpTag.java:57)


I'm sure I imported the taglib correctly because other tags such as liferay-ui:calendar work just fine.

Did I forget anything?

----------------------------------------------
snel afvallen
thumbnail
Jignesh Vachhani, modificado 11 Anos atrás.

RE: NullPointerException using liferay-ui taglib

Liferay Master Postagens: 803 Data de Entrada: 10/03/08 Postagens Recentes
I tried and its worked for me.
Please check whether you applied below proper imports of tld or not ?

<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
thumbnail
Subhasis Roy, modificado 11 Anos atrás.

RE: NullPointerException using liferay-ui taglib

Expert Postagens: 275 Data de Entrada: 20/01/12 Postagens Recentes
check this

http://www.liferay.com/community/forums/-/message_boards/message/14283786
sudheer kumar, modificado 9 Anos atrás.

RE: NullPointerException using liferay-ui taglib

Junior Member Postagens: 54 Data de Entrada: 25/09/13 Postagens Recentes