You are right

I get this:

Wrapped Exception:


java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2882)
        at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.
java:100)
        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390
)
        at java.lang.StringBuffer.append(StringBuffer.java:224)
        at java.io.StringWriter.write(StringWriter.java:84)
        at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:962)
        at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
        at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136)
        at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954)
        at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
        at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136)
        at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954)
        at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301)
        at org.dom4j.io.XMLWriter.write(XMLWriter.java:344)
        at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2261)
        at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2313)
        at com.xpn.xwiki.plugin.packaging.Package.addToZip(Package.java:887)
        at com.xpn.xwiki.plugin.packaging.Package.export(Package.java:332)
        at com.xpn.xwiki.plugin.packaging.PackageAPI.export(PackageAPI.java:194)

        at com.xpn.xwiki.plugin.packaging.PackageAPI.backupWiki(PackageAPI.java:
215)
        at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:264)

How can I solve it?

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de 
Thomas Mortagne
Enviado el: jueves, 26 de marzo de 2009 9:49
Para: XWiki Users
Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8

On Thu, Mar 26, 2009 at 09:44, Hernández Cuchí, Francisco Ricardo
<[email protected]> wrote:
> You are right, I cannot open it (using 7zip). But I rememeber I was able to 
> import earlier backups in other xwiki 1.7. ¿Is there any way to send all that 
> I have in xwiki1.7 into 1.8? or to see what is corrupting the compressed 
> file. Or to make a selective export of spaces?

Looks like the issue is the export from 1.7 which produce corrupted
xar in your case. Do you have any error/warning in the log when you
try to export xar from 1.7 wiki ?

If you want to do selective export you can use
http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication

>
> Thanks,
>
> Francisco
>
>
>
> -----Mensaje original-----
> De: [email protected] [mailto:[email protected]] En nombre de 
> Thomas Mortagne
> Enviado el: jueves, 26 de marzo de 2009 9:34
> Para: XWiki Users
> Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8
>
> Hi,
>
> Looks like your xar is invalid, are you able to open it (rename it to *.zip) ?
>
> On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo
> <[email protected]> wrote:
>> Want to show this from the console:
>>
>> "
>>
>> .XWikiAction                 - Uncaught exception: Error number 11015 in 11: 
>> Exception while importing Wrapped Exception: Unexpected end of ZLIB input 
>> stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception 
>> while importin g
>>
>> Wrapped Exception: Unexpected end of ZLIB input stream
>>
>> ..."
>>
>>
>>
>> It's a file of 10 megs
>>
>>
>>
>> regards
>>
>> ________________________________
>>
>> De: Hernández Cuchí, Francisco Ricardo
>> Enviado el: miércoles, 25 de marzo de 2009 17:38
>> Para: 'XWiki Users'
>> Asunto: Export from 1.7 and import in 1.8
>>
>>
>>
>> Hello everybody,
>>
>>
>>
>> I create an export xar from xwiki 1.7, and when i try to import i tinto 1.8, 
>> I receive that there are no documents in the file. I receive the message 
>> that there are no documents in the specified file.
>>
>>
>>
>> Any suggestion?
>>
>>
>>
>> Thanks in advance,
>>
>>
>>
>> Francisco
>>
>>
>>
>> --
>>
>> Francisco Hernández Cuchí
>>
>> Jefe de Servicios Sistemas de Información
>>
>> tlf: 913496844
>>
>> mail: [email protected] <mailto:[email protected]>
>>
>>
>>
>> **********************************************************************************************
>> IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial 
>> y está dirigido únicamente
>> para el destinatario/s.
>> Si Ud recibe este correo por error, por favor póngase en contacto con su 
>> administrador de correo o con el
>> emisor immediatamente y no difunda su contenido a nadie ni haga copias.
>> *** Este correo ha sido escaneado de virus y contenido malicioso ***
>> **********************************************************************************************
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
> **********************************************************************************************
> IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y 
> está dirigido únicamente
> para el destinatario/s.
> Si Ud recibe este correo por error, por favor póngase en contacto con su 
> administrador de correo o con el
> emisor immediatamente y no difunda su contenido a nadie ni haga copias.
> *** Este correo ha sido escaneado de virus y contenido malicioso ***
> **********************************************************************************************
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y 
está dirigido únicamente 
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su 
administrador de correo o con el 
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to