tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Brückner <brueck...@knowledge4.de>
Subject Can't get i18n examples running on Tomcat 3.2.1 / Win2000
Date Mon, 15 Oct 2001 19:16:36 GMT
Dear taglib community,

I may be completely stupid, but even after several hours of trying
I still can't get the i18n taglib examples running on Tomcat
3.2.1/Win2000/German.

Well, the "View Mulitple Bundles" and "Show Bundle Contents" examples
work just fine (hence, the resource bundles can be found), but all other
examples result in the following Null Pointer Exception:

------------------------------------------------------------------------
-------

Error: 500
Location: /i18n-examples/locale_attribute.jsp
Internal Servlet Error:

javax.servlet.ServletException
	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:459)
	at
_0002flocale_0005fattribute_0002ejsplocale_0005fattribute_jsp_0._jspServ
ice(_0002flocale_0005fattribute_0002ejsplocale_0005fattribute_jsp_0.java
:355)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:177)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:797)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java:210)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49
8)
	at java.lang.Thread.run(Thread.java:484)

Root cause: 
java.lang.NullPointerException
	at
org.apache.taglibs.i18n.MessageTag.getBundle(MessageTag.java:158)
	at
org.apache.taglibs.i18n.MessageTag.doStartTag(MessageTag.java:204)
	at
_0002flocale_0005fattribute_0002ejsplocale_0005fattribute_jsp_0._jspServ
ice(_0002flocale_0005fattribute_0002ejsplocale_0005fattribute_jsp_0.java
:106)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle
t.java:177)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:797)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H
ttpConnectionHandler.java:210)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416
)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49
8)
	at java.lang.Thread.run(Thread.java:484)

------------------------------------------------------------------------
-------

Any help would be appreciated!

Thanks in advance,

Regards,
Thomas

------------------------------------------------------------------------
-------
Dipl.-Inform. Thomas Brückner                    +49-721-616225
K4 Knowledge Logistics
mailto:brueckner@knowledge4.de
Thomas Brückner, Stephan Plitek, André Wolf GbR  www.knowledge4.de
Lachnerstraße 9, 76131 Karlsruhe


Mime
View raw message