We're updating the issue view to help you get more done. 

Hello user module is missing version property - error when populating module config

Description

Hi,

Used commandbox to install contentbox-installer@be
Snapshot = 4.2.0+694-201810251405.

On first run hit an error with ModuleService trying to setVersion (line 109). Property, Version is not set in the Hello ModuleConfig.

Worked around by removing the hello module.

2018-11-09T04:55:09.484861000Z lucee.runtime.exp.ExpressionException: Component [modules.contentbox.modules_user.Hello.ModuleConfig] has no accessible Member with name [VERSION]
2018-11-09T04:55:09.484869000Z at lucee.runtime.ComponentImpl.get(ComponentImpl.java:1860)
2018-11-09T04:55:09.484876600Z at lucee.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:263)
2018-11-09T04:55:09.484885700Z at lucee.runtime.PageContextImpl.get(PageContextImpl.java:1514)
2018-11-09T04:55:09.484893400Z at models.modules.moduleservice_cfc$cf.udfCall1(/contentbox/models/modules/ModuleService.cfc:109)
2018-11-09T04:55:09.484901000Z at models.modules.moduleservice_cfc$cf.udfCall(/contentbox/models/modules/ModuleService.cfc)
2018-11-09T04:55:09.484908600Z at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
2018-11-09T04:55:09.484916200Z at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
2018-11-09T04:55:09.484923700Z at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
2018-11-09T04:55:09.484931100Z at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)
2018-11-09T04:55:09.484938600Z at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
2018-11-09T04:55:09.484946300Z at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)
2018-11-09T04:55:09.484953900Z at models.modules.moduleservice_cfc$cf.udfCall1(/contentbox/models/modules/ModuleService.cfc:192)
2018-11-09T04:55:09.484961500Z at models.modules.moduleservice_cfc$cf.udfCall(/contentbox/models/modules/ModuleService.cfc)
2018-11-09T04:55:09.484969300Z at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
2018-11-09T04:55:09.484976700Z at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
2018-11-09T04:55:09.484984100Z at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
2018-11-09T04:55:09.484991600Z at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)
2018-11-09T04:55:09.484999100Z at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
2018-11-09T04:55:09.485006700Z at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)
2018-11-09T04:55:09.485014300Z at models.modules.moduleservice_cfc$cf.udfCall2(/contentbox/models/modules/ModuleService.cfc:367)
2018-11-09T04:55:09.485021900Z at models.modules.moduleservice_cfc$cf.udfCall(/contentbox/models/modules/ModuleService.cfc)
2018-11-09T04:55:09.485031100Z at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
2018-11-09T04:55:09.485039900Z at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
2018-11-09T04:55:09.485047900Z at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
2018-11-09T04:55:09.485055400Z at lucee.runtime.type.EnvUDF.call(EnvUDF.java:100)
2018-11-09T04:55:09.485068400Z at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:803)
2018-11-09T04:55:09.485076900Z at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
2018-11-09T04:55:09.485084500Z at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)
2018-11-09T04:55:09.485092000Z at models.modules.moduleservice_cfc$cf.udfCall2(/contentbox/models/modules/ModuleService.cfc:391)
2018-11-09T04:55:09.485099600Z at models.modules.moduleservice_cfc$cf.udfCall(/contentbox/models/modules/ModuleService.cfc)
2018-11-09T04:55:09.485107200Z at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
2018-11-09T04:55:09.485114800Z at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
2018-11-09T04:55:09.485122200Z at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
2018-11-09T04:55:09.485129600Z at lucee.runtime.ComponentImpl._call(ComponentImpl.java:657)
2018-11-09T04:55:09.485137000Z at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)
2018-11-09T04:55:09.485144500Z at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1997)
2018-11-09T04:55:09.485152000Z at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
2018-11-09T04:55:09.485159700Z at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)
2018-11-09T04:55:09.485167200Z at modules.contentbox.moduleconfig_cfc$cf.udfCall(/modules/contentbox/ModuleConfig.cfc:123)
2018-11-09T04:55:09.485174800Z at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)
2018-11-09T04:55:09.485182200Z at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
2018-11-09T04:55:09.485189700Z at lucee.runtime.type.UDFImpl.call(UDFImpl.java:226)
2018-11-09T04:55:09.485197000Z at lucee.runtime.ComponentImpl._call(ComponentImpl.java:657)
2018-11-09T04:55:09.485204500Z at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573)
2018-11-09T04:55:09.485211900Z at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1997)
2018-11-09T04:55:09.485219400Z at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:756)
2018-11-09T04:55:09.485227000Z at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1716)
2018-11-09T04:55:09.485234700Z at system.web.services.moduleservice_cfc$cf.udfCall2(/coldbox/system/web/services/ModuleService.cfc:635)
2018-11-09T04:55:09.485242400Z at system.web.services.moduleservice_cfc$cf.udfCall(/coldbox/system/web/services/ModuleService.cfc)
2018-11-09T04:55:09.485250000Z at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107)

Status

Assignee

Unassigned

Reporter

Angus Johnson

Labels

None

Fix versions

Priority

Blocker