<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Testing EJBs using Generic Fixture</title>
	<atom:link href="http://anubhava.wordpress.com/2008/03/15/testing-ejbs-using-generic-fixture/feed/" rel="self" type="application/rss+xml" />
	<link>http://anubhava.wordpress.com/2008/03/15/testing-ejbs-using-generic-fixture/</link>
	<description>Generic Fixture, just a better FitNesse Fixture</description>
	<lastBuildDate>Wed, 28 Oct 2009 16:34:13 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: anubhava</title>
		<link>http://anubhava.wordpress.com/2008/03/15/testing-ejbs-using-generic-fixture/#comment-86</link>
		<dc:creator>anubhava</dc:creator>
		<pubDate>Thu, 13 Aug 2009 10:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/?p=17#comment-86</guid>
		<description>Dear Aristotelis,

Thanks for your kind offer to work with the code of Generic Fixture. Complete source code of the &quot;Generic Fixture&quot; is included in the genericfixture.jar that you&#039;ve been using. I have also included the build.xml file for convenience. It will need fitlibrary.jar and fitnesse.jar to build. Please let me know if there is any problem in accessing the source files or building them.

Now coming back to the problem you are facing. Have you tried running Generic Fixture in debug mode. This can be enabled by this script:

!&#124; Generic Fixture &#124; Generic Fixture &#124;
&#124; set debug &#124; true &#124;

Your test script:
!&#124; Generic Fixture &#124; myobjdb=ourdomain.databuilder.fit.FixtureContext &#124; array: b,c,d &#124;

Is trying to call constructor of the class FixtureContext by passing an array of 3 elements. Please verify this is what your intent is.

If you face any hurdle in resolving your issue please write back.

