A couple of strange TM1 bugs
Posted: Wed Feb 18, 2015 5:04 pm
So I have come across two very annoying TM1 bugs in the past few days. Thought I'd share and see if anyone else has had the same experiences.
Problem 1
I'm not sure exactly what conditions cause this, but it seems TI processes with lots of parameters cause Action Buttons in TM1Web / Contributor to spaz out. Instead of running the process, I get a message "Process failed null".
These processes run fine from Perspectives, or when triggered manually, so it's something to do with passing parameters. I have had it happen when I have tried to map more than around 13 - 14 parameters to websheet cells, but it also seems to occur when there's just a large number of parameters, mapped to cells or not.
For instance, I have just had it happen with a process that has only 12 parameters, all set to blank in the action button, but if I hard code the parameter values, it's all good again. It's driving me mad! If anyone can advise what's going on, it would be much appreciated.
Problem 2
This issue is more serious. It seems if I run a TI process that calls many other TI processes (say, in a loop within the data tab), it will eventually crash the server. It also causes all kinds of strange problems on my laptop, like flickering screen, graphics card driver crashes, and even once I saw a blue screen of death!
The only thing I know about this process that might make it unique is that it calls some library functions I wrote that manipulate strings and return them in global variables. It also calls the EXPAND function within the loop.
If I disable these calls, it seems to remain more stable (and run significantly faster). It also seems to last longer if I disable Aero theme in Windows 7, but it still does crash eventually.
It's most likely some sort of memory leak issue based on the unpredictability of the symptoms, but why? Is it the global variables, passing and manipulating long (ish) strings, or looping within the Data tab ?
This is TM1 10.2, no patches or fixpacks installed.
Would appreciate any advice, or just sympathy and a shoulder to cry on... !
Problem 1
I'm not sure exactly what conditions cause this, but it seems TI processes with lots of parameters cause Action Buttons in TM1Web / Contributor to spaz out. Instead of running the process, I get a message "Process failed null".
These processes run fine from Perspectives, or when triggered manually, so it's something to do with passing parameters. I have had it happen when I have tried to map more than around 13 - 14 parameters to websheet cells, but it also seems to occur when there's just a large number of parameters, mapped to cells or not.
For instance, I have just had it happen with a process that has only 12 parameters, all set to blank in the action button, but if I hard code the parameter values, it's all good again. It's driving me mad! If anyone can advise what's going on, it would be much appreciated.
Problem 2
This issue is more serious. It seems if I run a TI process that calls many other TI processes (say, in a loop within the data tab), it will eventually crash the server. It also causes all kinds of strange problems on my laptop, like flickering screen, graphics card driver crashes, and even once I saw a blue screen of death!
The only thing I know about this process that might make it unique is that it calls some library functions I wrote that manipulate strings and return them in global variables. It also calls the EXPAND function within the loop.
If I disable these calls, it seems to remain more stable (and run significantly faster). It also seems to last longer if I disable Aero theme in Windows 7, but it still does crash eventually.
It's most likely some sort of memory leak issue based on the unpredictability of the symptoms, but why? Is it the global variables, passing and manipulating long (ish) strings, or looping within the Data tab ?
This is TM1 10.2, no patches or fixpacks installed.
Would appreciate any advice, or just sympathy and a shoulder to cry on... !