[opencms-dev] Problem with databaseexport/import

Helge Wiemann hw at open-your-bytes.de
Tue Mar 11 10:14:15 CET 2008


Hello,

thanks for the help. But nothing worked.

I have looked for these control characters < HEX19 in my manifest... 
nothing in it.
I started mysqld with max_allowed_packet = 64M. Everything keeps the same.

Everytime this error message. I am wondering every time about this 
NullPointerException. What might cause it?

Helge

Pere Torrodellas schrieb:
> Hello,
>
> I had the same problem, and I hope I'll save you the long time it took me to debug.
>
> In the export zip manifest file, there were control characters (i.e. Hex 19)  in some Title and Description properties 
> tags, in places where there should have been a typographical apostrophe (Hex 92). Look for control chars (i.e. < Hex 20) 
> in your manifest.
>
> In my case, these were probably introduced by copy/paste from PDF documents, but I still don't understand why OpenCms 
> made control characters out of them.
>
> Pere
>
> ----- Original Message ----- 
> From: "Helge Wiemann" <hw at open-your-bytes.de>
> To: <opencms-dev at opencms.org>
> Sent: Monday, March 10, 2008 7:34 PM
> Subject: [opencms-dev] Problem with databaseexport/import
>
>
>   
>> Hello alltogether !!
>>
>> I am having a strange problem and needing some help.
>>
>> I got a database-export-zip with approx 388 MB from a productiv-system
>> and now want to import it to a test-system.
>> I worked with the database management and import file from server. Then
>> I chose the ZIP-File which is locally available.
>>
>> Then I got the following error message on the console:
>>
>> Exception in thread "OpenCms: Import from
>> /opt/tomcat/webapps/zanox_test2/WEB-INF/packages/zanox_20080305_1423.zip
>> [f7b6d8fd-eebc-11dc-92b6-856d6f0b6e2c]" java.lang.NullPointerException
>> at
>> com.opencms.legacy.CmsCosImportExportHandler.matches(CmsCosImportExportHandler.java:212)
>>
>> at
>> org.opencms.importexport.CmsImportExportManager.getImportExportHandler(CmsImportExportManager.java:520)
>>
>> at
>> org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:619)
>>
>> at
>> org.opencms.workplace.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:91)
>>
>>
>> Furthermore I am seeing nothing on the screen, only the progress icon of
>> opencms. When I clicked on Details..., I got the green OK-Symbol, but
>> nothing was imported.
>>
>> It seems that OpenCms is thinking about a module import. But I have
>> chosen the database import.
>>
>> What might be the problem here?
>> Thanks for help!
>>
>> Greetings,
>>
>> Helge
>>
>>     
>
>
> --------------------------------------------------------------------------------
>
>
>   
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev 
>>     
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hw.vcf
Type: text/x-vcard
Size: 270 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080311/5b386cda/attachment.vcf>


More information about the opencms-dev mailing list