1. 程式人生 > >activiti5.22整合modeler時出錯TypeError: Cannot read property 'split' of undefined

activiti5.22整合modeler時出錯TypeError: Cannot read property 'split' of undefined

activiti 沒有 ecan each can array proto type pro

activiti5.22.0整合modeler時,打開的流程頁面不顯示工具欄和左邊的控件欄,產生如下的錯誤:

TypeError: Cannot read property ‘split‘ of undefined
at Object.ORYX.Core.StencilSet.stencilSet (oryx.debug.js:8640)
at oryx.debug.js:8619
at prototype-1.5.1.js:446
at Array._each (prototype-1.5.1.js:672)
at Array.each (prototype-1.5.1.js:445)


at Object.ORYX.Core.StencilSet.stencilSets (oryx.debug.js:8618)
at classDef.getStencilSets (oryx.debug.js:11705)
at classDef._createCanvas (oryx.debug.js:11187)
at classDef.construct (oryx.debug.js:10921)
at classDef (oryx.debug.js:1747)

檢查發現,原來是stencilset.json文件沒有在classes目錄下

activiti5.22整合modeler時出錯TypeError: Cannot read property 'split' of undefined