# ResampleWithDataset crashes if "Categorical Data" is selected

**URL:** https://discourse.paraview.org/t/resamplewithdataset-crashes-if-categorical-data-is-selected/10008
**Category:** ParaView Support
**Created:** [July 14, 2022, 9:50pm UTC](https://discourse.paraview.org/t/resamplewithdataset-crashes-if-categorical-data-is-selected/10008 "2022-07-14T21:50:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rconway91](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/3ec8ea/32.png) [@rconway91](https://discourse.paraview.org/u/rconway91)
#### Post date: [July 14, 2022, 9:50pm UTC](https://discourse.paraview.org/t/resamplewithdataset-crashes-if-categorical-data-is-selected/10008/1 "2022-07-14T21:50:39Z")

</div>

I am trying to resample categorical data (ore body volumes 1, …, n) to an unstructured grid.

I used PassArrays to filter out all fields in my ore body geometry except the ore body id field (values are 1 through 6).

I don’t want the field representing the ore body number to be interpolated, so I select “Categorical Data”. However, this causes Paraview to crash.

---

<div class="post-metadata">

### Author: ![Francois\_Mazen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/francois_mazen/32/6483_2.png) [@Francois\_Mazen](https://discourse.paraview.org/u/Francois_Mazen)
#### Post date: [July 18, 2022, 7:26am UTC](https://discourse.paraview.org/t/resamplewithdataset-crashes-if-categorical-data-is-selected/10008/2 "2022-07-18T07:26:59Z")

</div>

What ParaView version are you using?

Could you please share data and pipeline to reproduce the crash?
