You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by dsmadja <ds...@questel.com> on 2013/07/31 11:36:57 UTC

Re: error while use Workbook write

here my error log 

java.lang.IllegalArgumentException: target
	at
org.apache.poi.openxml4j.opc.PackagePart.addExternalRelationship(PackagePart.java:171)
	at
org.apache.poi.openxml4j.opc.PackagePart.addExternalRelationship(PackagePart.java:148)
	at
org.apache.poi.xssf.usermodel.XSSFHyperlink.generateRelationIfNeeded(XSSFHyperlink.java:111)
	at org.apache.poi.xssf.usermodel.XSSFSheet.write(XSSFSheet.java:2696)
	at org.apache.poi.xssf.usermodel.XSSFSheet.commit(XSSFSheet.java:2673)
	at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:329)
	at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:333)
	at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:173)
	at
com.questel.export.core.xls.ExportXlsService.writeXLSOutputFile(ExportXlsService.java:1388)

please help



--
View this message in context: http://apache-poi.1045710.n5.nabble.com/error-while-use-Workbook-write-tp3205646p5713391.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: error while use Workbook write

Posted by dsmadja <ds...@questel.com>.
thanks you very much,
effectively the probem came from hyperlink



--
View this message in context: http://apache-poi.1045710.n5.nabble.com/error-while-use-Workbook-write-tp3205646p5713398.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: error while use Workbook write

Posted by Dominik Stadler <do...@gmx.at>.
Hi,

You seem to try to add a hyperlink without actual location that the
hyperlink points to, can you post the code which creates the Excel file?

Thanks... Dominik.


On Wed, Jul 31, 2013 at 11:36 AM, dsmadja <ds...@questel.com> wrote:

> here my error log
>
> java.lang.IllegalArgumentException: target
>         at
>
> org.apache.poi.openxml4j.opc.PackagePart.addExternalRelationship(PackagePart.java:171)
>         at
>
> org.apache.poi.openxml4j.opc.PackagePart.addExternalRelationship(PackagePart.java:148)
>         at
>
> org.apache.poi.xssf.usermodel.XSSFHyperlink.generateRelationIfNeeded(XSSFHyperlink.java:111)
>         at
> org.apache.poi.xssf.usermodel.XSSFSheet.write(XSSFSheet.java:2696)
>         at
> org.apache.poi.xssf.usermodel.XSSFSheet.commit(XSSFSheet.java:2673)
>         at
> org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:329)
>         at
> org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:333)
>         at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:173)
>         at
>
> com.questel.export.core.xls.ExportXlsService.writeXLSOutputFile(ExportXlsService.java:1388)
>
> please help
>
>
>
> --
> View this message in context:
> http://apache-poi.1045710.n5.nabble.com/error-while-use-Workbook-write-tp3205646p5713391.html
> Sent from the POI - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>