You need to sign in to do that
Don't have an account?

error :System.SerializationException: Not Serializable: LIST:Messaging.Email
When I am sending a mail i am getting a this exception.
System. : Not Serializable: LIST:Messaging.Email
Class.SendMailController.getIsSignature: line 280, column 9
The getIsSignature method has no relation with mail
public boolean getIsSignature ()
{
try
{
return this.isSignature;
}
catch(Exception ex)
{
return null;
}
}
I don't know why this error triggers.
can anybody help me. Thanks in advance.
System. : Not Serializable: LIST:Messaging.Email
Class.SendMailController.getIsSignature: line 280, column 9
The getIsSignature method has no relation with mail
public boolean getIsSignature ()
{
try
{
return this.isSignature;
}
catch(Exception ex)
{
return null;
}
}
I don't know why this error triggers.
can anybody help me. Thanks in advance.
i am getting a very similar exception in a seemingly benign piece of code.
System.SerializationException: Not Serializable: System.XmlStreamWriter
Class.pageCon: line 32, column 13
public String selectedPageType {
get{
if (selectedPageType == null) selectedPageType = 'detail';
return selectedPageType; // this is line 32
}
set;
}