Forums de discussion

NullPointerException using liferay-ui taglib

abhi kumar, modifié il y a 11 années.

NullPointerException using liferay-ui taglib

New Member Envoyer: 1 Date d'inscription: 08/08/12 Publications récentes
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, modifié il y a 11 années.

RE: NullPointerException using liferay-ui taglib

Liferay Master Publications: 803 Date d'inscription: 10/03/08 Publications récentes
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, modifié il y a 11 années.

RE: NullPointerException using liferay-ui taglib

Expert Publications: 275 Date d'inscription: 20/01/12 Publications récentes
check this

http://www.liferay.com/community/forums/-/message_boards/message/14283786
sudheer kumar, modifié il y a 9 années.

RE: NullPointerException using liferay-ui taglib

Junior Member Publications: 54 Date d'inscription: 25/09/13 Publications récentes