Github user mjpost commented on the pull request:

    https://github.com/apache/incubator-joshua/pull/12#issuecomment-222016587
  
    Also, multithreading is broken. I randomly (not always) get the following 
error when decoding with more than 1 thread:
    
    ```
    Exception in thread "Thread-4" java.lang.RuntimeException: Input 1: FATAL 
UNCAUGHT EXCEPTION: null
        at 
org.apache.joshua.decoder.Decoder$DecoderThreadRunner.run(Decoder.java:433)
    Caused by: java.util.ConcurrentModificationException
        at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
        at java.util.ArrayList$Itr.next(ArrayList.java:851)
        at 
org.apache.joshua.decoder.chart_parser.DotChart.addDotItem(DotChart.java:362)
        at 
org.apache.joshua.decoder.chart_parser.DotChart.expandDotCell(DotChart.java:223)
        at org.apache.joshua.decoder.chart_parser.Chart.expand(Chart.java:585)
        at 
org.apache.joshua.decoder.DecoderThread.translate(DecoderThread.java:141)
        at 
org.apache.joshua.decoder.Decoder$DecoderThreadRunner.run(Decoder.java:424)
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to