Automation and navision crash

Wildcard
Member Posts: 26
hello all,
i'm developing a codeunit who use a 3 differents automation. And it pass through a lot.
Sometimes, when i'm executing the codeunit. Navision close without any error. Just ask if I want to send the problem to microsoft.
I execute one times exactly the same code, it's working perfectly. When i execute it maybe 10 times, it's crashing.
I try to do clear(automation) at the begining of the coduenit but it didn't change. Is that possible that too mutch instance of automation is open ?
In wich direction can i try to find something ?
thanks for any clue !
i'm developing a codeunit who use a 3 differents automation. And it pass through a lot.
Sometimes, when i'm executing the codeunit. Navision close without any error. Just ask if I want to send the problem to microsoft.
I execute one times exactly the same code, it's working perfectly. When i execute it maybe 10 times, it's crashing.
I try to do clear(automation) at the begining of the coduenit but it didn't change. Is that possible that too mutch instance of automation is open ?
In wich direction can i try to find something ?
thanks for any clue !
0
Comments
-
it's going to 100% for the CPU but for a short time ... and memory don't really look like too big ...
but it's closing really quickly ...
the program put value in the automation and after use it for formula ... and it's in a timer (bigger timer don't bring something)!
so on every loop, he put value in the automation, and an other automation find this value and calculate it and show it!
and i put in my code more instruction and it's crashing always after one run ! (it does more formula and put more value in memory) ...0 -
-
it's an automation from a "partner" ... and i use it since 1 year ... i never had this problem ...
and it can't be from a value or parameter ... it's when i repeat the same things with the same value it's crashing after a few execution ...
my guess is i have too much information or too much automation open for my system ... is that possible ?0 -
have you tried to clear the variable at the end of codeunit?
It could be you automation that is bugy.0 -
i have made a small step ! i found the trigger who crash !
it's crashing in a trigger of an automation ! who call 2 others automation ... but for both i can't make a clear while i need value before, inside and after ... is that possible that this trigger is too slow and block everything ?
i don't know what hapen with the timer on my form ... because the every 100ms it's calling the function who crash ...
and at this point i have probably 4 automation (i don't know which one are still open)
](*,)
thanks for your help with my unclear problem ... :oops:0 -
The system looks for me too complicated. But yes, the speed can be the problem - may be the processing didn't finish before you fire the next trigger in the timer. Some automations can be buggy and not created for the "quick" processing... ;-)0
-
hum after a lot of try and test, i put it again in the version 5.0 and it's working !
](*,) ](*,) ](*,) ](*,) ](*,)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions