ERROR.diagnostics has wrong file/line number, what gives? - coldfusion

In my error template, I'm sending myself an email, on exception. Like we do. Using #ERROR.diagnostics# I got a message like:
Element SOMEVAR is undefined in URL.
The error occurred on line 1.
The problem is, this error did not occur on line #1 of the file that it reported, in #ERROR.template# (mainfile.cfm) The error occured in an included file, from mainfile.cfm. Also, the error was not on line 1, but line 2.
How can I get a more accurate error message?

Related

Formatting output to show in the messages section in error list

I'd like to print a message to the output, not just a warning/error.
For example, you can have:
1>C:\Example Path\Example File.cpp(1): warning EXAMPLE: here is an example warning
1>C:\Example Path\Example File.cpp(1): error EXAMPLE: here is an example error
These following outputs will show up in the error list window. This can be done with #pragma message( ). How can I have something show up as a message, not an error or warning? info and message didn't seem to work.
Messages are broken. Build messages do not show up in the message list.
That said, it's supposed to show up if something is preceded with the "note" flag. There is not code identifier for a message, so it's just "note:"

Runtime Error illegal event name python

When I'm running program I get this error, what does it mean?
RuntimeError: illegal event name
exception RuntimeError
Raised when an error is detected that doesn’t
fall in any of the other categories. The associated value is a string
indicating what precisely went wrong.

Response message is failed-Assertion Failed

When I am using jmeter it gives the message as "Account created successfully". So I added this message in Response assertion-->Response Message-->Contains.
But assertion is failed when giving the correct credential.When opening the assertion result, it shows the message as "/Account created successfully/".
Now how to remove the "/" from this message.
1.Please check that there is no extra space in your message
2. Make sure you are coping the message from text response only,Please look below snapshot for reference only
3. "/" is not a problem it will come before your message when assertion fail

Clojure compile error - Unable to resolve symbol: this in this context

Just when I thought I had seen it all in Clojure errors I get one that is baffling. When compiling my .clj file using lein compile I'm getting this exception:
java.lang.RuntimeException: Unable to resolve symbol: this in this context, compiling:(medical_notes/read_notes.clj:135:26)
the line in the read_notes.clj file that it is pointing to (135) is simply
{:type :compute}
that's it. The word "this" does not appear anywhere in the file. That line is inside this function:
(defn m-compute
"Message sent to master to start the computation"
[]
{:type :compute})
Anyone have any idea what is confusing it?
UPDATE: after troubleshooting and trying different things I can at least say now that the line number reported with the error is totally wrong for sure. It always reports exactly the same line number (135:26) no matter what. Right now line 135 in the file is a blank line and it's still calling out that line as the problem.

What is the error message corresponding to Bsafe error code?

We are using Bsafe cpp code in an application to verify the signature, but it is raising back with error code 540 while calling B_VerifyFinal.
Is it possible to know what this error code corresponds to? and how we will find all the error messages for bsafe error codes.
Thanks in advance.