I spent almost 45 minutes searching for the problem in Bean Creation in ColdSpring.


Bean creation exception in poimgr.model.service.FieldService
Invalid CFML construct found on line 23 at column 87.:ColdFusion was looking at the following text:

)

The CFML compiler was processing:

  • a cfreturn tag beginning on line 23, column 18.
  • a cfreturn tag beginning on line 23, column 18.

This basically means that there si a problem in FieldService at line 23!!!

      1 <cfcomponent name="FieldService" displayname="FieldService" output="false">
      2         <!--- Constructor --->
      3         <cffunction name="init" access="Public" returntype="FieldService" output="false" hint="I am a new FieldService">
      4                 <cfreturn>
      5         </cfreturn>
      6
      7         </cffunction><cffunction name="setFieldBlockGateway" returntype="void" access="public" output="false">
      8                 <cfargument name="fieldBlockGateway" type="poimgr.model.db.FieldBlockGateway" required="true">
      9                 <cfset variables.fieldblockgateway="arguments.fieldBlockGateway">
     10         </cfset>
     11
     12         <cffunction name="getFieldBlockGateway" access="public" returntype="poimgr.model.db.FieldBlockGateway" output="false">
     13                 <cfreturn>
     14         </cfreturn>
     15
     16
     17         </cffunction><cffunction name="getFieldBlocks" access="public" returntype="any" output="false">
     18                 <cfreturn>
     19         </cfreturn>
     20
     21         </cffunction><cffunction name="sortFieldBlocks" access="public" returntype="any" output="false">
     22                 <cfargument name="columnName" type="string" required="true">
     23                 <cfreturn>
     24         </cfreturn>
     25
     26
     27
     28 </cfargument>
</cffunction></cfargument></cffunction></cfcomponent>

Notice the “))” here…

.

Descriptive Error mechanisms need to be enhanced or Im just plain ol stupid.