Re: UnchekedWrapperException in JSP with bebop taglib

Tomislav Vujec <[email protected]> Tue, 29 Jun 2004 08:27:37 +0200
Newsgroups gmane.linux.redhat.ccm.general
Organization Red Hat
Message-ID <[email protected]>
On Wed, 2004-06-23 at 17:33, david robin wrote:
> Hi, I'm studying the bebop tag library, and i try to have a simple JSP
> working 
> 
[snip]
> =========test.jsp (2) ===========
> <%@ taglib prefix="define" uri="/WEB-INF/bebop-define.tld" %>
> <%@ taglib prefix="show" uri="/WEB-INF/bebop-show.tld" %>
> <%@ page import="com.arsdigita.bebop.*" %>
> <%@ page import="com.arsdigita.bebop.form.*" %>
> <%@ page import="com.arsdigita.bebop.event.*" %>
> 
> Root cause: 
> java.lang.NullPointerException
> 	at com.arsdigita.bebop.Page.generateXML(Page.java:644)

Page.java:644 contains the following:
	Kernel.getConfig().isDebugEnabled()
and this hints that the config object of the Kernel is not initialized.

To get it initialized (together with everything else required by WAF)
for your request, you'll need to extend BaseJSP in your JSP:

https://www.redhat.com/docs/manuals/waf/rhea-dg-waf-en-6.1/s1-web-base-servlet.html

Regards,
-- 
Tomislav Vujec
Engagement Manager CCM / Senior Architect
Red Hat  Otto-Hahn-Straße 20  85609 München-Dornach
Tel +49 89 205071 212 Fax +49 89 205071 111 Cell. +49 172 623 1214

-- 
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBA4QvYd0AbTXLD1+ERAhVQAJ9e17O+tdWW/9/ycbGr/joQWw+smQCfYr8e
b60KOm8hBbzvE3bbRi9GOk8=
=NdGy
-----END PGP SIGNATURE-----