Skip to main content
February 21, 2017
Solved

Error:Cannot read property 'length' of undefined

  • February 21, 2017
  • 3 replies
  • 4547 views

thingworx.png

Here for each row of the list, I have binded with individual mashups. But when I choose further rows, other than blog ,it flickers among other rows and also getting error as

15:07:08 ERROR - exception in handling a trigger in datamanager.controller.js for def {"Id":"40616143-a093-4cca-87db-8e0bd8357f6b","Name":"database_count","Characteristic":"Services","Target":"database_count","APIMethod":"post","RefreshInterval":0,"requestNumber":1,"entityTypeToUseIfEntityNameSet":"Things","alreadyBeingInvokedDuringMashupLoaded":false,"DataName":"Things_things_data","isDestroyed":true} Exception: Cannot read property 'length' of undefined

Best answer by

Nothing I did!! but now it is working fine. I think it's all because of the problem with the server.

Not sure!!!

3 replies

20-Turquoise
February 21, 2017

What version of thingworx is this? Also, what browser -  please check the behavior in a different browser?

Could you please provide some more details on your bound mashups? I see you have a list and then selected row logic.It would be very helpful to see the full structure of your bindings. Perhaps there is some service input/output type mismatch? Seems like one of the services might be manipulating a property named "length" but its type not being defined within the service.

EDIT: Do you have any custom widgets installed?

5-Regular Member
February 21, 2017

Bavithraa, just to check is the service getting all the things from the database is working fine otherwise, for e.g. if you'll test the service do you get valid result? What sort of service is this, SQL or JS?

Answer
February 22, 2017

Nothing I did!! but now it is working fine. I think it's all because of the problem with the server.

Not sure!!!