org.jdom.IllegalAddException: Cannot add duplicate attribute

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by GoogleCodeExporter
, 1 year ago
Cannot add duplicate attribute
via GitHub by patrickzurek
, 1 year ago
Cannot add duplicate attribute
via developpez.com by Unknown author, 1 year ago
The attribute already has an existing parent "table"
org.jdom.IllegalAddException: Cannot add duplicate attribute
at org.jdom.AttributeList.add(AttributeList.java:162)
at org.jdom.AttributeList.addAll(AttributeList.java:254)
at org.jdom.AttributeList.clearAndSet(AttributeList.java:300)
at org.jdom.Element.setAttributes(Element.java:1095)
at org.jdom.Element.setAttributes(Element.java:1107)
at xc.mst.services.impl.service.transformation.XCRecordService.addElement(XCRecordService.java:245)
at xc.mst.services.impl.service.SolrTransformationService.processFieldAttributeFromSubfield(SolrTransformationService.java:4768)
at xc.mst.services.impl.service.SolrTransformationService.process776(SolrTransformationService.java:3087)
at xc.mst.services.transformation.TransformationService.processBibliographicRecord(TransformationService.java:522)
at xc.mst.services.transformation.TransformationService.process(TransformationService.java:308)
at xc.mst.services.GenericMetadataService.process(GenericMetadataService.java:569)
at xc.mst.services.MetadataServiceManager.doSomeWork(MetadataServiceManager.java:80)
at xc.mst.scheduling.WorkerThread.run(WorkerThread.java:74)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.