Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reporting nonexistent columns

See original GitHub issue

Using CFLint-1.3.0

Given the following component named test.cfc:

 * Test hint
component {
	 * Converts date to formatted string-representation of date
	 * @dateObj The date object to format
	public string function formatDate(
		required date dateObj
		return dateFormat(arguments.dateObj, "mm/dd/yyyy");

I get the following issues:


None of those columns exist on those respective lines.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

ryaneberlycommented, May 12, 2018

getting line and column right is doable, but is going to take some rework. Moving this out to 1.4.1.

I added #491 back to 1.4.0.

KamasamaKcommented, May 11, 2018

Re-opening since this is not generally resolved. The issue with the more recent example has not changed. It is indicating that the first ARGUMENT_HAS_PREFIX_OR_POSTFIX is at (10, 16) which is the correct 0-based column but wrong line (which I do not believe is generally 0-based). However, the next one is at (10, 35) which is a nonexistent column.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Alias column in presentation layer throwing nonexistent ...
Hi. We have few columns which renamed later, defined alias in presentation layer. Report created with old names are now throwing error nonexistent...
Read more >
Make R report error on using non-existent column name in a ...
Suppose I make a typo in the WEIGHT name in the operation above. What will happen in that R will expand my misspelled...
Read more >
Behavior of Selecting Non-Existent Columns [closed]
I don't consider the question particularly subjective. Values for a non-existent column are undefined, and null is undefined, so it makes sense ...
Read more >
Reference to non existent column inside an IF statement - MSDN
I have a script that tests for a columns existence and if exists uses it i.e. refers to it. When I run the...
Read more >
Solved: Report Template Error - Column does not exist
Solved: Hello, I have a basic form setup to record “Loads”. Here is a section of the Report Template. Load Type 1: >...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found