4 Replies Latest reply on May 17, 2007 10:16 AM by ajohnson1200

    Document Import produces system error

      I can't seem to do a document import to Clearspace 1.0.1 without getting a system error like this as a result:

      Status Code: 500

      Exception Type: null

      Error Message:

      Request URI: /clearspace/admin/import-update-tags!input.jspa

      Stack Trace:

       

         

      • freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)

         

      • freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)

         

      • freemarker.core.Dot._getAsTemplateModel(Dot.java:78)

         

      • freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

         

      • freemarker.core.NumericalBuiltins$NumberBuiltIn._getAsTemplateModel(NumericalBuiltins.java:66)

         

      • freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

         

      • freemarker.core.Expression.getStringValue(Expression.java:93)

         

      • freemarker.core.DollarVariable.accept(DollarVariable.java:76)

         

      • freemarker.core.Environment.visit(Environment.java:196)

         

      • freemarker.core.MixedContent.accept(MixedContent.java:92)

         

      • freemarker.core.Environment.visit(Environment.java:196)

         

      • freemarker.core.Environment.process(Environment.java:176)

         

      • freemarker.template.Template.process(Template.java:232)

         

      • com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:153)

         

      • com.jivesoftware.community.web.webwork.FreemarkerResult.doExecute(FreemarkerResult.java:124)

      ...

      ...

         

      • org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

         

      • java.lang.Thread.run(Thread.java:595)

       

      1. freemarker.core.InvalidReferenceException: Expression community is undefined on line 26, column 106 in template/clearspace/admin/import-directory-updatetags.ftl.

       

      This seems to happen regardless of the import parameters used. The documents do get imported as drafts though.

        • Re: Document Import produces system error

          Hi jahonen,

           

          This is a bug in one of our template files in the admin console. This should be a pretty simple fix and will be included in 1.0.2 coming out soon. You can use the link below to keep track of this issue:

           

          http://www.jivesoftware.com/issues/browse/CS-645

           

          Thanks,

           

          Nick

          • Re: Document Import produces system error

            This issue has been resolved and will be available in the 1.0.2 build out soon. Thanks for the detailed report.

             

            Nick

              • Re: Document Import produces system error

                I normally don't resurrect old threads, but my problems seems very similar to the one described by the OP.

                 

                When I try to do a bulk import from a file server (i.e.:
                fileserver1\groups\IT\docs), all the folders are correctly imported, but none of the documents. After the task finished processing, this error is thrown.

                 

                 

                Below is the error information:

                 

                Status Code: 500

                Exception Type: null

                Error Message:

                Request URI: /clearspace/admin/import-update-tags!input.jspa

                Stack Trace:

                freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)

                freemarker.core.Expression.getStringValue(Expression.java:118)

                freemarker.core.Expression.getStringValue(Expression.java:93)

                freemarker.core.DollarVariable.accept(DollarVariable.java:76)

                freemarker.core.Environment.visit(Environment.java:196)

                freemarker.core.MixedContent.accept(MixedContent.java:92)

                freemarker.core.Environment.visit(Environment.java:196)

                freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)

                freemarker.core.Environment.visit(Environment.java:351)

                freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)

                freemarker.core.Environment.visit(Environment.java:196)

                freemarker.core.MixedContent.accept(MixedContent.java:92)

                freemarker.core.Environment.visit(Environment.java:196)

                freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)

                freemarker.core.Environment.visit(Environment.java:196)

                freemarker.core.MixedContent.accept(MixedContent.java:92)

                freemarker.core.Environment.visit(Environment.java:196)

                freemarker.core.Environment.process(Environment.java:176)

                freemarker.template.Template.process(Template.java:232)

                com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:153)

                com.jivesoftware.community.web.webwork.FreemarkerResult.doExecute(FreemarkerResult.java:130)

                com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143)

                com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:311)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:206)

                com.jivesoftware.community.web.webwork.FlashInterceptor.intercept(FlashInterceptor.java:41)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:88)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:88)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.jivesoftware.community.web.webwork.JiveIOCInterceptor.intercept(JiveIOCInterceptor.java:640)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.jivesoftware.community.web.webwork.AdminAuthInterceptor.intercept(AdminAuthInterceptor.java:48)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.jivesoftware.community.web.webwork.ModuleCheckInterceptor.intercept(ModuleCheckInterceptor.java:49)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.jivesoftware.community.action.AdminSecurityInterceptor.intercept(AdminSecurityInterceptor.java:64)

                com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

                com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)

                com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225)

                com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)

                com.jivesoftware.community.web.webwork.JiveFilterDispatcher.doFilter(JiveFilterDispatcher.java:53)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                com.jivesoftware.community.web.filter.SetResponseCharacterEncodingFilter.doFilter(SetResponseCharacterEncodingFilter.java:62)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)

                com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                com.jivesoftware.community.web.JiveActionContextCleanUp.doFilter(JiveActionContextCleanUp.java:46)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                com.jivesoftware.community.web.filter.SetRequestCharacterEncodingFilter.doFilter(SetRequestCharacterEncodingFilter.java:73)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                org.directwebremoting.servlet.DwrWebContextFilter.doFilter(DwrWebContextFilter.java:91)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                com.jivesoftware.community.upgrade.UpgradeFilter.doFilter(UpgradeFilter.java:43)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                com.jivesoftware.base.plugin.PluginFilter.doFilter(PluginFilter.java:71)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                com.jivesoftware.community.web.filter.ApplicationInitializedFilter.doFilter(ApplicationInitializedFilter.java:95)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                com.jivesoftware.base.database.dao.DAOContextCleanUpFilter.doFilter(DAOContextCleanUpFilter.java:32)

                org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

                org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

                org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

                org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

                org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

                org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

                org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

                org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

                org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

                org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

                org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

                org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

                java.lang.Thread.run(Thread.java:619)

                freemarker.core.InvalidReferenceException: Expression task.errorFiles[errorFile] is undefined on line 107, column 38 in template/global/admin/import-directory-updatetags.ftl.