Hello,

Dave Musicant <music...@gmail.com> writes:

> I've got an org-mode file with a single line in it:
>
> #+INCLUDE: "Temp.java" src java
>
> That file, in turn, is including a Java file with a single line in it:
>
> import java.util.abcde.*;
>
> When I try to export the org file to HTML, it results in an Args out of
> range error. This error does not happen if the import statement is
> simpler, such as
>
> import java.util.*;
>
> Worse yet, this error isn't consistent. If I fix the Java file (as
> above), then go back to the org file and try to export again, it works;
> after that, if I _then_ put the longer import back into the Temp.java,
> the org file still exports correctly. After some inconclusive amount of 
> screwing around with it, exports will start failing again. But it seems 
> to reliably fail when Emacs and the org file are first opened.
>
> Any thoughts? This is a real problem for me; I'm trying to include a
> Java program into an org file, and it's choking on the import line.

Could you try development version and try again? If that fails, could
you provide a backtrace of the error ?

Regards,

-- 
Nicolas Goaziou

Reply via email to