Reflectdelegatingmethodaccessorimplinvokedelegatingmet

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: n BayesianAnalysis Got this exception for every incoming mail: 02/08/05 00:39:25 INFO James.Mailet: BayesianAnalysis: Exception: java.lang.Integer java.lang.ClassCastException: java.lang.Integer at org.apache.james.util.BayesianAnalyzer.getTokenProbabilityStrengths(BayesianAnalyzer.java:591) at org.apache.james.util.BayesianAnalyzer.computeSpamProbability(BayesianAnalyzer.java:340) at org.apache.james.transport.mailets.BayesianAnalysis.service(BayesianAnalysis.java:289) at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:407) at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:460) at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:369) at java.lang.Thread.run(Unknown Source) If I clean my spam/ham db the exceptions disappears but they start again when the spam/ham db become large. My bayesiananalysis_spam contains 200000 rows. The following are the spam tokens with higher "occurrences". +---------------------------+-------------+ | token | occurrences | +---------------------------+-------------+ | 3D | 82151 | | a | 59953 | | the | 45295 | | FONT | 42771 | | Content-Type | 39058 | | to | 36626 | | com | 32902 | | http | 32886 | | of | 32504 | | font | 31803 | | and | 31577 | | Content-Transfer-Encoding | 31576 | | p | 29746 | | text | 29482 | | in | 29418 | | it | 28498 | | br | 28037 | | DIV | 27431 | LoadBundleTag$BundleMapWrapper.equals My application crashes, because: Unsupported operationException. Thread [SocketListener0-9] (Suspended (exception UnsupportedOperationException)) LoadBundleTag$BundleMapWrapper.equals(Object) line: 115 HashSessionManager$Session(AbstractSessionManager$Session).setAttribute(String, Object) line: 805 SessionMap.setAttribute(String, Object) line: 50 SessionMap(AbstractAttributeMap).put(Object, Object) line: 104 LoadBundleTag.doStartTag() line: 50 page.tag line: 4 page.tag line: not available page.tag line: 3 login.jsp line: 5 login.jsp line: 5 login_jsp(HttpJspBase).service(HttpServletRequest, HttpS...
View Full Document

This document was uploaded on 10/12/2012.

Ask a homework question - tutors are online