Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6689537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:31:51+00:00 2026-05-26T05:31:51+00:00

Running CF 9,0,1,274733 I have a custom DAO CFC with a method called getGamesBetTypesID().

  • 0

Running CF 9,0,1,274733

I have a custom DAO CFC with a method called getGamesBetTypesID().

The method is generated/synthesized implicitly by CF from the following property:

<cfproperty name="gamesBetTypesID" type="numeric" />

A default variable is defined as follows:

<cfset VARIABLES.gamesBetTypesID = 0 />

Other than that there are no other VARIABLES, vars, LOCALs, ARGUMENTS or methods called getGamesBetTypesID. All CFC and function variables are correctly scoped.

This save() method is called thousands of times, but the following error gets thrown randomly and only a handful of times.

Detail: The symbol you provided getGamesBetTypesID is not the name of a function. 
Message: Entity has incorrect type for being called as a function. 

Here’s the save() method:

<cffunction name="save" access="public" returntype="void" output="false">

    <cfif getGamesBetTypesID() eq 0 or getGamesBetTypesID() eq "">
        <cfset create() />
    <cfelse>
        <cfset update() />
    </cfif>

</cffunction>

When the error gets thrown I log a dump of the CFCs metadata using
getMetaData(gamesBetTypesObj). According to the meta data the function getGamesBetTypesID does exist.

Has anybody else some across this before? I’ve read that it can happen due to naming and scope collisions, of which I have none.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:31:52+00:00Added an answer on May 26, 2026 at 5:31 am

    After posting the question above I removed <cfproperty name="gamesBetTypesID" type="numeric" /> and added an explicit getter and setter for VARIABLES.gamesBetTypesID.

    <cffunction name="getGamesBetTypesID" output="false" access="public" returntype="numeric">
        <cfreturn VARIABLES.gamesBetTypesID />
    </cffunction>
    
    <cffunction name="setGamesBetTypesID" output="false" access="public" returntype="void">
        <cfargument name="gamesBetTypesID" required="true" type="numeric" />
        <cfset VARIABLES.gamesBetTypesID = ARGUMENTS.gamesBetTypesID />
    </cffunction>
    

    This code has been running in production for a week, including a weekend, which is our busy period. Not one exception has been thrown in the last 7 days. Previously, up to 15 exceptions were being thrown on a busy day.

    This leads me to believe that there is a bug in the generation/use of implicit accessors by way of <CFPROPERTY> that only appears in certain situations. I’m going to log a bug with Adobe

    I’ll update if any progress is made.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Running .NET 2.0, I have a generic method with the following signature: static listType
Running the following program will print space overflow: current size 8388608 bytes. I have
Running on Rails 3.1 RC1 and following this . A user can have one
Running MS SqlServer from ASP.NET I have a visitors table with no unique key.
Running Jmeter on XP, I have the following scenario: Declare the variable ServerName with
Running OS X Leopard an MacBook Pro from Jan. 2008. I used to run
Running ipconfig /all shows a Teredo Tunneling Pseudo-Interface. What is that? Does this have
Running into a problem. I have a table defined to hold the values of
Running the following JavaScript code shows 63 in both cases: alert( 0xff >> 2
Running Nh 3.2 using SQLite throws the following exception: ---> NHibernate.HibernateException: Could not create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.