I was carrying around this issue since long time, but today I finally understood what exactly the source is.
Suppose I have this very simple orgfile, if I try to export it to html I get the error as below. Can anyone else reproduce it? I guess is font-locking problem but that should be a perfectly valid (even if perfectly useless java snippet). --8<---------------cut here---------------start------------->8--- title #+begin_src java import static org.junit.Assert.*; #+end_src --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (args-out-of-range 106 113) put-text-property(106 113 face font-lock-type-face) c-fontify-recorded-types-and-refs()... --8<---------------cut here---------------end--------------->8--- Thanks, Andrea -- Org-mode version 7.5 (release_7.5.60.g706a)