<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Classes not Serializable by mistake in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/classes-not-serializable-by-mistake/m-p/107660#M75417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to serialize some queries, I found that there are a classes that do not implement Serializable, although there does not seem to be a reason not to. Also, there are classes implementing Serializable which contain fields that are not. Just a few examples:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Classes that implement Serializable but contain non-serializable fields:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.impl.cmd.SetUserPictureCmd, field 'picture' -&amp;gt; org.activiti.engine.identity.Picture&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.impl.persistence.entity.TaskEntity, field 'taskDefinition' -&amp;gt; org.activiti.engine.impl.task.TaskDefinition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.impl.pvm.runtime.ExecutionImpl, field 'startingExecution' -&amp;gt; org.activiti.engine.impl.pvm.runtime.StartingExecution&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Classes that have a "serialVersionUID" but do not implement Serializable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.impl.variable.BooleanType.class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.impl.variable.NullType.class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;… and almost all the other classes in that package, some not having a "serialVersionUID".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All "VariableType"s should implement Serializable, because it is referenced, for example, in the serializable class org.activiti.engine.impl.persistence.entity.HistoricVariableUpdateEntity…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd open a JIRA-Issue for this, if no one disagrees that there should be an effort done to remedy this 'situation'.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Sep 2012 11:06:06 GMT</pubDate>
    <dc:creator>vrentschler</dc:creator>
    <dc:date>2012-09-03T11:06:06Z</dc:date>
    <item>
      <title>Classes not Serializable by mistake</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/classes-not-serializable-by-mistake/m-p/107660#M75417</link>
      <description>Hi,Trying to serialize some queries, I found that there are a classes that do not implement Serializable, although there does not seem to be a reason not to. Also, there are classes implementing Serializable which contain fields that are not. Just a few examples:Classes that implement Serializable b</description>
      <pubDate>Mon, 03 Sep 2012 11:06:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/classes-not-serializable-by-mistake/m-p/107660#M75417</guid>
      <dc:creator>vrentschler</dc:creator>
      <dc:date>2012-09-03T11:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Classes not Serializable by mistake</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/classes-not-serializable-by-mistake/m-p/107661#M75418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Open a jira for this, containing all classes involved and where they are serialized, that would help a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 14:38:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/classes-not-serializable-by-mistake/m-p/107661#M75418</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-09-27T14:38:04Z</dc:date>
    </item>
  </channel>
</rss>

