Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40802

Forums tool: Error importing from site

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 19.0
    • Fix Version/s: 19.0, 20.0 [Tentative]
    • Component/s: Forums Tool
    • Labels:
      None
    • 19 status:
      Resolved
    • Test Plan:
      Hide

      1. Post a message (forums) in the Site A.
      2. Import the forums data from the Site A to the Site B using the "Import from site" button (Site Info).
      3. The forum data is imported.

      Show
      1. Post a message (forums) in the Site A. 2. Import the forums data from the Site A to the Site B using the "Import from site" button (Site Info). 3. The forum data is imported.

      Description

      1. Post a message (forums) in the Site A.
      2. Import the forums data from the Site A to the Site B using the "Import from site" button (Site Info).
      3. The forum data is not imported. This error si shown in log:

      17-Oct-2018 04:32:55.094 ERROR [pool-5-thread-5] org.sakaiproject.component.app.messageforums.DiscussionForumServiceImpl.transferCopyEntitiesRefMigrator Null Argument
      java.lang.IllegalArgumentException: Null Argument
      	at org.sakaiproject.component.app.messageforums.MessageForumsForumManagerImpl.getForumByIdWithTopics(MessageForumsForumManagerImpl.java:403)
      	at org.sakaiproject.component.app.messageforums.MessageForumsForumManagerImpl.saveDiscussionForumTopic(MessageForumsForumManagerImpl.java:970)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
      	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
      	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
      	at com.sun.proxy.$Proxy114.saveDiscussionForumTopic(Unknown Source)
      	at org.sakaiproject.component.app.messageforums.DiscussionForumServiceImpl.transferCopyEntitiesRefMigrator(DiscussionForumServiceImpl.java:622)
      	at org.sakaiproject.component.app.messageforums.DiscussionForumServiceImpl.transferCopyEntitiesRefMigrator(DiscussionForumServiceImpl.java:1310)
      	at org.sakaiproject.sitemanage.impl.SiteManageServiceImpl$1.doInTransactionWithoutResult(SiteManageServiceImpl.java:436)
      	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
      	at org.sakaiproject.sitemanage.impl.SiteManageServiceImpl.transferCopyEntities(SiteManageServiceImpl.java:431)
      	at org.sakaiproject.sitemanage.impl.SiteManageServiceImpl.importToolsIntoSite(SiteManageServiceImpl.java:378)
      	at org.sakaiproject.sitemanage.impl.SiteManageServiceImpl.lambda$importToolsIntoSiteThread$0(SiteManageServiceImpl.java:131)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bergarvi Bernardo Garcia Vila
                  Reporter:
                  raulsv Raúl Sánchez Vegas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code