[opencms-dev] Picture Gallery Export Trouble (v5.0 CVS 25/11/2002)
Alexander Kandzior
alex at opencms.org
Tue Dec 3 10:45:17 CET 2002
Dimitri,
this might be a bug. I will have to verify this. I'll fix it ASAP.
Best Regards,
Alex.
Alexander Kandzior
OpenCms Group / Alkacon Software
> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org
> [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of
> Dimitri Bougoulias
> Sent: Wednesday, November 27, 2002 10:50 PM
> To: opencms-dev at opencms.com
> Subject: [opencms-dev] Picture Gallery Export Trouble (v5.0
> CVS 25/11/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(CmsRequestConte
> xt.java:50
> 9)
> at
> com.opencms.file.CmsRequestContext.initEncoding(CmsRequestCont
> ext.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(CmsObje
> ct.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.exportStaticReso
> urces(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(CmsAdmi
> nPublishPr
> 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(CmsRequestConte
> xt.java:50
> 9)
> at
> com.opencms.file.CmsRequestContext.initEncoding(CmsRequestCont
> ext.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(CmsObje
> ct.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