View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014888ParaView(No Category)public2014-07-25 15:492015-01-11 08:16
ReporterAlan Scott 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit-master 
Target Version4.2Fixed in Version4.2 
Summary0014888: Error output load state, visibility
DescriptionThere 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
TagsNo tags attached.
ProjectSandia
Topic Name14888_fix_state_loading_for_domains
Typeincorrect functionality
Attached Files

 Relationships
related to 0014834closedUtkarsh Ayachit info not updated after visibility change 
related to 0014889closedUtkarsh Ayachit Warning messages from pqDisplayColorWidget on state loading 

  Notes
(0033103)
Utkarsh Ayachit (administrator)
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 (manager)
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 (manager)
2014-07-28 15:49

Tested master, Linux, remote server.

 Issue History
Date Modified Username Field Change
2014-07-25 15:49 Alan Scott New Issue
2014-07-25 15:50 Alan Scott Relationship added related to 0014834
2014-07-25 16:00 Alan Scott Target Version => 4.2
2014-07-26 12:15 Utkarsh Ayachit Relationship added related to 0014889
2014-07-26 12:16 Utkarsh Ayachit Topic Name => 14888_fix_state_loading_for_domains
2014-07-26 12:16 Utkarsh Ayachit Note Added: 0033103
2014-07-26 12:16 Utkarsh Ayachit Status backlog => gatekeeper review
2014-07-26 12:16 Utkarsh Ayachit Fixed in Version => git-next
2014-07-26 12:16 Utkarsh Ayachit Resolution open => fixed
2014-07-26 12:16 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2014-07-27 11:50 Sebastien Jourdain Status gatekeeper review => customer review
2014-07-27 11:50 Sebastien Jourdain Note Added: 0033104
2014-07-28 15:49 Alan Scott Note Added: 0033108
2014-07-28 15:49 Alan Scott Status customer review => closed
2014-07-31 09:19 Utkarsh Ayachit Fixed in Version git-next => git-master
2014-08-29 10:59 Utkarsh Ayachit Fixed in Version git-master => 4.2
2015-01-11 08:16 Sebastiennn Jourdain Source_changeset_attached => ParaView master 4e0fffc3
2015-01-11 08:16 Utkarsh Ayachit Source_changeset_attached => ParaView master 48d829b7
2015-01-11 08:16 Utkarsh Ayachit Source_changeset_attached => ParaView master cf306d20


Copyright © 2000 - 2018 MantisBT Team