PDA

View Full Version : Error 4402 (what again?)



Jim Albright
26-May-2015, 01:17 PM
DF 18.1 B1
PSQL 11.2

Error # 4402 "View stack object missing in application using drill down style. Error #4402 in line: 19681.

MSG_ENd_construct_object (459) - oEntityZoom2 (113) - at addrss 19681.


Object oActionGroup is a cWebMenuGroup


Object oSaveBtn is a cWebMenuItem
Set psCSSClass to "WebSaveMenuItem"
Set psCaption to "Save"


Procedure OnClick
Send Request_Save
End_Procedure


End_Object


Object oEditBtn is a cWebMenuItem
Set psCSSClass to "WebEditMenuItem"
Set psCaption to "Edit"
Procedure OnClick
Send ChangeEditMode True
Send SetActionButtons
End_Procedure


End_Object


Object oDeleteBtn is a cWebMenuItem
Set psCSSClass to "WebDeleteMenuItem"
Set psCaption to "Delete"
Set peActionDisplay to adMenu


Procedure OnClick
Send Request_Delete
End_Procedure


End_Object


Object oCancelChangesBtn is a cWebMenuItem
Set psCSSClass to "WebRefreshMenuItem"
Set psCaption to "Clear Changes"
Set peActionDisplay to adMenu
Procedure OnClick
Send RefreshRecord
End_Procedure


End_Object
End_Object <<error message occurs here!




Error occurs in cWebView.Pkg on line 2053 at view creation before anything displays.
I am unable to find the source of this error. Tried commenting various lines in the source above but without success.

Dennis Piccioni
26-May-2015, 01:22 PM
Hi Jim,

try comparing your WebApp.src file to the one in the WebOrderMobile workspace. You might be missing a cWebViewStack object, or it could be in the wrong place (http://support.dataaccess.com/Forums/showthread.php?56057-View-stack-Object-missing-using-drill-down-style&p=293185&highlight=View+stack+object+missing#post293185).

FrankValcarcel
26-May-2015, 02:07 PM
The wizards in 18.1B put the USE newview ahead of the Viewstack object. Either register viewstack up top or move the use.
fv

Dennis Piccioni
26-May-2015, 02:20 PM
Hi Frank,

that's not the case in my experience. Do you have a way to reproduce this?

FrankValcarcel
26-May-2015, 03:49 PM
Sent

Jim Albright
26-May-2015, 04:13 PM
Actually, I added the 2 views to the wrong webapp.src (the one for a regular webapp instead of a mobile app). Discovered my error and fixed.