TypeError:无法读取null

时间:2016-11-22 05:50:44

标签: maximo maximo-anywhere

我刚刚升级到Maximo Anywhere 7.6.1并尝试在Inspection应用程序中创建后续工作订单,我收到以下错误。奇怪的是,我可以从Work Execution应用程序创建一个后续工作订单,据我所知,Inspection应用程序会通过并使用相同的源代码来执行后续工作订单。

    Logger.js:293 === Global promise rejection handling ===writeToLog @    Logger.js:293log @ Logger.js:397error @ Logger.js:415(anonymous function) @     Startup.js:60_f32 @ dojo.js:2_7c8 @ dojo.js:2then._7d5.then @     dojo.js:2otherwise @ dojo.js:2(anonymous function) @ ModelDataSet.js:1045_7c8 @ dojo.js:2_7c2 @ dojo.js:2resolve @ dojo.js:2onSuccess @ _SimulatorConnectivityChecker.js:40onConnectSuccess @ worklight.js:8574bound @ worklight.js:1029onSuccess @ worklight.js:3793onWlSuccess @ worklight.js:3766bound @ worklight.js:1029respondToReadyState @ worklight.js:1287onStateChange @ worklight.js:1209bound @ worklight.js:1029
Logger.js:293 === handled: truewriteToLog @ Logger.js:293log @ Logger.js:397error @ Logger.js:415(anonymous function) @ Startup.js:61_f32 @ dojo.js:2_7c8 @ dojo.js:2then._7d5.then @ dojo.js:2otherwise @ dojo.js:2(anonymous function) @ ModelDataSet.js:1045_7c8 @ dojo.js:2_7c2 @ dojo.js:2resolve @ dojo.js:2onSuccess @ _SimulatorConnectivityChecker.js:40onConnectSuccess @ worklight.js:8574bound @ worklight.js:1029onSuccess @ worklight.js:3793onWlSuccess @ worklight.js:3766bound @ worklight.js:1029respondToReadyState @ worklight.js:1287onStateChange @ worklight.js:1209bound @ worklight.js:1029
Logger.js:293 === Error: Cannot read property 'get' of nullwriteToLog @ Logger.js:293log @ Logger.js:397error @ Logger.js:415(anonymous function) @ Startup.js:64_f32 @ dojo.js:2_7c8 @ dojo.js:2then._7d5.then @ dojo.js:2otherwise @ dojo.js:2(anonymous function) @ ModelDataSet.js:1045_7c8 @ dojo.js:2_7c2 @ dojo.js:2resolve @ dojo.js:2onSuccess @ _SimulatorConnectivityChecker.js:40onConnectSuccess @ worklight.js:8574bound @ worklight.js:1029onSuccess @ worklight.js:3793onWlSuccess @ worklight.js:3766bound @ worklight.js:1029respondToReadyState @ worklight.js:1287onStateChange @ worklight.js:1209bound @ worklight.js:1029
Logger.js:293 TypeError: Cannot read property 'get' of null
    at Object.resolveWonumLabel (WOListHandler.js:210)
    at Object.getMessage (DynamicMessage.js:38)
    at Object.getPropertyString (_ControlBase.js:171)
    at Object.getLabelString (_ControlBase.js:163)
    at Object.setLabel (View.js:445)
    at Object.<anonymous> (View.js:239)
    at Object.<anonymous> (dojo.js:2)
    at _1293 (dojo.js:2)
    at Object._1290._watchCallbacks (dojo.js:2)
    at dojo.js:2

1 个答案:

答案 0 :(得分:0)

您可以为构建UI的应用程序共享app.xmls的部分内容吗?看起来dojo期望与屏幕上不存在的UI元素进行交互。