Uploaded image for project: 'Zanata'
  1. ZNTA-1966

TM merge will fail on having TM from TMX import

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: unspecified
    • Resolution: Ready for Release
    • Affects Version/s: None
    • Fix Version/s: platform-4.2.0
    • Component/s: None
    • Labels:
      None
    • Tested Version/s:
      None
    • Sprint:

      Description

      2017-05-11 23:55:08,235 WARN  [org.zanata.service.impl.TranslationMemoryServiceImpl] (default task-26) Lucene query returned 20 results (out of approx 2136). Increasing zanata.tm.max.results might produce more matches.
             at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:77)
             at java.util.ArrayList.rangeCheck(ArrayList.java:653)
             at java.util.ArrayList.get(ArrayList.java:429)
             at org.zanata.service.impl.TransMemoryMergeServiceImpl.createRequest(TransMemoryMergeServiceImpl.java:161)
             at org.zanata.service.impl.TransMemoryMergeServiceImpl.executeMerge(TransMemoryMergeServiceImpl.java:126)
             at org.zanata.service.impl.TransMemoryMergeServiceImpl$Proxy$_$$_WeldSubclass.executeMerge$$super(Unknown Source)
             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.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:49)
      2017-05-11 23:55:08,242 ERROR [org.zanata.webtrans.server.SeamDispatch] (default task-26) Error dispatching action: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
             at org.apache.deltaspike.jpa.impl.transaction.ResourceLocalTransactionStrategy.execute(ResourceLocalTransactionStrategy.java:133)
             at org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor.executeInTransaction(TransactionalInterceptor.java:57)
             at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
             at java.lang.reflect.Method.invoke(Method.java:498)
             at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:74)
             at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeAroundInvoke(InterceptorMethodHandler.java:84)
             at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:72)
             at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:56)
             at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:79)
             at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:68)
             at org.zanata.service.impl.TransMemoryMergeServiceImpl$Proxy$_$$_WeldSubclass.executeMerge(Unknown Source)
             at org.zanata.service.impl.TransMemoryMergeServiceImpl$Proxy$_$$_WeldClientProxy.executeMerge(Unknown Source)
             at org.zanata.webtrans.server.rpc.TransMemoryMergeHandler.execute(TransMemoryMergeHandler.java:52)
             at org.zanata.webtrans.server.rpc.TransMemoryMergeHandler.execute(TransMemoryMergeHandler.java:35)
             at org.zanata.webtrans.server.rpc.TransMemoryMergeHandler$Proxy$_$$_WeldClientProxy.execute(Unknown Source)
             
             
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pahuang Patrick Huang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: