no stacktrace available

Bart Locanthi bart@sabl.com
Tue Dec 14 04:37:00 GMT 2004


soo... i'm attempting to port a largish program to gcj.
on netbsd 2.0... which has a gcc-java-3.3.4 package.
not having ant and not wanting to again figure out how to get make to do 
what i want, i made a list of all the java files in ~/src (with path 
names from that point), and built the program with the following:
% gcj --main=com..Server -o ug `cat list`
took a while but it compiles with no warnings or errors. however, when i 
try to run it i get:
% ug conf/toy.xml
java.lang.ArrayIndexOutOfBoundsException: 3
 <<No stacktrace available>>
^C
%
i'm willing to track this down but i'd like to have a stack trace or 
something. note that the program appears to hang. well, it's a server 
but it isn't opening a ServerSocket.
so is there a load flag or an environment something that will get me a 
stack trace?
btw it seems not to make a difference whether i set LD_LIBRARY_PATH (on 
netbsd that would be /usr/pkg/gcc3/lib).
should i be trying this on linux first?


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /