Possibly the code was compiled without debugging information included. From the javac
man page:
-g
Generate all debugging information, including local variables. By default, only line number and source file information is generated.-g:none
Do not generate any debugging information.-g:{keyword list}
Generate only some kinds of debugging information, specified by a comma separated list of keywords. Valid keywords are:
source
Source file debugging information
lines
Line number debugging information
vars
Local variable debugging information