[opencms-dev] User import

Thomas.Breder at sbroker.de Thomas.Breder at sbroker.de
Wed Jun 18 15:34:00 CEST 2003


Hi,

I tried another way to import my users to OpenCms. First I have made a
database export of testfile.html. I include user and group information to
the export file. Second I have examined the manifest.xml. Third I have
added a new user to the manifest.xml. Therefore I have copied an user
entry, made the <name>userid</name> unique.
Then I have made a zip and have imported it. Importing of groups works
fine, although they are not created. But importing the first user fails and
the following error message occurs.

Can anybody help me?

Importing group Administrators ... not created
Importing group Guests ... not created
Importing group Projectmanager ... not created
Importing group report ... not created
Importing group Users ... not created
Exception java.lang.NullPointerException
at java.util.zip.ZipFile.getInputStream(ZipFile.java:182)
at com.opencms.file.CmsImport.getFileBytes(CmsImport.java:367)
at com.opencms.file.CmsImport.importUsers(CmsImport.java:890)
at com.opencms.file.CmsImport.importResources(CmsImport.java:184)
at
com.opencms.file.genericSql.CmsResourceBroker.importResources(CmsResourceBroker.java:4156)

at com.opencms.file.CmsObject.importResources(CmsObject.java:2167)
at
com.opencms.workplace.CmsAdminDatabaseImportThread.run(CmsAdminDatabaseImportThread.java:74)

Exception com.opencms.core.CmsException: 0 Unknown exception. Detailed
error: CmsException ID: 0.
root cause was java.lang.NullPointerException
at com.opencms.file.CmsImport.importUsers(CmsImport.java:912)
at com.opencms.file.CmsImport.importResources(CmsImport.java:184)
at
com.opencms.file.genericSql.CmsResourceBroker.importResources(CmsResourceBroker.java:4156)

at com.opencms.file.CmsObject.importResources(CmsObject.java:2167)
at
com.opencms.workplace.CmsAdminDatabaseImportThread.run(CmsAdminDatabaseImportThread.java:74)

>-----------
>Root cause:
>java.lang.NullPointerException
> at java.util.zip.ZipFile.getInputStream(ZipFile.java:182)
> at com.opencms.file.CmsImport.getFileBytes(CmsImport.java:367)
> at com.opencms.file.CmsImport.importUsers(CmsImport.java:890)
> at com.opencms.file.CmsImport.importResources(CmsImport.java:184)
> at
com.opencms.file.genericSql.CmsResourceBroker.importResources(CmsResourceBroker.java:4156)

> at com.opencms.file.CmsObject.importResources(CmsObject.java:2167)
> at
com.opencms.workplace.CmsAdminDatabaseImportThread.run(CmsAdminDatabaseImportThread.java:74)

java.lang.NullPointerException
at java.util.zip.ZipFile.getInputStream(ZipFile.java:182)
at com.opencms.file.CmsImport.getFileBytes(CmsImport.java:367)
at com.opencms.file.CmsImport.importUsers(CmsImport.java:890)
at com.opencms.file.CmsImport.importResources(CmsImport.java:184)
at
com.opencms.file.genericSql.CmsResourceBroker.importResources(CmsResourceBroker.java:4156)

at com.opencms.file.CmsObject.importResources(CmsObject.java:2167)
at
com.opencms.workplace.CmsAdminDatabaseImportThread.run(CmsAdminDatabaseImportThread.java:74)


Mit freundlichen Grüßen

Thomas Breder

____________________________________________________

S Broker AG
Information Technology

Tel.: +49 (0)203/289-2120 (Duisburg)
Tel.: +49 (0)611/2044-2120 (Wiesbaden)
Fax: +49 (0)203/289-2099 (Duisburg)
thomas.breder at sbroker.de


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
S Broker AG * Beekstraße 38-42 * 47051 Duisburg
service at sbroker.de * www.sbroker.de

Sitz Wiesbaden * Amtsgericht Wiesbaden * HRB 20591 * BLZ 300 301 00

Vorstand:
Klaus Schöniger (Sprecher)
Dr. Raoul G. Wild
Karl-Martin im Brahm

Vorsitzender des Aufsichtsrats:
Winfried Drewes

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.






More information about the opencms-dev mailing list