cheers,
Anubhava</description>
		<content:encoded><![CDATA[<p>Dear Aristotelis,</p>
<p>Thanks for your kind offer to work with the code of Generic Fixture. Complete source code of the &#8220;Generic Fixture&#8221; is included in the genericfixture.jar that you&#8217;ve been using. I have also included the build.xml file for convenience. It will need fitlibrary.jar and fitnesse.jar to build. Please let me know if there is any problem in accessing the source files or building them.</p>
<p>Now coming back to the problem you are facing. Have you tried running Generic Fixture in debug mode. This can be enabled by this script:</p>
<p>!| Generic Fixture | Generic Fixture |<br />
| set debug | true |</p>
<p>Your test script:<br />
!| Generic Fixture | myobjdb=ourdomain.databuilder.fit.FixtureContext | array: b,c,d |</p>
<p>Is trying to call constructor of the class FixtureContext by passing an array of 3 elements. Please verify this is what your intent is.</p>
<p>If you face any hurdle in resolving your issue please write back.</p>
<p>cheers,<br />
Anubhava</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aristotelis</title>
		<link>http://anubhava.wordpress.com/2008/03/15/testing-ejbs-using-generic-fixture/#comment-85</link>
		<dc:creator>Aristotelis</dc:creator>
		<pubDate>Wed, 12 Aug 2009 17:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/?p=17#comment-85</guid>
		<description>Hello Anubhava,

We have been trying to use a jar of ours with Generic Fixture but we get an error that we can not decipher.

It seems that the error description presented derives from the exception handling and not from the actual error itself and hence it does not help us to debug the problem.

Our developers here have offered to work with the code of Generic Fixture to help surface the original errors (contributing any work done back to you naturally), however I do not know where to get the code from. Is it available anywhere?

Our code is:
!path mydatabuilder.jar

!&#124; Generic Fixture &#124; myobjdb=ourdomain.databuilder.fit.FixtureContext &#124; array: b,c,d &#124;

and the error we receive is:

java.lang.NullPointerException
	at GenericFixture.readRow(GenericFixture.java:291)
	at GenericFixture.doRows(GenericFixture.java:765)
	at fit.Fixture.doTable(Fixture.java:153)
	at fit.Fixture.interpretFollowingTables(Fixture.java:119)
	at fit.Fixture.interpretTables(Fixture.java:105)
	at fit.Fixture.doTables(Fixture.java:79)
	at fit.FitServer.process(FitServer.java:71)
	at fit.FitServer.run(FitServer.java:52)
	at fit.FitServer.main(FitServer.java:43)


thanks in advance,
Aristotelis.</description>
		<content:encoded><![CDATA[<p>Hello Anubhava,</p>
<p>We have been trying to use a jar of ours with Generic Fixture but we get an error that we can not decipher.</p>
<p>It seems that the error description presented derives from the exception handling and not from the actual error itself and hence it does not help us to debug the problem.</p>
<p>Our developers here have offered to work with the code of Generic Fixture to help surface the original errors (contributing any work done back to you naturally), however I do not know where to get the code from. Is it available anywhere?</p>
<p>Our code is:<br />
!path mydatabuilder.jar</p>
<p>!| Generic Fixture | myobjdb=ourdomain.databuilder.fit.FixtureContext | array: b,c,d |</p>
<p>and the error we receive is:</p>
<p>java.lang.NullPointerException<br />
	at GenericFixture.readRow(GenericFixture.java:291)<br />
	at GenericFixture.doRows(GenericFixture.java:765)<br />
	at fit.Fixture.doTable(Fixture.java:153)<br />
	at fit.Fixture.interpretFollowingTables(Fixture.java:119)<br />
	at fit.Fixture.interpretTables(Fixture.java:105)<br />
	at fit.Fixture.doTables(Fixture.java:79)<br />
	at fit.FitServer.process(FitServer.java:71)<br />
	at fit.FitServer.run(FitServer.java:52)<br />
	at fit.FitServer.main(FitServer.java:43)</p>
<p>thanks in advance,<br />
Aristotelis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ismail</title>
		<link>http://anubhava.wordpress.com/2008/03/15/testing-ejbs-using-generic-fixture/#comment-77</link>
		<dc:creator>Ismail</dc:creator>
		<pubDate>Mon, 27 Jul 2009 08:21:05 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/?p=17#comment-77</guid>
		<description>Hi anubhava :

Thank you for your response,we will also try to put the path of our jar file that is located in the deployment directory  of jboss.

After a jboss deployement, the ear is splitted by jboss anf the jar files can be directly accessed

We will let you know when we achieve this task.

Thank You
Ismail.</description>
		<content:encoded><![CDATA[<p>Hi anubhava :</p>
<p>Thank you for your response,we will also try to put the path of our jar file that is located in the deployment directory  of jboss.</p>
<p>After a jboss deployement, the ear is splitted by jboss anf the jar files can be directly accessed</p>
<p>We will let you know when we achieve this task.</p>
<p>Thank You<br />
Ismail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anubhava</title>
		<link>http://anubhava.wordpress.com/2008/03/15/testing-ejbs-using-generic-fixture/#comment-76</link>
		<dc:creator>anubhava</dc:creator>
		<pubDate>Sat, 25 Jul 2009 04:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/?p=17#comment-76</guid>
		<description>Hi Ismail,

Thanks for your comment. Yes EJB was packaged in an EAR file and deployed on a Weblogic 9.2.x server. (In this example it was running on localhost port 7001 but it can be anywhere)

If you see my example I have this line on top the test:
!path productEjbs.jar

This line is basically adding product EJBs jar file to Fitnesse&#039;s classpath. Is this what you were asking or I didn&#039;t get your question correctly?

cheers,
Anubhava</description>
		<content:encoded><![CDATA[<p>Hi Ismail,</p>
<p>Thanks for your comment. Yes EJB was packaged in an EAR file and deployed on a Weblogic 9.2.x server. (In this example it was running on localhost port 7001 but it can be anywhere)</p>
<p>If you see my example I have this line on top the test:<br />
!path productEjbs.jar</p>
<p>This line is basically adding product EJBs jar file to Fitnesse&#8217;s classpath. Is this what you were asking or I didn&#8217;t get your question correctly?</p>
<p>cheers,<br />
Anubhava</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ismail</title>
		<link>http://anubhava.wordpress.com/2008/03/15/testing-ejbs-using-generic-fixture/#comment-75</link>
		<dc:creator>Ismail</dc:creator>
		<pubDate>Fri, 24 Jul 2009 16:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://anubhava.wordpress.com/?p=17#comment-75</guid>
		<description>Hi anubhava :

Nice post :), that will be very useful for us,we are looking to do some black box testing on a business application that is using services implemented as ejb3.0 services.

What is our ejbs are packaged in an ear file?,how will we do to access the jar in the ear file that contains the implementation of the ejbs ?

Thank You
Ismail.</description>
		<content:encoded><![CDATA[<p>Hi anubhava :</p>
<p>Nice post <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , that will be very useful for us,we are looking to do some black box testing on a business application that is using services implemented as ejb3.0 services.</p>
<p>What is our ejbs are packaged in an ear file?,how will we do to access the jar in the ear file that contains the implementation of the ejbs ?</p>
<p>Thank You<br />
Ismail.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
