[opencms-dev] [Bug Report ?, Enhancement Request] database import of a size > 50 MB

arash.kaffamanesh at betasystems.com arash.kaffamanesh at betasystems.com
Mon Aug 1 17:43:49 CEST 2005


Hi,

by importing an exported database zip archive of a size of 80 MB from
OpenCms Beta3 to OpenCms 6.0.0 I'm getting a couple of problems, although I
have alocated enough real memory on my server (it works with exported files
up to ca. 50 MB only), with OpenCms 6.0.0 it beginns the import and I can
find the export file under the package folder on the server, but after that
nothing happens, she says silently Done, without throwing any error
messages.

And if I try to import the same exported zip file to the same instance
(Beta 3), I will get the follwing exception:

Is that a bug or a feature, which would need some enhancements? ;-)

A workaround could be to split the export in my case to many portions and
try to import each of the exproted archives seperately.

Regards,
Arash

Exception org.opencms.main.CmsException: Error creating instance of
import/export handler null [Code 0 - Unknown exception]
Root cause was: java.lang.NullPointerException
at
org.opencms.importexport.CmsImportExportManager.getImportExportHandler(CmsImportExportManager.java:325)

at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:400)

at
org.opencms.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:76)

>-----------
>Root cause:
>java.lang.NullPointerException
> at
com.opencms.legacy.CmsCosImportExportHandler.matches(CmsCosImportExportHandler.java:207)

> at
org.opencms.importexport.CmsImportExportManager.getImportExportHandler(CmsImportExportManager.java:318)

> at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:400)

> at
org.opencms.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:76)

java.lang.NullPointerException
at
com.opencms.legacy.CmsCosImportExportHandler.matches(CmsCosImportExportHandler.java:207)

at
org.opencms.importexport.CmsImportExportManager.getImportExportHandler(CmsImportExportManager.java:318)

at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:400)

at
org.opencms.threads.CmsDatabaseImportThread.run(CmsDatabaseImportThread.java:76)





More information about the opencms-dev mailing list