cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Upgraded to 7.3.4 and am receiving an odd error on all grid widgets: "Exception: list.split is not a function" Is there any information on this error and how to resolve it?

gyoung
6-Contributor

Upgraded to 7.3.4 and am receiving an odd error on all grid widgets: "Exception: list.split is not a function" Is there any information on this error and how to resolve it?

All grid widgets in existing mashups are returning this error since upgrading to 7.3.4.

Updated to reflect error message difference from Chrome and Internet Explorer

Chrome error: ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-3". Exception: list.split is not a function

IE error: ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-3". Exception: Object doesn't support property or method 'split'

I am looking for information on this error message and possible resolution.

13 REPLIES 13
ankigupta
5-Regular Member
(To:gyoung)

Gregg Young​,

What was the old version of your ThingWorx from which which you upgraded to 7.3.4

I didn't find this error in PTC articles. So, it seems that it was not reported to PTC before.

Could you please share the export of one of the Mashup containing Grid from previous version to help me check it.

gyoung
6-Contributor
(To:ankigupta)

Ankit --

The attached mashup and associated data table and data shapes were imported to 7.2.2 and run with no errors. On 7.3.4, the mashup indicates the list.split error. Screen shots of the two environments also enclosed

gyoung
6-Contributor
(To:ankigupta)

I have also opened a new case with PTC as this appears to be a new phenomenon that has not been seen yet

posipova
20-Turquoise
(To:gyoung)

What is your tomcat version? Does the problem appear in different browsers?

atahri
4-Participant
(To:gyoung)

Hello, I am having the same problem. Is there any update about thus case ?

Thank you

posipova
20-Turquoise
(To:atahri)

We were not able to reproduce the error. What are the exact versions of yout thingWorx platform and tomcat?

atahri
4-Participant
(To:posipova)

Thingworx 8 and I think Tomcat 8

posipova
20-Turquoise
(To:atahri)

Which exact version of ThingWorx? Do you have any custom extensions imported?

Does it happen in different browsers?

atahri
4-Participant
(To:posipova)

It is Composer 8.0.0-b11

The instance is a remotely accessible PaaS on PTC server. The database in PostgreSQL. So I do not have the information regarding the exact version.

Here is the mashup log

17:04:49 INFO - In-page logger initialized. 

17:04:49 INFO - ThingWorx Mashup Runtime vundefined 

17:04:49 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-27". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:04:49 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-34". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:04:49 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-31". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:04:49 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-45". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:04:50 WARN - runtime not configured for conversion from "NUMBER" to "INTEGER" propertyMap: {"SourceProperty":"Value","SourcePropertyBaseType":"NUMBER","TargetProperty":"programsNumber","TargetPropertyType":"Parameter","TargetPropertyBaseType":"INTEGER"} 

17:04:50 WARN - runtime not configured for conversion from "NUMBER" to "INTEGER" propertyMap: {"SourceProperty":"Value","SourcePropertyBaseType":"NUMBER","TargetProperty":"programsNumber","TargetPropertyType":"Parameter","TargetPropertyBaseType":"INTEGER"} 

17:04:50 WARN - runtime not configured for conversion from "NUMBER" to "INTEGER" propertyMap: {"SourceProperty":"Value","SourcePropertyBaseType":"NUMBER","TargetProperty":"programsNumber","TargetPropertyType":"Parameter","TargetPropertyBaseType":"INTEGER"} 

17:04:50 WARN - runtime not configured for conversion from "NUMBER" to "INTEGER" propertyMap: {"SourceProperty":"Value","SourcePropertyBaseType":"NUMBER","TargetProperty":"programsNumber","TargetPropertyType":"Parameter","TargetPropertyBaseType":"INTEGER"} 

17:04:50 ERROR - paper cleanup error: TypeError: this.paper is undefined 

17:04:50 ERROR - paper cleanup error: TypeError: this.paper is undefined 

posipova
20-Turquoise
(To:atahri)

Do you have any charts in your mashup?

atahri
4-Participant
(To:atahri)

Yes indeed I do have a two pie charts.

but I dont think that it is related because I have the same error in another mushup without piecharts

I have the same error in google chrome, and FireFox ( and just for information FF displays more information in the log than Chrome )

I have exported SmartPropertyGrid_ExtensionPackage, and we do have a home made extension 

  

17:28:39 INFO - In-page logger initialized. 

17:28:39 INFO - ThingWorx Mashup Runtime vundefined 

17:28:40 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-249". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:40 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-250". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:40 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-199". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:40 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-201". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:40 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-242". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:40 WARN - trying to set a parameter that is not defined: "__fromBuilder". Ignoring it 

17:28:40 ERROR - exception in handling a trigger in datamanager.controller.js for def {"Id":"f1c25ddd-5c62-4929-b5f3-9ceb876319e9","Name":"GetImplementingThingsWithData","Characteristic":"Services","Target":"GetImplementingThingsWithData","APIMethod":"post","RefreshInterval":0,"requestNumber":1,"entityTypeToUseIfEntityNameSet":"ThingTemplates","alreadyBeingInvokedDuringMashupLoaded":false,"DataName":"ThingTemplates_DartyThingTemplate","isDestroyed":true} Exception: a is undefined on line number 634 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:41 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-249". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:41 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-250". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:41 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-199". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:41 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-201". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

17:28:41 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-242". Exception: list.split is not a function on line number 8407 in file Combined.8.0.0-b11.20170607.102535.00903.js

posipova
20-Turquoise
(To:atahri)

Previously, the same error was seen due to a pi chart extension and custom extensions simply being imported into the composer. Do you have custom extensions imported?

To try to reproduce this, I would need a full list of your extensions and also, if possible, the problematic entities.

pjoly
11-Garnet
(To:gyoung)

I have the same issue with THX 7.4.9-b47

I do not have pie chart in the associated mashups  but Time Chart or Google Maps

 

 
15:57:50 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-18". 
Exception: list.split is not a function
15:56:25 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-17". 
Exception: list.split is not a function
15:56:25 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-9". 
Exception: list.split is not a function
15:56:25 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-14". 
Exception: list.split is not a function
15:56:25 ERROR - An error occurred while calling dhxgrid::afterRender, Id = "dhxgrid-6". 
Exception: list.split is not a function
 

 

 

 

Top Tags