# NullPointerException when using Find/Replace on all windows in project

**URL:** <https://forum.inductiveautomation.com/t/nullpointerexception-when-using-find-replace-on-all-windows-in-project/19560>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [September 6, 2018, 2:10pm UTC](https://forum.inductiveautomation.com/t/nullpointerexception-when-using-find-replace-on-all-windows-in-project/19560 "2018-09-06T14:10:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pandreoli](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@pandreoli](https://forum.inductiveautomation.com/u/pandreoli)\
**Post date:** [September 6, 2018, 2:10pm UTC](https://forum.inductiveautomation.com/t/nullpointerexception-when-using-find-replace-on-all-windows-in-project/19560/1 "2018-09-06T14:10:49Z")

</div>

Trying to search across all windows in the project results in this error. I can narrow it down to a few windows that cause it, when I leave them out of the selection it works fine. I cant figure out what about those windows causes this.  
Heres the error message

```auto
java.lang.NullPointerException
	at com.inductiveautomation.factorypmi.application.binding.SQLPropertyAdapter.getBindingConfiguration(SQLPropertyAdapter.java:117)
	at com.inductiveautomation.factorypmi.designer.search.ComponentCursor$BindingIterator.next(ComponentCursor.java:152)
	at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.advance(SearchObjectAggregator.java:119)
	at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.next(SearchObjectAggregator.java:107)
	at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.next(SearchObjectAggregator.java:89)
	at com.inductiveautomation.ignition.designer.findreplace.SearchObjectAggregator.next(SearchObjectAggregator.java:31)
	at com.google.common.collect.Iterators$5.next(Iterators.java:558)
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:651)
	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.Iterators.addAll(Iterators.java:361)
	at com.google.common.collect.Lists.newArrayList(Lists.java:160)
	at com.google.common.collect.Iterators.toArray(Iterators.java:344)
	at com.inductiveautomation.ignition.designer.findreplace.SearchReplaceDialog$SearchTask.run(SearchReplaceDialog.java:935)

Ignition v7.9.7 (b2018032914)
Java: Oracle Corporation 1.8.0_181

```

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 6, 2018, 2:14pm UTC](https://forum.inductiveautomation.com/t/nullpointerexception-when-using-find-replace-on-all-windows-in-project/19560/2 "2018-09-06T14:14:13Z")

</div>

Can you open a support ticket? You’ll probably need to send in your project, and then the support engineers can take a look and figure out what’s going on (or, forward it on to me so I can).  
Based on your version, I would suggest starting with an upgrade to 7.9.9, then going into any of the windows you know are broken and edit -\> saving any SQL query bindings (without making any changes).

---

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [September 6, 2018, 3:18pm UTC](https://forum.inductiveautomation.com/t/nullpointerexception-when-using-find-replace-on-all-windows-in-project/19560/3 "2018-09-06T15:18:36Z")

</div>

A little off topic here but I was wondering, does 8.0 include any changes to the find & replace feature? I feel like there are several improvements that could be made to it that would be really cool to see in the next version.

---

<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:** [September 6, 2018, 4:43pm UTC](https://forum.inductiveautomation.com/t/nullpointerexception-when-using-find-replace-on-all-windows-in-project/19560/4 "2018-09-06T16:43:39Z")

</div>

Make sure you make those suggestions at [the ideas forum](http://ideas.inductiveautomation.com) 🙂
