incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <janne.jalka...@ecyrd.com>
Subject Re: "Tag failed" error
Date Wed, 22 Apr 2009 18:58:54 GMT

It could happen if someone is accessing a template file without going  
through the main JSP files. I get this a lot on jspwiki.org, and this  
is usually due to hacking attempts or bots.

/Janne

On 22 Apr 2009, at 12:50, Weijian Fang wrote:

> Sorry to ask again. But can someone explain this "Tag failed" error?
> Or give some hints on it? Many thanks in advance!
>
> Basically, WikiTagBase.m_wikiContext == null, how could it be?
>
> <log4j:event logger="com.ecyrd.jspwiki.tags.WikiTagBase"
> timestamp="1239931142106" level="ERROR" thread="TP-Processor14">
> <log4j:message><![CDATA[Tag failed]]></log4j:message>
> <log4j:NDC><![CDATA[OMII-UK:/wiki/PrivateWIKIADMINSystemInfo
> OMII-UK:http://www.omii.ac.uk/wiki/PrivateWIKIADMINSystemInfo]]></ 
> log4j:NDC>
> <log4j:throwable><![CDATA[javax.servlet.jsp.JspException: WikiContext
> may not be NULL - serious internal problem!
>       at  
> com.ecyrd.jspwiki.tags.WikiTagBase.doStartTag(WikiTagBase.java:86)
>       at  
> org 
> .apache 
> .jsp.Error_jsp._jspx_meth_wiki_005fMessages_005f0(Error_jsp.java:178)
>       at org.apache.jsp.Error_jsp._jspService(Error_jsp.java:125)
>       at  
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>       at  
> org 
> .apache 
> .jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
>       at  
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 
> 329)
>       at  
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>       at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 269)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
>       at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>       at  
> org 
> .apache 
> .jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:686)
>       at  
> org 
> .apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java: 
> 656)
>       at  
> org 
> .apache 
> .jasper 
> .runtime.PageContextImpl.doHandlePageException(PageContextImpl.java: 
> 801)
>       at  
> org 
> .apache 
> .jasper 
> .runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
>       at org.apache.jsp.Wiki_jsp._jspService(Wiki_jsp.java:135)
>       at  
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>       at  
> org 
> .apache 
> .jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
>       at  
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 
> 329)
>       at  
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>       at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 269)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:679)
>       at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>       at com.ecyrd.jspwiki.WikiServlet.doGet(WikiServlet.java:100)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>       at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 269)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>       at  
> com 
> .ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java: 
> 99)
>       at  
> com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:91)
>       at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 215)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>       at  
> org 
> .tuckey 
> .web 
> .filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java: 
> 738)
>       at  
> org 
> .apache 
> .catalina 
> .core 
> .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 
> 215)
>       at  
> org 
> .apache 
> .catalina 
> .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>       at  
> org 
> .apache 
> .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 
> 213)
>       at  
> org 
> .apache 
> .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 
> 174)
>       at  
> org 
> .apache 
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>       at  
> org 
> .apache 
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>       at  
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 
> 548)
>       at  
> org 
> .apache 
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 
> 108)
>       at  
> org 
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 
> 174)
>       at  
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>       at  
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>       at  
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
>       at  
> org 
> .apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java: 
> 703)
>       at org.apache.jk.common.ChannelSocket 
> $SocketConnection.runIt(ChannelSocket.java:895)
>       at org.apache.tomcat.util.threads.ThreadPool 
> $ControlRunnable.run(ThreadPool.java:689)
>       at java.lang.Thread.run(Thread.java:595)
> ]]></log4j:throwable>
> </log4j:event>


Mime
View raw message