CSGApp encounters a fatal error

I want to see a domains quarantineed messages, but I get the following error:

Oct 14, 2011 1:32:46 PM
CSGApp encounters a fatal error : java.io.UnsupportedEncodingException: ‘US-ASCII’. The error is recorded and we will look at it and fix it soon.
See logs for details:

>>java.io.UnsupportedEncodingException: 'US-ASCII'
>>	at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:52)
>>	at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
>>	at com.sun.mail.handlers.text_plain.getContent(text_plain.java:107)
>>	at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:775)
>>	at javax.activation.DataHandler.getContent(DataHandler.java:522)
>>	at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1419)
>>	at com.comodo.csg.spamengine.spamexperts.utils.MailUtils.hasAttachments(MailUtils.java:173)
>>	at com.comodo.csg.spamengine.spamexperts.utils.MailUtils.convertMessages(MailUtils.java:154)
>>	at com.comodo.csg.spamengine.spamexperts.impl.QuarantineManager.search(QuarantineManager.java:294)
>>	at sun.reflect.GeneratedMethodAccessor585.invoke(Unknown Source)
>>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>	at java.lang.reflect.Method.invoke(Method.java:597)
>>	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
>>	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
>>	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
>>...

Its just one specific domain. Other domains are showing quarantine without an issue.

Yes, thanks, I see.
looks like quotes in encoding in one of the emails caused the issue. We’ll fix it.

Thanks, I already deleted all quarantined messages from that domain so I dont have the same message appearing all over again. But its good that you have now the issue that is causing the error and that you will fix it.

Thanks Kirill, what a great CASG team you all are.

I have another domain with the same problem. :slight_smile:
Is it the same cause?

Yes, that’s wrong way to work with unsupported encoding in Java.
We are preparing fix. Will be in a few days.

Alright thanks.

Fixed

Yes! Now its working!
Thank you very much. :slight_smile:

Kirill,

When I try to list the quarantine messages of a domain, I get the following error:

ERROR 500
Nov 19, 2011 1:36:27 AM CSGApp encounters a fatal error : com.sun.mail.util.DecodingException: BASE64Decoder: Error in encoded stream: needed at least 2 valid base64 characters, but only got 1 before padding character (=), the 10 most recent characters were: “z2QB3AOFV=”. The error is recorded and we will look at it and fix it soon.

Just to let others know:
The problem was fixed in current live version (1.1)

Hello,

A new error message is presented:

ERROR 500
Dec 28, 2011 1:32:35 PM CSGApp encounters a fatal error : com.sun.mail.util.DecodingException: BASE64Decoder: Error in encoded stream: hit EOF while looking for padding characters (=), the 10 most recent characters were: “4tjjjhp=\r\n”. The error is recorded and we will look at it and fix it soon.

Error is fixed and applied to live version