Details
Description
During cgen execution, the DataChannelMetaData instance is not set upon data map load. It looks like CgenModule does not bind to the ExtensionAwareHandlerFactory, nor does it load the InfoExtension, so when the data map is loaded, the metadata instance is null. This causes metadata lookups to fail from the MetadataUtils class that is supplied to the velocity context during class generation.
I think fix is to have CgenModule bind to the ExtensionAwareHandlerFactory and then let ProjectModule contribute the InfoExtension.