While trying to compiling kaffe-1.1.4 with "--with-profiling" support, I am getting the following error when running kaffe.
[bytecode@cross Kaffe]$  ./configure --with-profiling
[bytecode@cross Kaffe]$  make 
..........
Making all in test
make[1]: Entering directory `/unity_nc/home/xyb/kaffe-1.1.4/test'
Making all in regression
make[2]: Entering directory `/unity_nc/home/xyb/kaffe-1.1.4/test/regression'
Making all in compile_time
make[3]: Entering directory `/unity_nc/home/xyb/kaffe-1.1.4/test/regression/compile_time'
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
        at java.lang.Class.getClassLoader0(Class.java:native)
        at java.lang.Class.getClassLoader(Class.java:76)
        at kaffe.lang.ThreadStack.getCallersClassLoader(ThreadStack.java:112)
        at kaffe.lang.ThreadStack.getCallersClassLoader(ThreadStack.java:58)
        at java.lang.System.loadLibrary(System.java:123)
        at java.io.FileDescriptor.<clinit>(FileDescriptor.java:80)
        at java.lang.System.<clinit>(System.java:48)
        at java.lang.ClassLoader.<init>(ClassLoader.java:114)
        at java.lang.ClassLoader.<init>(ClassLoader.java:110)
        at java.security.SecureClassLoader.<init>(SecureClassLoader.java:23)
        at java.net.URLClassLoader.<init>(URLClassLoader.java:541)
        at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:239)
        at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:38)

When "make test" appears kaffe has been executed. "--with-profiling" means compiling kaffe with -pg option of GCC. But why it cannot run.

BTW, does anyone measure Kaffe with gprof? I want to find the performance bottleneck and optimize it. 

Please help.

Paul Yuan
bytecode@tom.com<br><br>
<hr align="left" width="577" size="1" color="cccccc">
<table cellpadding="1" cellspacing="1" border="0" >
  <tr> 
    <td style="font-size: 14px">
<a href=http://bbs8.tom.com/bbs.php?forumid=351 target=blank><font color=red>靓女美图大全</font></a> <a href=http://bbs5.tom.com/bbs.php?forumid=280 target=blank><font color=red>八卦娱乐新闻</font></a> <a href=http://bbs7.tom.com/bbs.php?forumid=347 target=blank><font color=red>最新汽车资讯</font></a> <a href=http://bbs2.tom.com/bbs.php?forumid=208 target=blank><font color=red>精彩赛事评论</font></a> <a href=http://bbs5.tom.com/bbs.php?forumid=285 target=blank><font color=red>两性情感私语</font></a> <a href=http://bbs5.tom.com/bbs.php?forumid=363 target=blank><font color=red>房屋租赁论坛</font></a> 
</td>  
  </tr>
  <tr> 
  <td style="font-size: 14px"><a href="http://chat.tom.com/" target="_blank">火热激情</a> 
    <a href="http://chat3.tom.com:8720/login" target="_blank">红杏出墙</a> <a href="http://chat1.tom.com:8781/login" target="_blank">夜来香</a> 
    <a href="http://chat3.tom.com:8002/login" target="_blank">缘份天空</a> <a href="http://chat.tom.com/index_more.php?group=城市相逢" target="_blank">城市恋</a> 
    <a href="http://chat3.tom.com:8119/login" target="_blank">四十情怀</a> <a href="http://chat3.tom.com:8041/login" target="_blank">三十浪漫</a> 
        <a href="http://chat1.tom.com:8724/login" target="_blank">禁入</a> <a href="http://chat.tom.com/" target="_blank">更多</a></td>
  </tr>
  <tr>
    <td style="font-size: 14px"><a href="http://sms1.ctn.com.cn/ivr/?user_id=3&code_id=w006" target="_blank">劲歌、金曲,流行、怀旧 
      免费随你点!</a> <a href="http://skype.tom.com" target="_blank"><font color="#FF0000">免费全球语音通话 
      TOM-Skype火热下载</font></a></td>
  </tr>
</table>
<table cellpadding="1" cellspacing="1" border="0" style="margin-top:10px;">
  <tr> 
    <td nowrap style="font-size: 14px"><a href="http://vip.163.net/zhy/zhy.htm" target="_blank"><font color="#ff0000" style="font-size:14.7px;"><b>新年小心贺卡病毒,在线邮件杀毒帮您忙</b></font></a></td>    
  </tr>
<tr><td><A href="http://blog.tom.com/photo/index.htm" target=_blank><IMG src="http://blog.tom.com/photo/images/77395.GIF" border=0></A> 
</td></tr>    
</table>