Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Cannot read property 'CanInvokeMethod' of null -- PM error in siebel open UI

edited Nov 30, 2018 12:26AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 4 commentsAnswered

Hi,

We are trying to run a custom PM file and it is error out in console page as below.

Cannot read property 'CanInvokeMethod' of null -- PM error in siebel open UI

I'm attaching my PM file here. Can you please let us know if anybody come across this issue earlier.

************************************************************************

if (typeof(SiebelAppFacade.OrderStatusPModel) === "undefined") {

    SiebelJS.Namespace("SiebelAppFacade.OrderStatusPModel");

    console.log("inside pmodel namespace");

    SiebelApp.S_App.RegisterConstructorAgainstKey("OrderStatusPhysicalModel","SiebelAppFacade.OrderStatusPModel");

        SiebelAppFacade.OrderStatusPModel = (function() {

            function OrderStatusPModel(proxy) {

                console.log("inside pmodel");

                SiebelAppFacade.OrderStatusPModel.superclass.constructor.call(this, proxy);

            }

            // To pass array of arguments, use 'apply' instead of 'call'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center