# Issue in DATAINTERSECTION component release 2.5.0

**URL:** <https://forum.cloverdx.com/t/issue-in-dataintersection-component-release-2-5-0/382>\
**Category:** CloverDX Platform\
**Created:** [September 1, 2008, 12:00am UTC](https://forum.cloverdx.com/t/issue-in-dataintersection-component-release-2-5-0/382 "2008-09-01T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxani](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@maxani](https://forum.cloverdx.com/u/maxani)\
**Post date:** [September 1, 2008, 12:00am UTC](https://forum.cloverdx.com/t/issue-in-dataintersection-component-release-2-5-0/382/1 "2008-09-01T00:00:00Z")

</div>

Hi !

I’ve just tested the new release 2.5 of CloverETL engine.

I found an issue with the DATAINTERSECTION component.

Indeed …

before in the main processing loop of execute method :

```auto
while (runIt && driverRecord != null && slaveRecord != null) {
}

```

in 2.5 :

```auto
do {
}while (runIt && (driverReader.hasData() || slaveReader.hasData()));

```

the problem occurs when the two input (maybe only one) tables are empty there’s a null pointer exception. It was better before cause you didn’t go in the loop if there were not input records.

What do you think ?

---

<div class="post-metadata">

**Author:** ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)\
**Post date:** [September 4, 2008, 8:34am UTC](https://forum.cloverdx.com/t/issue-in-dataintersection-component-release-2-5-0/382/2 "2008-09-04T08:34:41Z")

</div>

Hi, this is really bug; I report the issue to the Mantis bug tracker ([http://bug.cloveretl.org/view.php?id=852](http://bug.cloveretl.org/view.php?id=852)).
