Hi
I got that error when I tried to add table into accordion section element (I had used section element) and I didn't try to add content directly to accordion control without section.
my code goes like this ..,
var oSection = new sap.ui.commons.AccordionSection(); // accordion section element
var mytable = document.createElement('table'); // table element dynamically create using javascript
oSection.addContent(mytable); // adding html table to accordion section element.
I'm getting error when I do the above code.
Thanks