This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
no stacktrace available
- From: Bart Locanthi <bart at sabl dot com>
- To: java at gcc dot gnu dot org
- Date: Mon, 13 Dec 2004 20:38:17 -0800
- Subject: no stacktrace available
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?