Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-3944

Sharepoint doesn't work on Cloud from HEAD-BUG-FIX

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Cloud 43
    • Fix Version/s: Cloud 43
    • Labels:
    • Environment:
      Cloud HBF5.1 build 1207 rel40rc4 DP (Solr4 has been turned on manually)

      Description

      Steps:

      1. Create environment from HEAD-BUG-FIX branch.
      (i have created: https://hbf1207my.alfresco.me/ (HBF Cloud5.1 r102065-b1207 rel40rc4)
      2. Create any user,
      3, try to open share point url in your browser:
      https://hbf1207sp.alfresco.me/

      Expected: Authentication form should be displayed.
      Actual: the form is not opened and the following system error is displayed:

      java.lang.NullPointerException
      at java.io.File.<init>(File.java:360)
      at org.alfresco.util.TempFileProvider.getTempDir(TempFileProvider.java:131)
      at org.alfresco.enterprise.repo.officeservices.vfs.AlfrescoVirtualFileSystem.createStreamFactory(AlfrescoVirtualFileSystem.java:869)
      at org.alfresco.enterprise.repo.officeservices.service.WebdavService.init(WebdavService.java:94)
      at javax.servlet.GenericServlet.init(GenericServlet.java:158)
      at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
      at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:745)
      

      please see attached screen: sp-screen.png

      The error can be reproduced via Edit in Ms Office actions for any document > as a result document will not be opened.
      catalina.out contains the following error:

      Apr 22, 2015 10:54:09 AM org.apache.catalina.core.ApplicationContext log
      INFO: Apr 22, 2015 10:54:09 AM org.apache.catalina.core.ApplicationContext log
      SEVERE: StandardWrapper.Throwable
      java.lang.NullPointerException
              at java.io.File.<init>(File.java:360)
              at org.alfresco.util.TempFileProvider.getTempDir(TempFileProvider.java:131)
              at org.alfresco.enterprise.repo.officeservices.vfs.AlfrescoVirtualFileSystem.createStreamFactory(AlfrescoVirtualFileSystem.java:869)
              at org.alfresco.enterprise.repo.officeservices.service.WebdavService.init(WebdavService.java:94)
              at javax.servlet.GenericServlet.init(GenericServlet.java:158)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
              at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
              at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      
      
      Apr 22, 2015 10:54:09 AM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Allocate exception for servlet AosWebdavService
      java.lang.NullPointerException
              at java.io.File.<init>(File.java:360)
              at org.alfresco.util.TempFileProvider.getTempDir(TempFileProvider.java:131)
              at org.alfresco.enterprise.repo.officeservices.vfs.AlfrescoVirtualFileSystem.createStreamFactory(AlfrescoVirtualFileSystem.java:869)
              at org.alfresco.enterprise.repo.officeservices.service.WebdavService.init(WebdavService.java:94)
              at javax.servlet.GenericServlet.init(GenericServlet.java:158)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
              at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
              at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      
      Apr 22, 2015 10:54:12 AM org.apache.catalina.core.ApplicationContext log
      INFO: Apr 22, 2015 10:54:12 AM org.apache.catalina.core.ApplicationContext log
      SEVERE: StandardWrapper.Throwable
      java.lang.NullPointerException
              at java.io.File.<init>(File.java:360)
              at org.alfresco.util.TempFileProvider.getTempDir(TempFileProvider.java:131)
              at org.alfresco.enterprise.repo.officeservices.vfs.AlfrescoVirtualFileSystem.createStreamFactory(AlfrescoVirtualFileSystem.java:869)
              at org.alfresco.enterprise.repo.officeservices.service.WebdavService.init(WebdavService.java:94)
              at javax.servlet.GenericServlet.init(GenericServlet.java:158)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
              at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
              at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      
      
      Apr 22, 2015 10:54:12 AM org.apache.catalina.core.StandardWrapperValve invoke
      SEVERE: Allocate exception for servlet AosWebdavService
      java.lang.NullPointerException
              at java.io.File.<init>(File.java:360)
              at org.alfresco.util.TempFileProvider.getTempDir(TempFileProvider.java:131)
              at org.alfresco.enterprise.repo.officeservices.vfs.AlfrescoVirtualFileSystem.createStreamFactory(AlfrescoVirtualFileSystem.java:869)
              at org.alfresco.enterprise.repo.officeservices.service.WebdavService.init(WebdavService.java:94)
              at javax.servlet.GenericServlet.init(GenericServlet.java:158)
              at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
              at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
              at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      

      The issue is not reproduced on Cloud39.4 (build 43 rel40rc4)

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  dyukhnovets Dmitry Yukhnovets [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel