Hi Tyler,
I'm also getting the same error as well as the following errors:
TypeError: bookingSetupMetadata is null
TypeError: Cannot read property 'get' of null
TypeError: Unable to get property 'get' of undefined or null reference
{object Object}
The bookingSetupMetadata was not "null" on the resource requirement. Once I removed the bookingSetupMetadata lookup and readded the same entity record, this error was resolved. So not too sure what is going on there.
As for the type errors where the read property is 'null' and [object Object]
I noticed that with the read property it was coming through, it was failing on the following Jscript webresource: msdyn_/fps/ScheduleBoard/SchPage.js
CrashReport:
FileName:/%7B636854384890002048%7D/WebResources/msdyn_/fps/ScheduleBoard/SchPage.js
LineNumber:52735
Function:
ErrorReport:<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<OriginContext></OriginContext>
<OriginCorrelationId>undefined</OriginCorrelationId>
<ScriptErrorDetails>
<Message>Unable to get property 'length' of undefined or null reference</Message>
<Line>52735</Line>
<URL>/%7B636854384890002048%7D/WebResources/msdyn_/fps/ScheduleBoard/SchPage.js?ver=0</URL>
<PageURL>/%7B636854384890002048%7D/WebResources/msdyn_/fps/ScheduleBoard/scheduleboard.html#tab=62159fef-f016-e911-a955-000d3a454e11</PageURL>
<Function></Function>
<FunctionRaw></FunctionRaw>
<SourceScriptName></SourceScriptName>
<CallStack>
TypeError: Unable to get property 'length' of undefined or null reference at Anonymous function (https://n
Then, for the [object Object]
[object Object]
{
[functions]: ,
$applyConfigs: true,
$className: "Ext.tab.Panel",
$configPrefixed: false,
$configStrict: false,
$elementEventOptions: { },
$eventedController: { },
$eventOptions: { },
$hasDelegatedListeners: { },
$links: null,
$observableInitialized: true,
$observableMixedIn: 1,
$orderToPriority: { },
__proto__: { },
_alignRe: [regex] /^([a-z]+)-([a-z]+)([?!])?$/,
_applyDefaultsOptions: { },
_ariaAttributes: null,
_asLayoutRoot: { },
_bind: null,
_borderRegionInited: true,
_controller: null,
_defaultTabRotation: { },
_fixedLayerCls: "x-fixed-layer",
_isLayoutRoot: false,
_keyHandlers: null,
_layerCls: "x-layer",
_ltrCls: "x-ltr",
_noMargin: { },
_notAsLayoutRoot: { },
_positionTopLeft: [ ],
_publishes: null,
_reference: null,
_renderState: 1,
_rtlCls: "x-rtl",
_scrollableCfg: { },
_scrollFlags: { },
_session: null,
_showContext: { },
_twoWayBindable: null,
_viewModel: null,
_visModeMap: { },
activeCounter: 0,
activeTab: { },
activeUI: "default",
alias: [ ],
alignOnScroll: true,
alignTarget: null,
allowDomMove: true,
alternateClassName: [ ],
alwaysOnTop: false,
animateShadow: false,
animCollapse: false,
ariaAttributes: null,
ariaEl: "el",
ariaRenderAttributes: { },
ariaRole: "region",
ariaStaticRoles: { },
ariaUsesMainElement: true,
autoDestroy: true,
autoGenId: false,
autoRender: false,
autoShow: false,
baseCls: "x-panel",
bbar: null,
bind: null,
bodyPosProps: { },
bodyStyle: "background-color: transparent; border-width:0px;",
border: true,
borderBoxCls: "x-border-box",
buttons: null,
childEls: { },
closable: false,
closeAction: "destroy",
closeToolText: "Close Panel",
collapsed: false,
collapsedCls: "collapsed",
collapseDirection: "top",
collapseFirst: true,
collapseToolText: "Collapse Panel",
collapsible: undefined,
componentCls: "x-panel",
componentLayout: { },
componentLayoutCounter: 0,
config: { },
constrain: false,
constrainHeader: false,
contentPaddingProperty: "bodyPadding",
controller: null,
data: null,
defaultAlign: "c-c",
defaultBindProperty: "title",
defaultConfig: { },
defaultDockWeights: { },
defaultIdPrefix: "ext-",
defaultIdSeparator: "-",
defaultListenerScope: false,
defaultType: "panel",
deferLayouts: false,
deferredRender: true,
destroyed: false,
detachOnRemove: true,
disabled: false,
disabledCls: "x-item-disabled",
disabledRe: [regex] /^(?:button|input|select|textarea|optgroup|option|fieldset)$/i,
dockedItems: { },
dockOrder: { },
draggable: false,
emptyArray: [ ],
eventedBeforeEventNames: { },
events: { },
eventsSuspended: 0,
expandToolText: "Expand Panel",
fbar: null,
floatable: true,
floating: false,
focusable: false,
focusCls: "focus",
focusOnToFront: true,
frame: undefined,
frameCls: "x-frame",
frameElNames: [ ],
frameHeader: true,
frameIdRegex: [regex] /[\-]frame\d+[TMB][LCR]$/,
frameInfoCache: { },
frameSize: null,
frameTableTpl: [ ],
frameTpl: [ ],
glyph: null,
hasFocus: false,
hasListeners: { },
headerPosition: "top",
hidden: false,
hiddenOnCollapse: { },
hideCollapseTool: false,
hideMode: "display",
hierarchyEventSource: { },
horizontalDocks: 0,
horizontalPosProp: "left",
icon: null,
iconAlign: "left",
iconCls: null,
id: "TopTabPanel",
idCleanRegex: [regex] /\.|[^\w\-]/g,
inheritedState: { },
inheritedStateInner: { },
initialConfig: { },
isAnimate: true,
isCenter: true,
isComponent: true,
isConfiguring: false,
isContainer: true,
isDockingContainer: true,
isFirstInstance: true,
isHorz: false,
isIdentifiable: true,
isInstance: true,
isObservable: true,
isPanel: true,
isQueryable: true,
isVert: false,
isViewportBorderChild: true,
itemCls: "x-tabpanel-child",
items: { },
keyHandlers: null,
layout: { },
layoutCounter: 0,
layoutSuspendCount: 0,
lbar: null,
liquidLayout: false,
listeners: null,
loader: null,
managedListeners: [ ],
manageHeight: true,
manageLayoutScroll: true,
maskElement: "el",
maskOnDisable: true,
maxHeight: null,
maxTabWidth: undefined,
maxWidth: null,
minButtonWidth: 75,
minHeight: null,
minTabWidth: undefined,
minWidth: null,
mixinConfig: { },
mixins: { },
nonMaskableRe: [regex] /^(?:input|select|textarea|optgroup|option|table)$/i,
offsetsCls: "x-hidden-offsets",
ownerCt: { },
ownerLayout: { },
placeholderCollapseHideMode: 1,
plain: false,
plugins: [ ],
pluginsInitialized: true,
preventChildDisable: false,
preventDefaultAlign: false,
preventHeader: false,
protoBody: { },
protoEl: { },
publishes: null,
rbar: null,
reference: null,
referenceHolder: false,
region: "center",
removePanelHeader: true,
renderData: { },
rendered: false,
renderTpl: { },
requires: [ ],
resizeHandles: "all",
resizeTabs: true,
rootCls: "x-body",
rtlCollapseDirs: { },
rtlFrameTableTpl: [ ],
saveDelay: 100,
scrollable: null,
scrollerCls: "x-scroll-scroller",
scrollerSelector: ".x-scroll-scroller",
scrollFlags: { },
session: null,
shadow: "sides",
shrinkWrap: 2,
shrinkWrapDock: false,
stateEvents: [ ],
stateful: false,
superclass: { },
suspendLayout: false,
synthetic: false,
tabBar: { },
tabGuard: false,
tabGuardTpl: "<div id="{id}-{tabGuardEl}" data-ref="{tabGuardEl}" tabIndex="0" class="x-tab-guard x-tab-guard-{tabGuard}" ></div>",
tabPosition: "top",
tabRotation: "default",
tabStretchMax: true,
tbar: null,
title: null,
titleAlign: "left",
titleCollapse: undefined,
titleRotation: "default",
toFrontOnShow: true,
tools: [ ],
touchScroll: false,
tplWriteMode: "overwrite",
twoWayBindable: null,
ui: "default",
uiCls: [ ],
userCls: null,
uses: [ ],
validIdRe: [regex] /^[a-z_][a-z0-9\-_]*$/i,
validRefRe: [regex] /^[a-z_][a-z0-9_]*$/i,
viewModel: null,
weight: null,
xtype: "tabpanel",
xtypes: [ ],
xtypesChain: [ ],
xtypesMap: { }
}
Resources.load.request
[object Object]
{
[functions]: ,
__proto__: { },
DisplayOnScheduleAssistant: false,
DisplayOnScheduleAssistant@ufx-formatvalue: "false",
DisplayOnScheduleBoard: true,
DisplayOnScheduleBoard@ufx-formatvalue: "true",
ScheduleBoard: { }
}
Resources.load.response
[object Object]
{
[functions]: ,
__proto__: { },
Resources: [
0: { },
1: { },
2: { },
3: { },
4: { },
5: { },
6: { },
7: { },
8: { },
9: { },
10: { },
11: { },
12: { },
13: { },
14: { },
15: { },
16: { },
17: { },
18: { },
19: { },
20: { },
21: { },
22: { },
23: { },
24: { },
length: 25
]
}
There is no null values on the resource requirement and I'm really not sure what resource object is causing the second issue.