[opencms-dev] (TypeError): Cannot call method 'zb' of null

yangguang sun.java at 163.com
Thu Jul 14 20:38:00 CEST 2011


 hi,Tobias 


thanks for your answer. I checked the opencms.log . when setup v8.0.1 it cause lots of errors. almost like:


14 July 2011 23:45:46,906 ERROR [.opencms.search.CmsSearchIndex: 619] The project "Offline" configured for search index "Offline project EN (VFS)" does not exist.
14 july 2011 23:45:46,906  INFO [pencms.search.CmsSearchManager:1902] . Search index         : Unable to configure search index "Offline project EN (VFS)" for project "Offline" - search index "Offline project EN (VFS)" has been disabled
14 july 2011 23:45:46,906  INFO [pencms.search.CmsSearchManager:1897] . Search index         : Successfully configured search index "German online help" for project "Online"
14 july 2011 23:45:46,906 ERROR [.opencms.search.CmsSearchIndex: 619] The project "Offline" configured for search index "Gallery Index" does not exist.
14 july 2011 23:45:46,906  INFO [pencms.search.CmsSearchManager:1902] . Search index         : Unable to configure search index "Gallery Index" for project "Offline" - search index "Gallery Index" has been disabled
14 july 2011 23:45:46,937 ERROR [tors.CmsWorkplaceEditorManager:  93] Workplace init: Unable to read editor folder "/system/workplace/editors/", editors disabled!
14 july 2011 23:45:46,937 ERROR [.workplace.CmsWorkplaceManager:1805] Workplace init: Unable to read locales folder "/system/workplace/locales/", locales are disabled!
14 july 2011 23:45:46,937  INFO [.workplace.CmsWorkplaceManager:1234] . Workplace config     : vfs access initialized
14 july 2011 23:45:46,937 ERROR [.workplace.CmsWorkplaceManager:1241] Workplace temporary file project does not yet exist!
or
14 ?? 2011 23:45:47,640 ERROR [de.configuration.CmsADEManager: 564] Unknown resource type name "sitemap_config" requested.
org.opencms.loader.CmsLoaderException: Unknown resource type name "sitemap_config" requested.
	at org.opencms.loader.CmsResourceManager.getResourceType(CmsResourceManager.java:856)
	at org.opencms.ade.configuration.CmsADEManager.initialize(CmsADEManager.java:551)
	at org.opencms.main.OpenCmsCore.getADEManager(OpenCmsCore.java:373)
	at org.opencms.main.OpenCms.getADEManager(OpenCms.java:174)
	at org.opencms.staticexport.CmsStaticExportManager.getRfsName(CmsStaticExportManager.java:1211)
	at org.opencms.staticexport.CmsStaticExportManager.getRfsName(CmsStaticExportManager.java:1191)
	at org.opencms.staticexport.A_CmsStaticExportHandler.scrubResource(A_CmsStaticExportHandler.java:345)
	at org.opencms.staticexport.A_CmsStaticExportHandler.scrubExportFolders(A_CmsStaticExportHandler.java:173)
	at org.opencms.staticexport.A_CmsOnDemandStaticExportHandler$1.run(A_CmsOnDemandStaticExportHandler.java:97)
	at java.lang.Thread.run(Unknown Source)
I set max_allowed_packet=64M in MySQL , and set maximum memory to 512M in tomcat6.0.32.  but it still cause lots of errors.
I checked all I know, but no idea with it. but I setup v8.0.0 in this environment ,it works and there is no errors.

As mentioned above,when setup finished , though it cause lots of errors , OpenCms worked normal except one error I found . 

the error is serious ,when i use ADE to modify "Template columns" property of "sites/default/index.html" it cause (TypeError): Cannot call method 'zb' of null. and can not modify it.

I think ADE error Caused by setup errors.  is there some suggestion for me ?  please
thanks for reading poor english.
thanks and best regards. 


