# Find/replace cast a exception

**URL:** <https://forum.inductiveautomation.com/t/find-replace-cast-a-exception/21190>\
**Category:** Ignition\
**Created:** [December 3, 2018, 10:08am UTC](https://forum.inductiveautomation.com/t/find-replace-cast-a-exception/21190 "2018-12-03T10:08:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![winbetho](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@winbetho](https://forum.inductiveautomation.com/u/winbetho)\
**Post date:** [December 3, 2018, 10:08am UTC](https://forum.inductiveautomation.com/t/find-replace-cast-a-exception/21190/1 "2018-12-03T10:08:05Z")

</div>

Hi!

When I use the Find/Replace function i got the following error when I click the Find button,

ERROR com.inductiveautomation.ignition.designer.findreplace.SearchReplaceDialog$SearchTask - null  
java.lang.NullPointerException: null

Our version is 7.9.7 for Ignition Platform

---

<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:** [December 3, 2018, 4:27pm UTC](https://forum.inductiveautomation.com/t/find-replace-cast-a-exception/21190/2 "2018-12-03T16:27:07Z")

</div>

Can you post the full stack trace of the error? In the error dialog, select ‘Details’, then full, then copy the error message and post it here inside three backticks, like this:

````
```
error message
```
````

---

<div class="post-metadata">

**Author:** ![winbetho](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@winbetho](https://forum.inductiveautomation.com/u/winbetho)\
**Post date:** [December 5, 2018, 4:55pm UTC](https://forum.inductiveautomation.com/t/find-replace-cast-a-exception/21190/3 "2018-12-05T16:55:14Z")

</div>

Here it is, I try to search for the word ‘print’ in my open windows.

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\_151

---

<div class="post-metadata">

**Author:** ![winbetho](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@winbetho](https://forum.inductiveautomation.com/u/winbetho)\
**Post date:** [December 10, 2018, 11:50am UTC](https://forum.inductiveautomation.com/t/find-replace-cast-a-exception/21190/4 "2018-12-10T11:50:26Z")

</div>

Any news about this problem?

---

<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:** [December 10, 2018, 4:07pm UTC](https://forum.inductiveautomation.com/t/find-replace-cast-a-exception/21190/5 "2018-12-10T16:07:45Z")

</div>

I can’t really see why this would be erroring out from the stack trace - could you get in contact with support so they can collect some more information and hopefully reproduce, so that we can get it fixed?

---

<div class="post-metadata">

**Author:** ![winbetho](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@winbetho](https://forum.inductiveautomation.com/u/winbetho)\
**Post date:** [December 12, 2018, 7:48am UTC](https://forum.inductiveautomation.com/t/find-replace-cast-a-exception/21190/6 "2018-12-12T07:48:10Z")

</div>

It must be something in this project only, when i open another the find/replace function works. Can it be some binding that is missing due to copy/paste between windows/tabs?

is there a way to verify bindings in a project or window?
