users@glassfish.java.net

IllegalStateException in v2

From: Paul Sterk <Paul.Sterk_at_Sun.COM>
Date: Thu, 20 Nov 2008 16:12:00 -0800

Team,

I am seeing these stack traces in the server.log file. Any suggestions
for what I can check?

[#|2008-11-20T12:29:08.347-0800|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=21;_ThreadName=htt
pWorkerThread-80-1;|
java.lang.IllegalStateException
         at
org.apache.coyote.tomcat5.CoyoteResponseFacade.sendError(CoyoteResponseFacade.java:419)
         at
com.ecyrd.jspwiki.attachment.AttachmentServlet.doGet(AttachmentServlet.java:342)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
         at
com.ecyrd.jspwiki.dav.WebdavServlet.service(WebdavServlet.java:152)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
         at
com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:100)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
         at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
         at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
         at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
         at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:96)
         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
         at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
         at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
         at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
         at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
         at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
         at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at
com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)



Second type of stack trace:


[#|2008-11-20T12:34:58.442-0800|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=24;_ThreadNam
e=httpWorkerThread-80-0;_RequestID=c1988d6a-e73b-4ce2-b316-6c7f76e0594c;|ApplicationDispatcher[]
PWC1231: Servlet.ser
vice() for servlet jsp threw exception
java.lang.NumberFormatException: For input string: "48?page=GapRules"
         at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:456)
         at java.lang.Integer.parseInt(Integer.java:497)
         at
org.apache.jsp.templates.brushed.InfoTab_jsp._jspService(InfoTab_jsp.java from
:299)
         at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
         at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
         at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
         at
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
         at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
         at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:660)
         at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:578)
         at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:997)
         at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:671)
         at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:83)
         at
org.apache.jsp.templates.brushed.PageContent_jsp._jspx_meth_wiki_Include_2(PageContent_jsp.java
from :354)
         at
org.apache.jsp.templates.brushed.PageContent_jsp._jspx_meth_wiki_Tab_2(PageContent_jsp.java
from :325)
         at
org.apache.jsp.templates.brushed.PageContent_jsp._jspService(PageContent_jsp.java
from :178)
         at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
         at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
         at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
         at
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
         at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
         at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:660)
         at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:578)
         at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:997)
         at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:671)
         at com.ecyrd.jspwiki.tags.ContentTag.doEndTag(ContentTag.java:126)
         at
org.apache.jsp.templates.brushed.ViewTemplate_jsp._jspx_meth_wiki_Content_0(ViewTemplate_jsp.java
from :32
4)
       at
org.apache.jsp.templates.brushed.ViewTemplate_jsp._jspService(ViewTemplate_jsp.java
from :110)
         at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
         at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
         at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
         at
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
         at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
         at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:660)

-- 
Paul
GlassFish Community Manager