This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
hang when printing exception
- From: Tom Tromey <tromey at redhat dot com>
- To: GCJ Java <java at gcc dot gnu dot org>
- Date: 14 Mar 2003 15:29:12 -0700
- Subject: hang when printing exception
- Reply-to: tromey at redhat dot com
My nightly build started hanging during `make check'.
In my default PATH is a c++filt that doesn't understand `-s java'.
In this case NameFinder seems to get confused.
In some environments I'll just get this:
fleche. ~/gnu/Nightly/gcc/install/bin/gij T661rpc1
Exception in thread "main" java.lang.IllegalAccessError
*** Got java.lang.NullPointerException while trying to print stack trace.
In others, I'll get a hang.
I looked at the recent changes here but nothing stands out as a
problem. Anybody experiencing anything similar?
The NullPointerException occurs here, in NameFinder.createStackTraceElement:
int bracket = s.indexOf('(');
Here `s == null'.
Seems like demangleName should check for a null return from readLine.
Tom