Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-1759

Exception when using the move up/down button when editting a web form

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2 Enterprise
    • Fix Version/s: None
    • Component/s: ZZ_Archive
    • Labels:
      None
    • Environment:
      Alfresco 2.2 SP4 build 425, Windows 2008 x64, Tomcat 5.5.23, Mysql 5.1.31, JDK 5u17.
    • Testcase ID:
      Hide

      Wcm-614

      Show
      Wcm-614
    • Resolution Time Custom Field:
      353 weeks, 3 days, 9 hours, 32 minutes, 34 seconds

      Description

      Steps to reproduce:
      1. Login as admin
      2. Add newslanding.xsd to Web Forms
      3. Create Web Project with created Web Form;
      4. Start creation of Web content based on added web form;
      5. On step 2 add at least 3 items to the newslanding page;
      5. Use the up/down arrows to move content -> the next error appears:

      "XMLHttpTransport Error: 500 Failed to execute method XFormsBean.swapRepeatItems: Exception in Transaction."

      Here is the nested exception in logs -

      20:44:56,820 ERROR [alfresco.ajax] Failed to execute method XFormsBean.swapRepeatItems: Exception in Transaction.
      org.alfresco.error.AlfrescoRuntimeException: Exception in Transaction.
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:387)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:217)
      at org.alfresco.web.app.servlet.ajax.InvokeCommand.execute(InvokeCommand.java:167)
      at org.alfresco.web.app.servlet.ajax.AjaxServlet.service(AjaxServlet.java:148)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.alfresco.web.app.servlet.ajax.InvokeCommand$1.execute(InvokeCommand.java:163)
      at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:310)
      ... 18 more
      Caused by: java.lang.NullPointerException: unable to find destination repeat item C27
      at org.alfresco.web.forms.xforms.XFormsBean.swapRepeatItems(XFormsBean.java:453)
      ... 24 more

      Olgadu

        Attachments

          Activity

            People

            • Assignee:
              closedissues Closed Issues
              Reporter:
              mkononovich mkononovich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: