[opencms-dev] Picture Gallery Export Trouble (v5.0 CVS 25/11/2002)

Dimitri Bougoulias D.Bougoulias at ieee.org
Wed Nov 27 22:49:42 CET 2002


Hello everybody,

I'm experimenting with the current CVS version of v5.0 (default branch -
checked out 25 November 2002)

My Environment:

Server:
SuSE Linux 8.1 
SUN j2se 1.4.1 (build 1.4.1_01-b01)
tomcat 4.1.12

Client:
Windows XP Proffessional Edition with Service Pack1 (IE
6.0.2800.1106.xpsp1)

In order to isolate the problem I performed fresh OpenCMS install with
default options.

Steps:
1. Login Admin
2. Offline project -> Administration View -> Picture Galleries -> create
new: eeae_common (owned by the Administrators  group)
3. Publish -> OK
4. Upload zip with a few  gifs and jpegs
5. Publish again

Message:
publishing...
/system/galleries/pics/eeae_common/arrow3.gif
/system/galeries/pics/..........

Modal Dialog: 
Error
A Runtime Error has occured
Do you wish to Debug?

Line 47 
Error: Object Expected


In /var/tomcat4/webapps/opencms/export/pics/eeae_common/ all pics are
there but truncated to ZERO length!!!

opencms.log:

[27.11.2002 22:46:21] <opencms_info> [CmsClassManager] clearing class
instance cache.
[27.11.2002 22:46:21] <opencms_staticexport> [CmsStaticExport] Starting
the static export.
[27.11.2002 22:46:22] <opencms_staticexport> [CmsStaticExport] got 25
links to start with.
[27.11.2002 22:46:22] <opencms_staticexport> [CmsStaticExport]  export
/system/galleries/pics/eeae_c
ommon/arrow3.gif failed : java.lang.NullPointerException
        at
com.opencms.file.CmsRequestContext.getSiteRoot(CmsRequestContext.java:50
9)
        at
com.opencms.file.CmsRequestContext.initEncoding(CmsRequestContext.java:5
64)
        at
com.opencms.file.CmsRequestContext.init(CmsRequestContext.java:210)
        at com.opencms.file.CmsObject.init(CmsObject.java:2237)
        at
com.opencms.file.CmsObject.getCmsObjectForStaticExport(CmsObject.java:15
86)
        at
com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:689)
        at
com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:246)
        at
com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsR
esourceBroker.jav
a:4635)
        at
com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1557)
        at
com.opencms.file.CmsObject.publishProject(CmsObject.java:2491)
        at
com.opencms.workplace.CmsAdminPublishProjectThread.run(CmsAdminPublishPr
ojectThread.java:
73)

[27.11.2002 22:46:22] <opencms_staticexport> [CmsStaticExport]  export
/system/galleries/pics/eeae_c
ommon/arrowback.gif failed : java.lang.NullPointerException
        at
com.opencms.file.CmsRequestContext.getSiteRoot(CmsRequestContext.java:50
9)
        at
com.opencms.file.CmsRequestContext.initEncoding(CmsRequestContext.java:5
64)
        at
com.opencms.file.CmsRequestContext.init(CmsRequestContext.java:210)
        at com.opencms.file.CmsObject.init(CmsObject.java:2237)
        at
com.opencms.file.CmsObject.getCmsObjectForStaticExport(CmsObject.java:15
86)
        at
com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:689)
........
.......
[27.11.2002 22:46:22] <opencms_staticexport> [CmsStaticExport] Nothing
found to export.
[27.11.2002 22:46:22] <flex_cache> [FlexCache] Complete cache cleared -
clear() called
------------------------------------------------------------

I have tried that repeatedly with different number of pictures and
galleries - even fresh installations.
It occurred in all cases!

Thanks in advance,

Dimitri






More information about the opencms-dev mailing list