PDA

View Full Version : 4399 error



FrankValcarcel
22-May-2015, 04:15 PM
Error occurred right after setting background color on a cWebTabpage to "ltgrey" in studio (18.1 web) and clicking in the previewer

C:\vdf18B1\Bin\Studio.exe
COM object method invocation error. Invalid CDS node handle
Error: 4399
Please report this error to Data Access Corporation
GET_COMGETPARENT (11835) - oCDS (2923) - at address 84201
GET_TREENODEMATCHINGCDSNODE (16320) - oTree (2946) - at address 198795
MSG_ONCHANGECURRENTNODE (12560) - oCodeExplorer (2922) - at address 198927
MSG_SETCURRENTNODES (12581) - oFileVDF (3730) - at address 89854
GET_EXECUTE@1 (11960) - oStudioCommand (764) - at address 135460
MSG_ONCOMMAND@2 (11977) - oActionManager (611) - at address 85283
MSG_ONCOMMANDSTRING (11978) - oActionManager (611) - at address 85301
MSG_ONIDLE (1564) - oMain (774) - at address 150555
[start] - at address 236275

Harm Wibier
3-Jun-2015, 04:51 AM
I am unable to reproduce the error you have (I have a newer build so it might be fixed). But you cannot use DataFlex RGB color on the color properties of the web framework. They expect strings containing CSS color values which can be names ("red") or hex values ("#FF0000) or RGB ("RGB(255, 0, 0)"). It is pretty straight forward to convert DataFlex RGB colors (see below).



Procedure OnLoad
Forward Send OnLoad

Set psBackgroundColor to (SFormat("RGB(%1,%2,%3)", R_From_RGB(clAqua), G_From_RGB(clAqua), B_From_RGB(clAqua)))
End_Procedure

FrankValcarcel
4-Jun-2015, 06:31 PM
Hi Harm,
I get this error very frequently in many situations. Usually with the previewer up, but also without. Anything I can do to help narrow it down?

Harm Wibier
5-Jun-2015, 08:43 AM
If you can narrow down specific steps to reproduce them we are very interrested!

Oscar
5-Jun-2015, 11:21 AM
I have also been getting the same error... Always the previewer up and when clicking on objects and double-clicking and changing code and choosing other objects...
I'll see if I can make it happen at will, but so far is what I got.

Regards,
Oscar

Sture
5-Jun-2015, 01:47 PM
IF

you open the WebOrderMobile workspace
and you open the WebApp.src in the editor
and you activate the designer
and you click the hamburger menu
and you click one of the items in the menu

THEN

you will get a script error
and an error 4399 "COM object method invocation error"

-Sture

FrankValcarcel
6-Jun-2015, 01:32 PM
Edited for an hour. Copied a tab page in the editor (to create a new one), renamed object name of new tab. Changed label of new tab, clicked in previewer - error.

FrankValcarcel
7-Jun-2015, 06:03 PM
18.1
Created two html boxes across top of view
Tried to adjust height in properties pane
Typed 20 which caused field to be 020
Tried to delete the leading 0 and got:
C:\vdf18B1\Bin\Studio.exe
COM object method invocation error. Invalid use of UpdateNode in current state
Error: 4399
Please report this error to Data Access Corporation
MSG_COMUPDATENODE (11832) - oCDS (3267) - at address 84178
GET_PROPERTYCONTROLITEMVALUECHANGED (16685) - oTabDialogPropertiesPage (3278) - at address 211143
GET_PROPERTIESPANELNOTIFY (1601) - oCommonProperties (3279) - at address 210202
MSG_BEGINUPDATE (1588) - oCommonProperties (3279) - in native code
MSG_ADDPROPERTIES (16699) - oTabDialogPropertiesPage (3278) - at address 212212
MSG_INITIALIZEDATA (10767) - oTabDialogPropertiesPage (3278) - at address 212280
MSG_REFRESHDATA (16654) - oTabDialogPropertiesPage (3278) - at address 210298
MSG_UPDATEPROPERTYPANEL (16802) - oPropertiesPanel (3266) - at address 215028
MSG_ONCHANGECURRENTNODE (12560) - oPropertiesPanel (3266) - at address 215237
MSG_SETCURRENTNODES (12581) - oFileVDF (3709) - at address 89854
MSG_ONITEMCHANGED (7383) - oTree (2946) - at address 198549
MSG_NOTIFY (723) - oTree (2946) - at address 34852
MSG_WINDOWS_MESSAGE (690) - oTree (2946) - in native code
MSG_DODELETEITEM (7378) - oTree (2946) - at address 34559
MSG_ONCOMDELETENODE (11871) - oCodeExplorer (2922) - at address 199088
MSG_ONCOMDELETENODE (11871) - oCDS (2923) - at address 89103
GET_INVOKECOMMETHOD (1374) - oDispatchDriver (3480) - in native code
MSG_COMDELETENODE (11831) - oCDS (3479) - at address 84169
GET_REQUESTDELETE (12658) - oWebAppDesigner (3478) - at address 225987
GET_REQUESTDELETE (12658) - oComWebBrowser (3484) - in native code
GET_EXECUTE@0 (11959) - oStudioCommand (638) - at address 129893
MSG_ONSHORTCUT (11961) - oStudioCommand (638) - at address 85159
MSG_PROCESS_ACCELERATOR (455) - oComWebBrowser (3484) - in native code
[start] - at address 236275