org.simpleframework.xml.core.PersistenceException: Duplicate annotation of name 'effects' on @org.simpleframework.xml.ElementListUnion(value=[@org.simpleframework.xml.ElementList(entry=attraction, inline=false, data=false, name=effects, type=class net.keigwin.entities.Attraction, required=true, empty=true), @org.simpleframework.xml.ElementList(entry=repulsion, inline=false, data=false, name=effects, type=class net.keigwin.entities.Repulsion, required=true, empty=true)]) on field 'mEffects' private java.util.List net.keigwin.entities.Environment.mEffects

Stack Overflow | Kevin K. | 5 months ago
  1. 0

    SimpleXml: How to set name when using ElementUnionList

    Stack Overflow | 5 months ago | Kevin K.
    org.simpleframework.xml.core.PersistenceException: Duplicate annotation of name 'effects' on @org.simpleframework.xml.ElementListUnion(value=[@org.simpleframework.xml.ElementList(entry=attraction, inline=false, data=false, name=effects, type=class net.keigwin.entities.Attraction, required=true, empty=true), @org.simpleframework.xml.ElementList(entry=repulsion, inline=false, data=false, name=effects, type=class net.keigwin.entities.Repulsion, required=true, empty=true)]) on field 'mEffects' private java.util.List net.keigwin.entities.Environment.mEffects
  2. 0

    SimpleXML Duplicate annotation of name 'field'

    Stack Overflow | 6 months ago | user1734209
    org.simpleframework.xml.core.PersistenceException: Duplicate annotation of name 'field' on @org.simpleframework.xml.ElementListUnion(value=[@org.simpleframework.xml.ElementList(data=false, empty=true, entry=, inline=false, name=, required=true, type=class com.example.test.client.formdata.model.CltDataTypeLocation), @org.simpleframework.xml.ElementList(data=false, empty=true, entry=, inline=false, name=, required=true, type=class com.example.test.client.formdata.model.CltDataTypeUser), @org.simpleframework.xml.ElementList(data=false, empty=true, entry=, inline=false, name=, required=true, type=class com.example.test.client.formdata.model.CltDataTypeText)]) on field 'field' protected java.util.List com.example.test.client.formdata.model.Formroot$Auto.field
  3. 0

    Android, org.simpleframework.xml Persistence Exception, Element 'foo' is already used

    Stack Overflow | 4 years ago | cjackson
    org.simpleframework.xml.core.PersistenceException: Element 'album' is already used with @org.simpleframework.xml.ElementList(inline=false, name=album, entry=, data=false, empty=true, required=true, type=void) on field 'albums' private java.util.List us.blah.sonar.xsd.simple.AlbumList.albums at line 5
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Atom Feeds parsing with Simple XML and Retrofit in Android

    Stack Overflow | 2 years ago | takesavy
    org.simpleframework.xml.core.PersistenceException: Element 'link' is already used with @org.simpleframework.xml.Element(data=false, name=link, required=false, type=void) on field 'link' public com.gtd.isnb.comm.retrofit.atom.EntryElement$Link com.gtd.isnb.comm.retrofit.atom.EntryElement.link at line 1
  6. 0

    Sardine android webdav

    Stack Overflow | 4 years ago | urza57
    org.simpleframework.xml.core.PersistenceException: Element 'propstat' is already used with @org.simpleframework.xml.Element(data=false, name=, required=true, type=void) on field 'propstat' protected de.aflx.sardine.model.Propstat de.aflx.sardine.model.Response.propstat at line 1 02-23 13:39:52.132: W/System.err(1797): at org.simpleframework.xml.core.Variable$Adapter.read(Variable.java:484) 02-23 13:39:52.132: W/System.err(1797): at org.simpleframework.xml.core.Variable$Adapter.read(Variable.java:462) 02-23 13:39:52.132: W/System.err(1797): at org.simpleframework.xml.core.Composite.readVariable(Composite.java:623) 02-23 13:39:52.132: W/System.err(1797): at org.simpleframework.xml.core.Composite.readInstance(Composite.java:573) 02-23 13:39:52.132: W/System.err(1797): at org.simpleframework.xml.core.Composite.readUnion(Composite.java:549) 02-23 13:39:52.132: W/System.err(1797): at org.simpleframework.xml.core.Composite.readElement(Composite.java:532)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.simpleframework.xml.core.PersistenceException

      Duplicate annotation of name 'effects' on @org.simpleframework.xml.ElementListUnion(value=[@org.simpleframework.xml.ElementList(entry=attraction, inline=false, data=false, name=effects, type=class net.keigwin.entities.Attraction, required=true, empty=true), @org.simpleframework.xml.ElementList(entry=repulsion, inline=false, data=false, name=effects, type=class net.keigwin.entities.Repulsion, required=true, empty=true)]) on field 'mEffects' private java.util.List net.keigwin.entities.Environment.mEffects

      at org.simpleframework.xml.core.StructureBuilder.union()
    2. Simple XML
      StructureBuilder.union
      1. org.simpleframework.xml.core.StructureBuilder.union(StructureBuilder.java:225)
      1 frame