Activity Forums Salesforce® Discussions EXCEPTION_THROWN|[EXTERNAL]|System.SerializationException: Not Serializable: System.XmlStreamWriter

  • Ajit

    Member
    April 30, 2016 at 9:28 am

    Hi

    I think this will solve your problem by declaring the XMLStreamWriter wrapper class variable as transient.

  • Parul

    Member
    September 18, 2018 at 7:33 am

    Hi

    Please declare Variable of XMLStreamWriter wrapper class as Transient.

    Note -:   Transient keyword to declare instance variable that can not be saved and should not transmitted as part of view state for visual force page.

    Thanks

  • shariq

    Member
    September 21, 2018 at 12:28 am

    Hi,

    You need to create wrapper containing the values from XmlStreamWriter and then serialize it.

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos