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 9134337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:38:30+00:00 2026-06-17T08:38:30+00:00

For example, I have a page. I can load this page 100 times without

  • 0

For example, I have a page. I can load this page 100 times without error. However sometimes someone gets an error because I get the email that is sent from ColdFusion in the onError method. I don’t get them a lot, but I get them more than I would think I should. It’s impossible to “debug” because it doesn’t happen all the time. Once a day maybe on a given page.

Has anyone seen anything similar.

One exmaple:

if((StructKeyExists(ARGUMENTS.itm, 'video_code') && len(trim(ARGUMENTS.itm.video_code)) || !StructKeyExists(ARGUMENTS.itm, 'video_code')) == 0) return '<a #class# #target# #linkid# #pageid# href="#url#">#title##fileext#</a>';
    else return '<a class="youtube_video" #target# #linkid# href="http://www.youtube.com/v/#itm.video_code#?version=3&autoplay=1&rel=0&modestbranding=1">#title#</a>';

In this page request, the item struct had video_code in there. But when the second line was processed video_code was undefined. I can run the page 100 more times, and this doesn’t happen.

objectType  class coldfusion.runtime.Struct
element VIDEO_CODE
Resolvedname    ITM
Detail  
ErrNumber   0
Message Element VIDEO_CODE is undefined in ITM.
Type    Expression
Trace:  Template    Line
D:\www\websites\assets\cfcs\menu.cfc    240
D:\www\websites\assets\cfcs\menu.cfc    209
D:\www\websites\assets\cfcs\menu.cfc    15
D:\www\websites\assets\templates\distance_general\campus_index_page.cfm 120
D:\www\websites\domain.com\index.cfm    1
  • 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-06-17T08:38:32+00:00Added an answer on June 17, 2026 at 8:38 am

    It’s a bug in your code.

    That’s the standard automatic response when anyone asks a question like the one you have, because it’s almost always the case.

    There is of course a chance that you’ve identified a flaw in ColdFusion, but the odds of finding a bug in an established product are significantly lower than those of it being an error in your specific code/config.

    Given the convoluted code provided as an example, the probably is very high that it’s a bug in your code.

    can programming languages mis-parse at times or anything like that.

    Simply, no. There are no parse-level constructs that would make the parser behave differently, and the parsing is done once, then the same compiled code is used (until cleared or server restarted).

    why this would not fail 100 times over and fail once?

    Looking again at the example, it may well be a scoping issue – you are checking StructKeyExists on ARGUMENTS.itm but are then using simply itm in the code. ColdFusion has threading issues with unscoped variables that can manifest when under heavy load.

    Use varscoper to check for unscoped variables.

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

Sidebar

Related Questions

I have a page, URI looks like this: http://domain.example.com/Profiles/Profile.aspx?username=blah#blahtab When that fragment (#blahtab) is
I have a JSP page at an address like this: http://example.com/foo/bar/rawr/something.jsp When I output
I'm wondering if someone can help me with this. I have three TabPanels depending
I have a problem with QWebView. It doesn't load http://mail.bigmir.net/signin/ this page on Windows.
I have a page we can call parent.php . In this page I have
If I for example have <p> some long text </p> on my HTML page,
I have a page (contrived example below) with a Google doc and a download
Suppose I have a page located at www.example.com/foo , and it contains an <iframe>
I have a page using something along the lines of <meta http-equiv=refresh content=0;url=http://example.com/ />
I have two websites: http://example.com http://example.com/sub I have a page, let's say: http://example.com/sub/page1 Is

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.