# error when reloading state that opens a cube file

**URL:** https://discourse.paraview.org/t/error-when-reloading-state-that-opens-a-cube-file/171
**Category:** ParaView Support
**Created:** [June 13, 2018, 5:03pm UTC](https://discourse.paraview.org/t/error-when-reloading-state-that-opens-a-cube-file/171 "2018-06-13T17:03:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Robert\_Olsen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/robert_olsen/32/79_2.png) [@Robert\_Olsen](https://discourse.paraview.org/u/Robert_Olsen)
#### Post date: [June 13, 2018, 5:03pm UTC](https://discourse.paraview.org/t/error-when-reloading-state-that-opens-a-cube-file/171/1 "2018-06-13T17:03:26Z")

</div>

Hi everyone,

A pipeline made up of a Gaussian cube reader followed by a contour filter displays an isosurface as expected. Saving and reloading the state produces a representation of the cube file but not the isosurface and displays the message

ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release\_superbuild/build/superbuild/paraview/src/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 809  
vtkPVDataRepresentationPipeline (0x30a66f0): Input for connection index 0 on input port index 0 for algorithm vtkDataLabelRepresentation(0x45e5570) is of type vtkDataObject, but a vtkDataSet is required.

I’ve attached the cube file and the state file. Any help will be appreciated.

Bob

[orbital01.tar.gz](https://discourse.paraview.org/uploads/default/original/1X/5e78a691ca5d6c461ec594878c2349964fff395c.gz) (108.8 KB)

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [June 14, 2018, 1:04am UTC](https://discourse.paraview.org/t/error-when-reloading-state-that-opens-a-cube-file/171/2 "2018-06-14T01:04:30Z")

</div>

I can reproduce the issue. Not sure what’s the problem off the top of my head, but sounds like a multi-output port issue. I’ve reported a [bug](https://gitlab.kitware.com/paraview/paraview/issues/18243).

---

<div class="post-metadata">

### Author: ![Robert\_Olsen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/robert_olsen/32/79_2.png) [@Robert\_Olsen](https://discourse.paraview.org/u/Robert_Olsen)
#### Post date: [June 14, 2018, 2:30pm UTC](https://discourse.paraview.org/t/error-when-reloading-state-that-opens-a-cube-file/171/3 "2018-06-14T14:30:43Z")

</div>

Thanks, Utkarsh, for looking into this so quickly and submitting a bug report. – Bob

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [June 17, 2018, 3:57pm UTC](https://discourse.paraview.org/t/error-when-reloading-state-that-opens-a-cube-file/171/4 "2018-06-17T15:57:03Z")

</div>

Bob, looks like there’s a fix already in `master` for this. Should be fixed in 5.6. If you want, you can you try with nighly binaries newer than `v5.5.1-478-g714b870`.
