https://issues.apache.org/bugzilla/show_bug.cgi?id=50154

--- Comment #4 from Trey Hyde <[email protected]> 2010-11-05 18:16:12 
EDT ---
The file attached will cause this.   To recreate this file.  Open a new sheet,
add an image.   Create a second sheet.  Right click on the image in the first
sheet and add a hyperlink.   Make it a link to an "Document" -> "Anchor" and
select the other sheet.

[org.apache.poi.openxml4j.opc.PackageRelationshipCollection] Cannot convert
#'Another Sheet'!A1 in a valid relationship URI-> ignored
java.net.URISyntaxException: Illegal character in fragment at index 9:
#'Another Sheet'!A1
        at java.net.URI$Parser.fail(URI.java:2809)
        at java.net.URI$Parser.checkChars(URI.java:2982)
        at java.net.URI$Parser.parse(URI.java:3028)
        at java.net.URI.<init>(URI.java:578)
        at
org.apache.poi.openxml4j.opc.PackageRelationshipCollection.parseRelationshipsPart(PackageRelationshipCollection.java:363)
        at
org.apache.poi.openxml4j.opc.PackageRelationshipCollection.<init>(PackageRelationshipCollection.java:156)
        at
org.apache.poi.openxml4j.opc.PackageRelationshipCollection.<init>(PackageRelationshipCollection.java:124)
        at
org.apache.poi.openxml4j.opc.PackagePart.loadRelationships(PackagePart.java:527)
        at
org.apache.poi.openxml4j.opc.PackagePart.<init>(PackagePart.java:112)
        at org.apache.poi.openxml4j.opc.PackagePart.<init>(PackagePart.java:83)
        at
org.apache.poi.openxml4j.opc.PackagePart.<init>(PackagePart.java:128)
        at
org.apache.poi.openxml4j.opc.ZipPackagePart.<init>(ZipPackagePart.java:78)
        at
org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:187)
        at
org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:592)
        at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:201)
        at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:178)
        at
org.apache.poi.openxml4j.opc.OPCPackage.openOrCreate(OPCPackage.java:240)
        at
com.centraldesktop.office.metadata.OpenXMLMDWriter.save(OpenXMLMDWriter.java:33)
        at com.centraldesktop.office.metadata.Main.main(Main.java:130)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.simontuffs.onejar.Boot.run(Boot.java:340)
        at com.simontuffs.onejar.Boot.main(Boot.java:166)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to