<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/marathonman/patches/" rel="alternate"/><link href="https://sourceforge.net/p/marathonman/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/marathonman/patches/</id><updated>2010-09-15T19:25:43Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Patch for NPE in MComponent.unboxPremitiveArray</title><link href="https://sourceforge.net/p/marathonman/patches/31/" rel="alternate"/><published>2010-09-15T19:25:43Z</published><updated>2010-09-15T19:25:43Z</updated><author><name>Michael Wasson</name><uri>https://sourceforge.net/u/mikewasson/</uri></author><id>https://sourceforge.net82f0a7d446a7e15b0e9d699984d2a2b27ad0cde3</id><summary type="html">There's a potential NullPointerException in this method if the user data contains a null.  This method attempts to get its class \(to see if it's an array\).  The attached patch adds a check for null.</summary></entry><entry><title>Created Maven 2 Build - part1</title><link href="https://sourceforge.net/p/marathonman/patches/30/" rel="alternate"/><published>2010-05-21T06:37:42Z</published><updated>2010-05-21T06:37:42Z</updated><author><name>Ean Dungey</name><uri>https://sourceforge.net/u/eand/</uri></author><id>https://sourceforge.netf11bf7b7eaec94444fec1e0b29600a19e2d67379</id><summary type="html">Maven build including plugin to run tests in batch mode</summary></entry><entry><title>Created Maven 2 Build - part2</title><link href="https://sourceforge.net/p/marathonman/patches/29/" rel="alternate"/><published>2010-05-21T06:35:20Z</published><updated>2010-05-21T06:35:20Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netae41a9936e408f2865b15da6b387a1e402de7aad</id><summary type="html">Missing marathon-core. Add into top level Marathon directory</summary></entry><entry><title>JTreeNode cannot be selected with / in text</title><link href="https://sourceforge.net/p/marathonman/patches/28/" rel="alternate"/><published>2010-02-05T19:09:56Z</published><updated>2010-02-05T19:09:56Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net421cedc9d3ca3f0ea7128974cd0b852e2c648cc5</id><summary type="html">It is currently not possible to select a JTreeNode with a forward slash in it.  I also tried several variations of \#+ \(replacement characters\) to no avail.  Marathon 2.0b4 build 7.</summary></entry><entry><title>Patch for MTableCell</title><link href="https://sourceforge.net/p/marathonman/patches/27/" rel="alternate"/><published>2009-11-19T06:02:27Z</published><updated>2009-11-19T06:02:27Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net33d058e79f115c5fcd5a0bef92c98eaa4e2e1975</id><summary type="html">Attached is a patch for net.sourceforge.marathon.component.MTableCell

Fixes:
1\) Some method promoted from private to protected where they would be useful to those extending this class
2\) Fix for java.lang.NoSuchMethodException thrown by MTableCell\#tryGettingItFromTable\(\)</summary></entry><entry><title>Problem with MTableCell#tryGettingItFromTable</title><link href="https://sourceforge.net/p/marathonman/patches/26/" rel="alternate"/><published>2009-10-30T04:38:34Z</published><updated>2009-10-30T04:38:34Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netba8c6dff2fed2a554a9ba08227defbde6657210b</id><summary type="html">MTableCell is throwing java.lang.NoSuchMethodExceptions

I have locaed the source of this, it is in marathon-runtime, net.sourceforge.marathon.component.MTableCell\#tryGettingItFromTable:

	private int tryGettingItFromTable\(\) \{
		int columnCount = eventQueueRunner.invokeInteger\(getTableComponent\(\), "getColumnCount"\);
		for \(int i = 0; i &amp;lt; columnCount; i++\) \{
			String name = \(String\) eventQueueRunner.invoke\(getTableComponent\(\), "", new Object\[\] \{ new Integer\(i\) \},
					new Class\[\] \{ Integer.TYPE \}\);
			if \(name.equals\(column\)\)
				return i;
		\}
		throw new TestException\("Problem looking up column with the name \"" + column + "\" in table \"" + getName\(\) + "\"."\);
	\}

I believe this linbe is at fault:
eventQueueRunner.invoke\(getTableComponent\(\), "", new Object\[\] \{ new Integer\(i\) \}, new Class\[\] \{ Integer.TYPE \}\);

The 2nd parameter of invoke is an empty String, which should be a method name for a method member of javax.swing.JTable. Obv. an empty String is unacceptable.
</summary></entry><entry><title>Update JUnit Library</title><link href="https://sourceforge.net/p/marathonman/patches/25/" rel="alternate"/><published>2009-05-11T07:17:33Z</published><updated>2009-05-11T07:17:33Z</updated><author><name>Bucalaete Nicolae</name><uri>https://sourceforge.net/u/nicusorb/</uri></author><id>https://sourceforge.net863143eef4130797f0e26374b3ae085826d4ecc3</id><summary type="html">Updaet JUnit library that is used in marathon to the latest version.</summary></entry><entry><title>Bug in MTabbedPane</title><link href="https://sourceforge.net/p/marathonman/patches/24/" rel="alternate"/><published>2009-05-04T07:56:46Z</published><updated>2009-05-04T07:56:46Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netfca0a26b1d11e9e3a761dc89a85a83bddf9bee26</id><summary type="html">Overrided method getText\(\) doesn't take into consideration the case when we have no tabs added to this JTabbedPane.
The getText\(\) method should look like this:
	public String getText\(\) \{
		int selectedIndex = eventQueueRunner.invokeInteger\(getTabbedPane\(\), "getSelectedIndex"\);
		if \(selectedIndex &amp;lt; 0\)
			return null;
		return \(String\) eventQueueRunner.invoke\(getTabbedPane\(\), "getTitleAt", new Object\[\] \{ new Integer\(selectedIndex\) \},
				new Class\[\] \{ Integer.TYPE \}\);
	\}
</summary></entry><entry><title>Sample to reproduce recording problem</title><link href="https://sourceforge.net/p/marathonman/patches/23/" rel="alternate"/><published>2008-06-13T10:39:30Z</published><updated>2008-06-13T10:39:30Z</updated><author><name>jam</name><uri>https://sourceforge.net/u/jankowsm/</uri></author><id>https://sourceforge.net4c5e512de72181b7e66011adf7c6a466440b233b</id><summary type="html">For more details see

http://sourceforge.net/forum/message.php?msg\_id=5028770</summary></entry><entry><title>Patch to allow dumping of components</title><link href="https://sourceforge.net/p/marathonman/patches/22/" rel="alternate"/><published>2008-02-01T19:38:40Z</published><updated>2008-02-01T19:38:40Z</updated><author><name>demotivator</name><uri>https://sourceforge.net/u/demotivator/</uri></author><id>https://sourceforge.neted1c68baa20cf66fea25a855dd9f06e58659b202</id><summary type="html">This patch is probably not ready for inclusion in a release, but may be helpful to people that can't wait for the more feature-filled version we've discussed in the forums.</summary></entry></feed>