>Message: 8
>Date: Thu, 14 Jul 2011 09:24:15 +0200
>From: Tobias Herrmann <t.herrmann at alkacon.com>
>Subject: Re: [opencms-dev] (TypeError): Cannot call method 'zb' of
>	null
>To: The OpenCms mailing list <opencms-dev at opencms.org>
>Message-ID: <4E1E999F.2020608 at alkacon.com>
>Content-Type: text/plain; charset="x-gbk"
>
>Hi,
>
>please have look in the log file if there are any previous errors that may be related to the problem. The stack trace you supplied was generated by the client and is usually caused by an preceding error on the server side.
>
>Regards, Tobias
>
>--
>
>Alkacon Software GmbH - The OpenCms Experts
>
>http://www.alkacon.com  --  http://www.opencms.org
>
>
>Am 14.07.2011 05:56, schrieb yangguang:
>> hi
>>
>> yesterday I re-installedv8.0.1 . everything goes well except one .
>>
>> when I use the ADE to modify the sites/defaults/index.html's properties ->Template columns , it is in the wrong with the error of "(TypeError): Cannot call method 'zb' of null".
>> in the opencms.log is :
>> 14 Jul 2011 09:32:12,468 ERROR [ org.opencms.gwt.CmsLogService: 66] Client LOG (Host 127.0.0.1, Address 127.0.0.1, Ticket 1310607132459): (TypeError): Cannot call method 'zb' of null
>> Unknown.Pe(Unknown Source)
>> Unknown.nyb(Unknown Source)
>> Unknown.gdc(Unknown Source)
>> Unknown.Odc(Unknown Source)
>> Unknown.OMb(Unknown Source)
>> Unknown.JMb(Unknown Source)
>> Unknown.vOb(Unknown Source)
>> Unknown.iic(Unknown Source)
>> Unknown.fid(Unknown Source)
>> Unknown.Xnd(Unknown Source)
>>
>> I modify the other folder's property , it works well . just only the simple file occurs error.
>>
>> what should I do ? thanks
>>
>> --
>>
>>
>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20110714/5655f56b/attachment-0001.htm 
>
>------------------------------
>
>Message: 9
>Date: Thu, 14 Jul 2011 09:29:36 +0200
>From: Tobias Herrmann <t.herrmann at alkacon.com>
>Subject: Re: [opencms-dev] Extending A_CmsAdeGalleryWidget
>To: The OpenCms mailing list <opencms-dev at opencms.org>
>Message-ID: <4E1E9AE0.1040206 at alkacon.com>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi Leo,
>
>what exactly did you do to extend the A_CmsAdeGalleryWidget? I would think it should work properly if you copy the CmsAdeDownloadGalleryWidget and only replace the method getGalleryTypes returning a comma separated list of the resource type names you want to make available.
>
>Greetings, Tobias
>
>--
>
>Alkacon Software GmbH - The OpenCms Experts
>
>http://www.alkacon.com  --  http://www.opencms.org
>
>
>m 07.07.2011 10:55, schrieb lruggeri at maticad.it:
>>
>> Hi,
>>
>> i'm trying to create a widget to select a custom content type from a custom gallery. I extended A_CmsAdeGalleryWidget like in CmsAdeDownloadGalleryWidget.
>>
>> When I open the gallery widget in xml editor, the widget shows up correctly; I can select the galleries but when click on the "select" icon on the items in the galleries nothing happens. I looked for errors with Firebug but there are none. Only the "delete" icon seems to work.
>>
>> Any suggestion?
>>
>> Thanks, Leo
>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20110714/6ac12ca0/attachment-0001.htm 
>
>------------------------------
>
>Message: 10
>Date: Thu, 14 Jul 2011 10:20:17 +0200
>From: <lruggeri at maticad.it>
>Subject: [opencms-dev] R:  Extending A_CmsAdeGalleryWidget
>To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
>Message-ID: <003701cc41fe$dd785050$9868f0f0$@it>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi Tobias,
>
>You?re right. I finally found the problem.
>
> 
>
>The call to CmsWorkplaceMessages.getResourceTypeDescription() in
>CsmGalleryService.buildTypesList() caused an exception because I omitted the
>info attribute in <newresource> tag of the resource type inside the gallery.
>
>Thanks for your help.
>
> 
>
>Bye, Leo
>
> 
>
>Da: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
>Per conto di Tobias Herrmann
>Inviato: gioved? 14 luglio 2011 09:30
>A: The OpenCms mailing list
>Oggetto: Re: [opencms-dev] Extending A_CmsAdeGalleryWidget
>
> 
>
>Hi Leo,
>
>what exactly did you do to extend the A_CmsAdeGalleryWidget? I would think
>it should work properly if you copy the CmsAdeDownloadGalleryWidget and only
>replace the method getGalleryTypes returning a comma separated list of the
>resource type names you want to make available.
>
>Greetings, Tobias
>
>
>
> 
>--
> 
>Alkacon Software GmbH - The OpenCms Experts
> 
>http://www.alkacon.com  --  http://www.opencms.org
> 
>
>m 07.07.2011 10:55, schrieb lruggeri at maticad.it: 
>
>Hi,
>
>i?m trying to create a widget to select a custom content type from a custom
>gallery. I extended A_CmsAdeGalleryWidget like in
>CmsAdeDownloadGalleryWidget.
>
>When I open the gallery widget in xml editor, the widget shows up correctly;
>I can select the galleries but when click on the ?select? icon on the items
>in the galleries nothing happens. I looked for errors with Firebug but there
>are none. Only the ?delete? icon seems to work.
>
> 
>
>Any suggestion?
>
>Thanks, Leo
>
> 
> 
> 
>_______________________________________________
>This mail is sent to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://lists.opencms.org/mailman/listinfo/opencms-dev
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://lists.opencms.org/pipermail/opencms-dev/attachments/20110714/d739da70/attachment-0001.htm 
>
>------------------------------
>
>_______________________________________________
>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
>
>End of opencms-dev Digest, Vol 353, Issue 4
>*******************************************






--

*******************************************
杨光   
Tel:+86 13610812320
Email:sun.java at 163.com
QQ:53892777
http://www.ursun.cn
******************************************* 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110715/3b8b7f5c/attachment.htm>


More information about the opencms-dev mailing list