Ciao Stefano,

no, I've never seen this before. Tomorrow i'll have a look on it.

BTW, I don't understand why it's a java.lang.Integer instead of a java.lang.Double ... =-O
Ciao,

Vincenzo

Stefano Bagnara wrote:

A couple of days ago I committed into James svn trunk two new spam detection mailets plus helper classes implementing bayesian analysis
techniques: BayesianAnalysis and BayesianAnalysisFeeder.

Ciao Vincenzo,

I've successfully used your mailets since you posted this message but
yesterday the server started logging this at every mail:

08/06/05 17:00:53 INFO  James.Mailet: BayesianAnalysis: Exception:
java.lang.Integer
java.lang.ClassCastException: java.lang.Integer
       at
org.apache.james.util.BayesianAnalyzer.getTokenProbabilityStrengths(Bayesian
Analyzer.java:591)
       at
org.apache.james.util.BayesianAnalyzer.computeSpamProbability(BayesianAnalyz
er.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)


I had no time to debug the problem: have you ever seen this error before?

It probably has to do with something wrong entered my words db (I loaded
your dump and then added a bunch of spam and ham I previously archived).

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to