MantisBT - ParaView
View Issue Details
0014888ParaView(No Category)public2014-07-25 15:492015-01-11 08:16
Alan Scott 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
git-master 
4.24.2 
Sandia
14888_fix_state_loading_for_domains
incorrect functionality
0014888: Error output load state, visibility
There is an error output that occurs on load state, with some objects being loaded without visibility. Easy to replicate, as follows:

Local server, master, Linux.

1. start client
2. create plane and sphere w/ defaults
3. make sphere invisible
4. save state
5. delete all
6. load state
7. make sphere visible

You get the following:

ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 324
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 0


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 336
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 0


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 312
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 0


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 324
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 1


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 336
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 1


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 312
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 1


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 324
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 0


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 336
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 0


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 312
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 0


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 324
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 1


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 336
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 1


ERROR: In /projects/viz/paraview/src/ParaView/4.2.0-alan2/ParaView4/ParaViewCore/ServerManager/Core/vtkSMArrayListDomain.cxx, line 312
vtkSMRepresentedArrayListDomain (0x3472220): Index out of range: 1
No tags attached.
related to 0014834closed Utkarsh Ayachit info not updated after visibility change 
related to 0014889closed Utkarsh Ayachit Warning messages from pqDisplayColorWidget on state loading 
Issue History
2014-07-25 15:49Alan ScottNew Issue
2014-07-25 15:50Alan ScottRelationship addedrelated to 0014834
2014-07-25 16:00Alan ScottTarget Version => 4.2
2014-07-26 12:15Utkarsh AyachitRelationship addedrelated to 0014889
2014-07-26 12:16Utkarsh AyachitTopic Name => 14888_fix_state_loading_for_domains
2014-07-26 12:16Utkarsh AyachitNote Added: 0033103
2014-07-26 12:16Utkarsh AyachitStatusbacklog => gatekeeper review
2014-07-26 12:16Utkarsh AyachitFixed in Version => git-next
2014-07-26 12:16Utkarsh AyachitResolutionopen => fixed
2014-07-26 12:16Utkarsh AyachitAssigned To => Utkarsh Ayachit
2014-07-27 11:50Sebastien JourdainStatusgatekeeper review => customer review
2014-07-27 11:50Sebastien JourdainNote Added: 0033104
2014-07-28 15:49Alan ScottNote Added: 0033108
2014-07-28 15:49Alan ScottStatuscustomer review => closed
2014-07-31 09:19Utkarsh AyachitFixed in Versiongit-next => git-master
2014-08-29 10:59Utkarsh AyachitFixed in Versiongit-master => 4.2
2015-01-11 08:16Sebastiennn JourdainSource_changeset_attached => ParaView master 4e0fffc3
2015-01-11 08:16Utkarsh AyachitSource_changeset_attached => ParaView master 48d829b7
2015-01-11 08:16Utkarsh AyachitSource_changeset_attached => ParaView master cf306d20

Notes
(0033103)
Utkarsh Ayachit   
2014-07-26 12:16   
commit cf306d20ca46fb14e538d77f17bb1a8d903aab52
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Sat Jul 26 11:12:10 2014 -0400

    BUG 0014888: Fix state loading errors.
    
    BUG 0014888 was showing up for the following reasons:
    
    The saved XML state had save values for the "ColorArrayName" property's
    domain for the Sphere's representation. When the state was loaded, since
    vtkSMStringListDomain overloaded the LoadState() method, it read the values from
    the XML state. Now, since the state didn't save information about array
    association, when the state was loaded, naturally, vtkSMArrayListDomain subclass
    for this domain didn't have sufficient state and hence when UI tried to get
    information about the arrays, it raised errors.
    
    The problem stemmed from the fact that we shouldn't be reloading state for
    domains from XML (except ProxyListDomain). Domain values are either compile time
    (specified in server manager configuration XML) or run time (determined by run
    time data values). For both cases, loading from XML state doesn't help at all.
    
    Fixed this and update vtkSMDomain to have documentation to keep developers from
    overriding LoadState() accidentally.
    
    Change-Id: I729df876c3762b2a05d8f95a1f8a20ed97359a7d
(0033104)
Sebastien Jourdain   
2014-07-27 11:50   
SUMMARY
---------------------------------------------
Topics merged into master:
        14888_fix_state_loading_for_domains
(VTK) pvweb-visualizer-widgets


---------------------------------------------
Topics reverted from next:
  widen_properties_panel
(0033108)
Alan Scott   
2014-07-28 15:49   
Tested master, Linux, remote server.