# Find/Replace NullPointerException

**URL:** <https://forum.inductiveautomation.com/t/find-replace-nullpointerexception/7221>\
**Category:** Ignition\
**Created:** [September 9, 2013, 1:26pm UTC](https://forum.inductiveautomation.com/t/find-replace-nullpointerexception/7221 "2013-09-09T13:26:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![scicco](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@scicco](https://forum.inductiveautomation.com/u/scicco)\
**Post date:** [September 9, 2013, 1:26pm UTC](https://forum.inductiveautomation.com/t/find-replace-nullpointerexception/7221/1 "2013-09-09T13:26:48Z")

</div>

Hello,

If I have the SQL Tags option checked when I attempt to do a Find/Replace, I get a NullPointerException. Here are the details:

java.lang.NullPointerException  
at com.inductiveautomation.ignition.designer.sqltags.search.TagSearchProvider$OverridesIterator.next(TagSearchProvider.java:846)  
at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.advance(SearchObjectAggregator.java:116)  
at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.next(SearchObjectAggregator.java:104)  
at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.next(SearchObjectAggregator.java:86)  
at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.next(SearchObjectAggregator.java:30)  
at com.google.common.collect.Iterators$5.next(Iterators.java:554)  
at com.google.common.collect.Iterators$7.computeNext(Iterators.java:648)  
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)  
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)  
at com.google.common.collect.Lists.newArrayList(Lists.java:138)  
at com.google.common.collect.Iterators.toArray(Iterators.java:339)  
at com.inductiveautomation.ignition.designer.findreplace.SearchReplaceDialog$SearchTask.run(SearchReplaceDialog.java:932)

Ignition v7.5.7 (b1387)  
Java: Oracle Corporation 1.7.0\_25

If that isn’t checked it works fine with all the others (SQL Bridge, Scripting, Templates, Windows). Any help would be appreciated - thanks!

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [September 11, 2013, 3:54pm UTC](https://forum.inductiveautomation.com/t/find-replace-nullpointerexception/7221/2 "2013-09-11T15:54:52Z")

</div>

Hi,

I believe this was fixed in 7.5.9. Upgrading (probably to the latest, 7.5.10) should take care of this.

Regards,

---

<div class="post-metadata">

**Author:** ![scicco](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@scicco](https://forum.inductiveautomation.com/u/scicco)\
**Post date:** [December 4, 2013, 2:24pm UTC](https://forum.inductiveautomation.com/t/find-replace-nullpointerexception/7221/3 "2013-12-04T14:24:23Z")

</div>

Hi,

I’m still getting this error as of 7.6.4 and it’s still only when I have the SQL Tags checkbox checked:

java.lang.NullPointerException  
at com.inductiveautomation.ignition.designer.sqltags.search.TagSearchProvider$TagIterator.next(TagSearchProvider.java:667)  
at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.advance(SearchObjectAggregator.java:116)  
at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.next(SearchObjectAggregator.java:104)  
at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.next(SearchObjectAggregator.java:86)  
at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.next(SearchObjectAggregator.java:30)  
at com.google.common.collect.Iterators$6.next(Iterators.java:641)  
at com.google.common.collect.Iterators$8.computeNext(Iterators.java:735)  
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)  
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)  
at com.google.common.collect.Lists.newArrayList(Lists.java:144)  
at com.google.common.collect.Iterators.toArray(Iterators.java:401)  
at com.inductiveautomation.ignition.designer.findreplace.SearchReplaceDialog$SearchTask.run(SearchReplaceDialog.java:932)

Ignition v7.6.4 (b2013112117)  
Java: Oracle Corporation 1.7.0\_45

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 4, 2013, 7:31pm UTC](https://forum.inductiveautomation.com/t/find-replace-nullpointerexception/7221/4 "2013-12-04T19:31:39Z")

</div>

Thanks, we’ll take a look at this.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [January 8, 2014, 7:18pm UTC](https://forum.inductiveautomation.com/t/find-replace-nullpointerexception/7221/5 "2014-01-08T19:18:06Z")

</div>

This is fixed for 7.6.5-rc2.
