File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Exception" Watch "Exception" New topic
Author

Exception

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi, I do not know why this exception occurs but replaced my code with the original jforum 2.1.8 and is still happening. Someone you miss this? or could it know it?


20:00:33,667 ERROR [ExceptionWriter ] java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
at net.jforum.context.web.WebRequestContext.getParameter(WebRequestContext.java:331)
at net.jforum.context.web.WebRequestContext.getModule(WebRequestContext.java:457)
at net.jforum.JForum.service(JForum.java:167)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at net.jforum.util.legacy.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)

URL is: /TurismoWeb/rss/forums.page?null
[originally posted on jforum.net by ocb]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
This is actually a bug in the error reporting code... see your app server log or use the patch here:

http://www.coderanch.com/t/578221 #19661

to fix it and see what the real error is.
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi, thanks for answering, but that's not my problem, the exception is throws in /forums/list.page and
the forum works perfectly, but it throws the exception, before seeing your response I tested my web project in another computer, a laptop, and this dont throws exception. The only difference between the two computers is the version of java. The computer that throws the exception has the java version 6update13, the other computer that works well has installed the java version 6update7. Could this be the problem?.
[originally posted on jforum.net by ocb]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
All that proves is that the underlying exception which is hidden by the bug in the error code is not occurring either under different JVMs or some config is different between the machines.

That error message is from a problem in the way that jforum handles parameter parsing which surfaces in error condition handling.
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hey, thanks, I guess that the old version of Java that doesn't catch the exception. Only occurs at startup in / forums / list.page, but the forum works fine. I guess that will have to remain so, because the patch
http://www.coderanch.com/t/578221 #19661 in this case does not work. Thank you.
[originally posted on jforum.net by ocb]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception
 
Similar Threads
please help on this error.thanks
Strange null exception on Tomcat 6.0.18
java.sql.BatchUpdateException: IO Error: Socket read timed out error
request.getParameterValues not working
Apache Tomcat error... org.apache.catalina.core.StandardWrapperValve invoke .. Help Please