You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@joshua.apache.org by "Kellen Sunderland (JIRA)" <ji...@apache.org> on 2016/08/18 07:49:22 UTC

[jira] [Commented] (JOSHUA-221) ArrayIndexOutOfBoundsException when passing arguments to JoshuaDecoder.main

    [ https://issues.apache.org/jira/browse/JOSHUA-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426045#comment-15426045 ] 

Kellen Sunderland commented on JOSHUA-221:
------------------------------------------

Maybe we could resolve this by using args4j for the JoshuaDecoder.main?

> ArrayIndexOutOfBoundsException when passing arguments to JoshuaDecoder.main
> ---------------------------------------------------------------------------
>
>                 Key: JOSHUA-221
>                 URL: https://issues.apache.org/jira/browse/JOSHUA-221
>             Project: Joshua
>          Issue Type: Bug
>            Reporter: Lewis John McGibbney
>             Fix For: 6.2
>
>
> {code}
> lmcgibbn@LMC-032857 /usr/local/joshua(master) $ java -jar class/joshua.jar -version
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
> 	at joshua.decoder.ArgsParser.<init>(ArgsParser.java:43)
> 	at joshua.decoder.JoshuaDecoder.main(JoshuaDecoder.java:30)
> lmcgibbn@LMC-032857 /usr/local/joshua(master) $ java -jar class/joshua.jar -version -v
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
> 	at joshua.decoder.ArgsParser.<init>(ArgsParser.java:43)
> 	at joshua.decoder.JoshuaDecoder.main(JoshuaDecoder.java:30)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)