AnsweredAssumed Answered

Labs 3.0/Linux 'can't create site'

Question asked by amabilis on Sep 10, 2008
Latest reply on Oct 15, 2008 by monk
Hi all,

when I'm using the /share application I can't create a new site. After filling in name and description the app stops responding with the error "can't create site".

The site name itself is a simple 5 character word: atoll. The error messages from the log (catalina.out) follows..

Thanks for help,

Cheers,

Ama


INFO: Server startup in 113919 ms                                                                                                      
11:07:22,206  INFO  [web.site.FrameworkHelper] CachedFileSystem started                                                                
11:09:43,700 User:admin ERROR [freemarker.runtime]                                                                                     
                                                                                                                                       
Expression jsonUtils.encodeJSONString(x) is undefined on line 2, column 23 in org/alfresco/repository/site/site.lib.ftl.               
The problematic instruction:                                                                                                           
———-                                                                                                                             
==> ${site.sitePreset} escaped ${jsonUtils.encodeJSONString(site.sitePreset)} [on line 5, column 41 in org/alfresco/repository/site/site
.lib.ftl]                                                                                                                              
in user-directive siteLib.siteJSON [on line 5, column 17 in org/alfresco/repository/site/sites.get.json.ftl]                          
———-                                                                                                                             
                                                                                                                                       
Java backtrace for programmers:                                                                                                        
———-                                                                                                                             
freemarker.core.InvalidReferenceException: Expression jsonUtils.encodeJSONString(x) is undefined on line 2, column 23 in org/alfresco/re
pository/site/site.lib.ftl.                                                                                                            
        at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)                                                       
        at freemarker.core.Expression.getStringValue(Expression.java:118)                                                              
        at freemarker.core.Expression.getStringValue(Expression.java:93)                                                               
        at freemarker.core.DollarVariable.accept(DollarVariable.java:76)                                                               
        at freemarker.core.Environment.visit(Environment.java:208)                                                                     
        at freemarker.core.MixedContent.accept(MixedContent.java:92)                                                                   
        at freemarker.core.Environment.visit(Environment.java:208)                                                                     
        at freemarker.core.EscapeBlock.accept(EscapeBlock.java:84)                                                                     
        at freemarker.core.Environment.visit(Environment.java:208)                                                                     
        at freemarker.core.Macro$Context.runMacro(Macro.java:164)                                                                      
        at freemarker.core.Environment.visit(Environment.java:601)                                                                     
        at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)                                                                    
        at freemarker.core.Environment.visit(Environment.java:208)                                                                     
        at freemarker.core.MixedContent.accept(MixedContent.java:92)                                                                   
        at freemarker.core.Environment.visit(Environment.java:208)                                                                     
        at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)                                                       
        at freemarker.core.Environment.visit(Environment.java:415)                                                                     
        at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)                                                                
        at freemarker.core.Environment.visit(Environment.java:208)
… continues…     
                          

Outcomes