JSViz Problems with Spotfire 7.6
Last updated:
2:09pm Aug 04, 2016

 

Users of the JavaScript Visualization Framework (JSViz) that upgrade to Spotfire 7.6 may encounter some showstopper problems:

  1. Errors when saving a DXP file containing a JSViz visualization
  2. Problems opening any existing DXP files in the Web Player
  3. Errors when attenpting to upgrade a Web Player or Automation Services instances

The solution to these problems requires the following two actions:

  1. Upgrade JSViz to Version 3.4.0.3 or higher - https://community.tibco.com/wiki/javascript-visualization-framework-jsviz
  2. Install Spotfire 7.6 Hotfix 3 or higher - http://support.spotfire.com/patches_spotfire.asp#spotfire76

JSViz 3.4.0.3 has been validated as working with Spotfire 7.6 Hotfix 3.

Feedback (1)

Hi Dave,

 

I really appreciate your time!!!

 

Yes, I followed you, while clicking on the JSViz, I went to Edit->Properties (attached image) and I was able to see the properties now. But when I trying to save the dxp it shows error (below)

 

Error message: Unable to save the file Financial Dashboard v7.6.dxp.

 

SerializationException at Spotfire.Dxp.Framework:

DataViewColumnProducer should not be in the tree.

Object reference chain leading to the fault (closest reference first):

 

    Spotfire.Dxp.Application.Document.DataManager

(HRESULT: 8013150C)

 

Stack Trace:

   at Spotfire.Dxp.Framework.Persistence.Xml.SerializationFormatter.Serialize(Object graph)

   at Spotfire.Dxp.Framework.Persistence.Xml.XmlFormatter.Serialize(Stream serializationStream, Object graph, StreamingContext context, PrunerBase pruner)

   at Spotfire.Dxp.Framework.Persistence.PersistenceManager.<>c__DisplayClassf.<Save>b__7()

   at Spotfire.Dxp.Framework.ApplicationModel.Progress.ExecuteSubtask(String title, ProgressOperation operation)

   at Spotfire.Dxp.Framework.Persistence.PersistenceManager.Save(DocumentTypes documentType, DocumentNode doc, IDocumentSaveSettings settings, Stream targetStream)

   at Spotfire.Dxp.Framework.Persistence.PersistenceManager.Save(DocumentTypes documentType, DocumentNode doc, IDocumentSaveSettings settings, String fileName)

   at Spotfire.Dxp.Framework.DocumentModel.DocumentManager`1.<>c__DisplayClass2.<Save>b__1()

   at Spotfire.Dxp.Forms.Application.FormsProgressService.ProgressThread.DoOperationLoop()

 

 

InvalidOperationException at Spotfire.Dxp.Data:

DataViewColumnProducer should not be in the tree. (HRESULT: 80131509)

 

Stack Trace:

   at Spotfire.Dxp.Data.Producers.DataViewColumnProducer.CanUseLinkedData()

   at Spotfire.Dxp.Data.DataTable.EmbedAllSourceData()

   at Spotfire.Dxp.Data.DataTable.Spotfire.Dxp.Data.Persistence.IPersistentDataProvider.GetPersistentData(PersistentDataContainerBuilder container)

   at Spotfire.Dxp.Framework.DocumentModel.Node.ForEachNodeInSubTree(Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.UndoableListAvlNode`1.ForEachChild(Action`1 action, Boolean includeFrozen)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Framework.DocumentModel.State.NodeState.ForEachChild(IDocumentNodeChild[] children, Action`1 action)

   at Spotfire.Dxp.Data.DataManager.GetObjectData(SerializationInfo info, StreamingContext context)

   at Spotfire.Dxp.Framework.DocumentModel.Node.System.Runtime.Serialization.ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)

   at Spotfire.Dxp.Framework.Persistence.PersistenceManager.GetObjectData(Object obj, SerializationInfo info, PrunerBase pruner, StreamingContext context)

   at Spotfire.Dxp.Framework.Persistence.PersistenceManager.GetSerializationInfo(Object obj, Type objType, PrunerBase pruner, StreamingContext context)

   at Spotfire.Dxp.Framework.Persistence.Xml.SerializationFormatter.SerializeObject(Int64 id, Object obj, Type objType)

   at Spotfire.Dxp.Framework.Persistence.Xml.SerializationFormatter.SerializeReferencedAggregateWitdId(Int64 id, Object obj, Boolean nonOwningReferenceArrayFlag)

   at Spotfire.Dxp.Framework.Persistence.Xml.SerializationFormatter.SerializeDocumentNodeWhileSaving(Node node, ReferenceInfo referenceInfo)

   at Spotfire.Dxp.Framework.Persistence.Xml.SerializationFormatter.SerializeField(String name, Object obj, Type declaredFieldType, String containingObjTypeName)

 

I found one hotfix for 7.6 (TS_7.6.0.49 HF-006) link - http://support.spotfire.com/patches_spotfire.asp#spotfire76

 

I am running trial version of Spotfire desktop 7.6, so you’re saying that the above would not work with my version? Please confirm as I don't have much knowledge about all this and wanted to know before I try above hotfix. If it is impossible then there is no sense to go through the process above. Let me know.

 

 

 

Best,

Keyur Parekh

 

 

 

bunty1244 1:49pm Sep. 02, 2016