-
Bug
-
Resolution: Fixed
-
P2
-
1.1.7
-
1.2.2
-
x86
-
windows_nt
Name: diC59631 Date: 10/09/98
The software I'm using reports a stack overflow error
when running with JIT. If I disable JIT the software
runs without any problem.
I know that you can not debug applications, but I think it's not an
application problem. I use the progrom muffin 0.7.2 from
muffin.doit.org. It's a Java proxy application.
I have not traced to problem to the final point because I have no time.
If you try the application you need to save the configuration. Then the
program crash with the following exception:
Exception occurred during event dispatching:
java.lang.StackOverflowError
at org.doit.util.SortedProperties.keys(Compiled Code)
at org.doit.util.SortedProperties.keys(Compiled Code)
at java.util.Properties.save(Compiled Code)
at org.doit.muffin.UserPrefs.save(Compiled Code)
at org.doit.muffin.FilterManager.save(FilterManager.java)
at org.doit.muffin.filter.SecretAgent.save(SecretAgent.java)
at
org.doit.muffin.filter.SecretAgentFrame.actionPerformed(SecretAgentFrame.java)
at java.awt.Button.processActionEvent(Button.java:257)
at java.awt.Button.processEvent(Button.java:230)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
The problem line is:
public class SortedProperties extends Properties
{
public synchronized Enumeration keys ()
{
Enumeration e = super.keys ();
//------------ Problem line
SortedList sorter = new SortedList
(StringIgnoreCaseComparer.getInstance ());
//------------
while (e.hasMoreElements ())
{
sorter.addElement ((String) e.nextElement ());
}
return sorter.elements ();
}
}
I added a debug message to the Constructor of the SortedList class. The
message is printed a lot of time and then the java interpreter dies with
the Message I attached as JPG image.
if you have installed muffin it creates some config files in the HOME
directory of the user. You can create a set of filters. The problem occours
if I try to save this filter configuration:
Example:
- start muffin
- press the filter button
- add the stats filter (for example)
- press the save button
You see error only if you start muffin with the java.exe.
I hope this help to get the error message. Otherwise I need to talk to the
author of the program.
Bye
Klaus Mueller
(Review ID: 39607)
======================================================================