[opencms-dev] Problems importing version 4 modules

Olli Aro olli_aro at yahoo.co.uk
Tue Jun 3 13:44:01 CEST 2003


I think you cannot upload 4.x modules to version 5. You have to instead
re-create your modules on version 5 and then upload your classes one by one.
Also it is good to compile your classes against the version 5 source before
the upload.

Regards,

Olli

> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org]On Behalf Of Tristan Roddis
> Sent: 03 June 2003 13:10
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Problems importing version 4 modules
>
>
> I am tying to upgrade our system to version 5, but whenever I try to
> import any of our modules created with v.4.7.7 I get the following error:
>
> com.opencms.core.CmsException: 0 Unknown exception. Detailed error:
> CmsException ID: 0.
> root cause was java.lang.NullPointerException
> 	at
> com.opencms.file.CmsImport.getConflictingFilenames(CmsImport.java:343)
> 	at
> com.opencms.file.CmsRegistry.importGetConflictingFileNames(CmsRegi
> stry.java:1761)
> 	at
> com.opencms.workplace.CmsAdminModuleNew.importModule(CmsAdminModul
> eNew.java:285)
> 	at
> com.opencms.workplace.CmsAdminModuleNew.getContent(CmsAdminModuleN
> ew.java:211)
> 	at
> com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.
> java:171)
> 	at
> com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>
> I have enabled directory translation and made the other changes to
> opencms.properties that are recommended in the upgrade doc. I also had a
> quick look at manifest.xml and it all seems fine.
>
> Does anybody have any ideas about what's going on?
>
> Thanks,
>
> -T.
>
> --
> tristan at roddis.org                              http://www.roddis.org
> _______________________________.oOo._________________________________
> "Samizdat software."                             http://www.linux.org
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.486 / Virus Database: 284 - Release Date: 29/05/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.486 / Virus Database: 284 - Release Date: 29/05/2003





More information about the opencms-dev mailing list