Hi all,

I've got a spreadsheet here which I'm trying to add a comment to. But when I do 
so, I get the error message:

        org.apache.poi.openxml4j.exceptions.InvalidOperationException: A part 
with the name '/xl/comments1.xml' already exists : Packages shall not contain 
equivalent part names and package implementers shall neither create nor 
recognize packages with equivalent part names. [M1.12]

Unfortunately I can't recreate the problem with a different spreadsheet; I have 
no idea how it got into the state it did. But looking under the hood, I see a 
sheet named 'sheet2.xml' which is mapped, via the 'sheet2.xml.rels' file, to a 
comments sheet named 'comments1.xml'. Could this be confusing POI? Does POI 
expect comments and sheet numbers to match up exactly?

Any ideas as to what to do about this?

Thanks,

Alex Panayotopoulos, Software Engineer
ViaTelemetry Limited


Enabling technology for the Brulines Group plc

Buchan House  Carnegie Campus  Dunfermline  KY11 8PL  UK
Office: +44 (0) 1383 748000    Telephone: +44 (0) 1383 748097
Website: www.viatelemetry.com

If you wish to view Brulines Group email disclaimer please click here


<font size="2" face="Verdana" color="grey">If you wish to view Brulines Group 
email disclaimer please <a 
href="http://www.brulines.com/investors/emaildisclaimer.aspx";>click 
here</a></font>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to