Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi there,
If I try to delete a layer via Web.Link, Creo crashes with Error
This is the doomed line:
CurModel.GetItemByName(pfcCreate("pfcModelItemType").ITEM_LAYER, wl_unwanted_layers[i]).Delete();
Creo 5.0.5.0 crashes with this error message:
-------------------------------------------------
The trace creation timestamp is: Wed Nov 06 11:39:44 19
The executable build timestamp is: Fri Jun 14 09:40:52 19
The datecode is: 2019080
The pro machine type is: x86e_win64
The process ID is: 10244
The traceback type is : CRASH
The logger exit status is: 00003
The Trail is: trail.txt.206
The release is: 5.0
The product version is: 5.0.5.0
The product title is: Creo Parametric
-------------------------------------------------
Exception EXCEPTION_ACCESS_VIOLATION has occurred in the thread 14208.
Main Thread 14208
=====================
0x00007FF694E364A8 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x4e3add00, 0xa804ff30, 0x0 )
0x00007FF69157C014 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x1, 0x91c1f739, 0xfd7, 0x4e3adbe0 )
0x00007FF691C2A593 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x9dcf92d0, 0xa804ff30, 0xa804ff30, 0x800004 )
0x00007FF691C12D22 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x1, 0x4e3add00, 0x93d19478, 0x4e3add00 )
0x00007FF691C44E07 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x97a10b30, 0x7778e32b, 0x97a935a8, 0x0 )
0x00007FFF77885459 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x3, 0x0, 0x80000001, 0x0 )
0x00007FFF778853A1 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x3, 0x979eceb0, 0x979eceb0, 0x923ce5c6 )
0x00007FFF7788E649 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x979eceb0, 0x0, 0xffffffff, 0x0 )
0x00007FFF778850D5 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x3, 0x0, 0x1, 0x979ecdd0 )
0x00007FFF7788A17F NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x800004, 0x97605d70, 0x0 )
0x00007FFF77889B5B NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x800004, 0x97605d70, 0x1 )
0x00007FFF7788A2C1 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x800004, 0x97605d70, 0x0 )
0x00007FFF7788BABB NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x4e3ae010, 0x9d0b9f60, 0x9fa5f5e8 )
0x00007FFF7788CA37 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x8f4e3acf, 0x3e9, 0x9ddf38b8 )
0x00007FFF7788E649 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x800004, 0x4e3ae1e0, 0x1, 0x8f4e3a70 )
0x00007FFF7789072A NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x1, 0x96efd2f8, 0x96efd2f8, 0x9d1fb4b0 )
0x00007FFF77891E3D NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x4e3ae1e0, 0x1, 0x9d0b9b60, 0x4e3ae1e0 )
0x00007FFF77891B77 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x0, 0x4e3ae1f8, 0x4e3ae130 )
0x00007FFF7788E649 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x4e3ae1e0, 0x7788dbc0, 0x0 )
0x00007FFF7788DBD8 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x1, 0x0, 0x8f4e88cc )
0x00007FFF7788D724 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x4e3ae4f0, 0xffffffff, 0x4e3ae2c9, 0x0 )
0x00007FFF77891ED5 NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x0, 0x0, 0xffffffff )
0x00007FF694D69B65 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x0, 0x4e3ae4f0, 0xa2f55f9b )
0x00007FF694D9F2AA NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x4e3ae4c0, 0xffff, 0x0, 0x4e3ae35c )
0x00007FF694DC0C6D NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x4e3ae610, 0x2, 0x1fff, 0x4e3ae610 )
0x00007FF694DBF6D8 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x4e3ae540, 0x4e3ae610, 0x0 )
0x00007FF694DC1B79 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x4e3ae540, 0x2, 0x4e3ae579 )
0x00007FFFA2F55F9B NULL (NULL:0) (coretools_sh:0x00007FFFA2F10000) ( 0x2e, 0x0, 0x0, 0x4e3ae5a9 )
0x00007FF694DCEF39 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x1, 0x1, 0x0, 0xffffffff )
0x00007FF694D812C1 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0xffffffff, 0x2e, 0x0, 0xffffffff )
0x00007FF694D76AA7 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x1, 0xffffffff, 0x4e3ae730, 0x99f97290 )
0x00007FF694D70304 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x0, 0x0, 0x0 )
0x00007FFFA2F55F9B NULL (NULL:0) (coretools_sh:0x00007FFFA2F10000) ( 0x0, 0x20, 0x80000b, 0x0 )
0x00007FF694D768A8 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0xa804ff30, 0xa804ff30, 0xa804ff30 )
0x00007FF68F95D60F NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x80000b, 0xa804ff30, 0xa804ff30, 0x80000b )
0x00007FF6912837B9 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x1, 0x4e3ae8e0, 0xffffffff, 0x0 )
0x00007FF68F49E8CD NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x2, 0x0, 0x0 )
0x00007FF68F4C0104 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x1001, 0x97605d70, 0x8d9c5c68, 0xffffffff )
0x00007FF68F4DFB56 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x8f3c62f0, 0x9e596f60, 0x6, 0x0 )
0x00007FF68F4E0467 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x9e596f60, 0x4e3aeff0, 0xc, 0xc )
0x00007FF68F3C625D NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x2, 0xffffffff, 0x0, 0xffffffff )
0x00007FF68F3C5759 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x9e596f60, 0x9dcf92d0, 0x800005, 0x800005 )
0x00007FF68F4AEADD NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x778f93c0, 0x778f9298, 0x978dfce0 )
0x00007FFF778874FE NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x0, 0x800005, 0x203ea6, 0x4e3af349 )
0x00007FFF7778E0DF NULL (NULL:0) (libui_sh:0x00007FFF77620000) ( 0x97960840, 0x800005, 0x97605d70, 0x94d74bae )
0x00007FF694588498 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x4e3af580, 0x0, 0x4e3af840, 0x975eb148 )
0x00007FF694583D79 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x4e3af740, 0x4e3af890, 0x975eb100, 0xffffffff )
0x00007FF694D6AE52 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x975eb100, 0x975eb148, 0x0 )
0x00007FF694D6B56E NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x0, 0x24, 0x0 )
0x00007FF694D76AF7 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x1, 0xffffffff, 0x4e3afb30, 0x99f97290 )
0x00007FF694D70304 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x7, 0x8ffb0cc0, 0x0, 0x0 )
0x00007FFFA2F55F9B NULL (NULL:0) (coretools_sh:0x00007FFFA2F10000) ( 0x999183b0, 0x0, 0x4, 0x914f2c8a )
0x00007FF694D768A8 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x0, 0x0, 0x8ffb0cc0 )
0x00007FF68F4E0046 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x9e687fb0, 0x4, 0x0, 0x0 )
0x00007FF68F3DCB6A NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x9e687fb0, 0x0, 0x4, 0x4 )
0x00007FF696874D2A NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x1, 0x4e3afc40, 0x9e687fb0, 0x0 )
0x00007FF696874C2F NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0xa, 0x0, 0x0, 0x0 )
0x00007FF696871157 NULL (NULL:0) (xtop:0x00007FF68E6B0000) ( 0x0, 0x0, 0x0, 0x0 )
0x00007FFFB7187BD4 NULL (NULL:0) (KERNEL32:0x00007FFFB7170000) ( 0x0, 0x0, 0x0, 0x0 )
Does someone know any workarounds?
Solved! Go to Solution.
So it seems, that this was more a Windows issue than a Creo issue.
Two weeks later, this function works almost flawlessly on my machine (after deleting a layer, layer tree does not get refreshed correctly).
In the meantime there were some updates for Windows and Internet Explorer. Maybe that solved the problem.
I attached a sample code, which could (or could not) cause the error mentioned above.
Please consider, that the zip-file does not include mandatory "pfcUtils.js" - file. But there is a description, where to find it on Your machine.
This also effects Creo 6.0.1.0
You can use the "Case Logger" tool on PTC's eSupport site to open technical support case: https://support.ptc.com/apps/case_logger_viewer/auth/ssl/log
Thanks,
I opened a case (at my PTC retailer, because there is no active PTC Support contract).
So it seems, that this was more a Windows issue than a Creo issue.
Two weeks later, this function works almost flawlessly on my machine (after deleting a layer, layer tree does not get refreshed correctly).
In the meantime there were some updates for Windows and Internet Explorer. Maybe that solved the problem.
I attached a sample code, which could (or could not) cause the error mentioned above.
Please consider, that the zip-file does not include mandatory "pfcUtils.js" - file. But there is a description, where to find it on Your machine.