One type of NULL NULL error solved!

2006-02-21 Thread DURETTE, STEVEN J \(ASI-AIT\)
Hi all,
 
I actually found a solution to ONE of the multiple NULL NULL errors that
I have encountered over the past year.
 
Here is the setup.  qryGetDate.theDate is populated with a date from the
database.
 
The object is to produce table headers for all the months up to that
date. (extra code not shown)
 
cfloop from=1 to=#month(qryGetDate.theDate)#
index=Variables.theLoop
th#left(monthAsString(Variables.theLoop), 3)#/th
/cfloop
 
The NULL NULL error came up when qryGetDate.theDate ended up being NULL.
This of course wasn't supposed to happen, but the code to prevent the
variable from being NULL had a flaw.  
 
Weird thing is I would have expected CFLOOP to throw an error that the
TO was not a number.  
 
Fixed the code and one type of NULL NULL error went away.
 
Steve


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232986
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Null Null Error?

2006-02-16 Thread Burns, John D
I've got a cferror tag in my application.cfm to catch errors and email
me with the error information as well as display some text to the user.
I've noticed lately that I've got a few errors happening where I get an
email and the error diagnostics is something along the lines of :null
null brThe error occurred on line 79.  I'm looking at the code and
can't find a problem. I know that in one instance for sure, the person
actually doesn't see an error. Another high-level user of the site is
one of the people generating the errors so I finally asked her if she'd
been seeing errors and she said she hasn't ever had a problem. So,
what's causing me to get an email if the error is empty and nothing is
happening to the user? Any ideas?
 
John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232443
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Null Error?

2006-02-16 Thread Burns, John D
Yeah, I didn't see anyone with a clear answer so I was curious. FYI, my
configuration is:

Windows 2003
IIS 6
CFMX 7 Updater 1
This is the only site on the server and the page the error seems to be
generated from the most is one of the admin pages that is not hit very
often. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 11:32 AM
To: CF-Talk
Subject: Re: Null Null Error?

Burns, John D wrote:
 I've got a cferror tag in my application.cfm to catch errors and 
 email me with the error information as well as display some text to
the user.
 I've noticed lately that I've got a few errors happening where I get 
 an email and the error diagnostics is something along the lines of 
 :null null brThe error occurred on line 79.  I'm looking at the 
 code and can't find a problem. I know that in one instance for sure, 
 the person actually doesn't see an error. Another high-level user of 
 the site is one of the people generating the errors so I finally asked

 her if she'd been seeing errors and she said she hasn't ever had a 
 problem. So, what's causing me to get an email if the error is empty 
 and nothing is happening to the user? Any ideas?

I've seen this come up before.. I'm too lazy to read your entire message
though, and thus also too lazy to read any of the house of fusion posts
on the topic of null null, but this might help =)

http://www.google.com/search?hl=enq=%22null+null%22+%2Bsite%3Ahouseoffu
sion.com

Rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232495
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Strange NULL NULL error that is driving me crazy.

2006-02-01 Thread DURETTE, STEVEN J \(AIT\)
Hi all, 
 
I came across something today that just made my jaw drop...
 
I have a snippet of code:
cfparam name=form.myField default= /
 
cfif form.myField neq 
cfset variables.myNewField = Didn't pass anything in /
cfelse
cfset Variables.myNewField = You passed in:   form.myField /
/cfif
cfoutput#Variables.myNewField#/cfoutput
 
If I change the cfif form.myField neq  to cfif not
len(form.myField), I mysteriously get a NULL NULL error.  This type of
code works in other pages.
 
Got me stumped.
 
Steve
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231011
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Strange NULL NULL error that is driving me crazy.

2006-02-01 Thread Munson, Jacob
To add to your misery, both methods work fine for me.  :\ 

 -Original Message-
 From: DURETTE, STEVEN J (AIT)
 
 Hi all, 
  
 I came across something today that just made my jaw drop...
  
 I have a snippet of code:
 cfparam name=form.myField default= /
  
 cfif form.myField neq 
 cfset variables.myNewField = Didn't pass anything in /
 cfelse
 cfset Variables.myNewField = You passed in:   form.myField /
 /cfif
 cfoutput#Variables.myNewField#/cfoutput
  
 If I change the cfif form.myField neq  to cfif not
 len(form.myField), I mysteriously get a NULL NULL error.  
 This type of
 code works in other pages.
  
 Got me stumped.
  
 Steve


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231015
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Null null error ARGHHH!

2004-09-14 Thread Dave Phillips
Hi folks,

 
I'm running CF MX 6.1 (with updater 3 installed) and every now and then, my
users are getting the following error:

 
null null brThe error occurred on line 64. 

 
The line number can be different.The file can be different.It's not
consistent.In this case, the line number was the following:

 
CFIF URL.SaveComplete OR URL.Questions 

 
Both URL.Savecomplete and URL.Questions are set up with default parameters
of 0.

 
These errors do NOT show up in the error logs.The only way I see them is
because I have a custom error handling program that sends me a dump of all
variables when an error occurs on the site.In this case, the
URL.SaveComplete had a value of 5 and URL.Questions had a value of 0.

 
There is no reason why this line of code should have errored out, nor is
there any reason given (null null).

 
Any ideas or anyone else who has experienced this AND gotten it resolved?

 
FYI this was happening beofre updater 3 as well.

 
Sincerely,

 
Dave Phillips
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Null null error ARGHHH!

2004-09-14 Thread Mark W. Breneman
Same here, I get the Null Null error randomly on one of the 40 small sites
we host on one sever. From what I can tell it *maybe* related to a bad
session var.A user will get the error on the first page and what ever page
they try to go to whey will still get the error. I have only experienced the
error personally myself once last year.

 
On another server and a much larger site I was using client vars and had the
same Null Null problem.I switched over to session vars and the null null
problem went way on that server. I also rewrote much of the code on the site
in a major site update so I can not say for 100% sure it was the client
vars.

 
Anyone else have any ideas? 

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com http://www.vividmedia.com/ 
608.270.9770

_

From: Dave Phillips [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 14, 2004 10:53 AM
To: CF-Talk
Subject: Null null error ARGHHH!

Hi folks,

I'm running CF MX 6.1 (with updater 3 installed) and every now and then, my
users are getting the following error:

null null brThe error occurred on line 64. 

The line number can be different.The file can be different.It's not
consistent.In this case, the line number was the following:

CFIF URL.SaveComplete OR URL.Questions 

Both URL.Savecomplete and URL.Questions are set up with default parameters
of 0.

These errors do NOT show up in the error logs.The only way I see them is
because I have a custom error handling program that sends me a dump of all
variables when an error occurs on the site.In this case, the
URL.SaveComplete had a value of 5 and URL.Questions had a value of 0.

There is no reason why this line of code should have errored out, nor is
there any reason given (null null).

Any ideas or anyone else who has experienced this AND gotten it resolved?

FYI this was happening beofre updater 3 as well.

Sincerely,

Dave Phillips 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Null null error ARGHHH!

2004-09-14 Thread Dave Phillips
FYI - I'm only using session vars, not client vars.Below is a partial dump
of the session var for when one of these errors occurred:

 
cfid	 349252 	
cftoken	 68847985 	
contactid	 0 	
firstname	 [empty string] 	
sessionid	 PLP_349252_68847985 	
sitename	 [empty string] 	
sitevisitedid	 0 	
urltoken	 CFID=349252CFTOKEN=68847985	

 
The custom session vars I'm using aren't filled in at but they should be.

 
Dave

_

From: Mark W. Breneman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 14, 2004 11:18 AM
To: CF-Talk
Subject: RE: Null null error ARGHHH!

Same here, I get the Null Null error randomly on one of the 40 small sites
we host on one sever. From what I can tell it *maybe* related to a bad
session var.A user will get the error on the first page and what ever page
they try to go to whey will still get the error. I have only experienced the
error personally myself once last year.

On another server and a much larger site I was using client vars and had the
same Null Null problem.I switched over to session vars and the null null
problem went way on that server. I also rewrote much of the code on the site
in a major site update so I can not say for 100% sure it was the client
vars.

Anyone else have any ideas? 

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com http://www.vividmedia.com/ 
608.270.9770

_

From: Dave Phillips [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 14, 2004 10:53 AM
To: CF-Talk
Subject: Null null error ARGHHH!

Hi folks,

I'm running CF MX 6.1 (with updater 3 installed) and every now and then, my
users are getting the following error:

null null brThe error occurred on line 64. 

The line number can be different.The file can be different.It's not
consistent.In this case, the line number was the following:

CFIF URL.SaveComplete OR URL.Questions 

Both URL.Savecomplete and URL.Questions are set up with default parameters
of 0.

These errors do NOT show up in the error logs.The only way I see them is
because I have a custom error handling program that sends me a dump of all
variables when an error occurs on the site.In this case, the
URL.SaveComplete had a value of 5 and URL.Questions had a value of 0.

There is no reason why this line of code should have errored out, nor is
there any reason given (null null).

Any ideas or anyone else who has experienced this AND gotten it resolved?

FYI this was happening beofre updater 3 as well.

Sincerely,

Dave Phillips 
_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Null null error ARGHHH!

2004-09-14 Thread Barney Boisvert
I've only every seen this when using an invalid date, usually with
dateAdd().I've also seen CFCHART error with the same message when
using dates as the labels on one of the axes the first time any chart
is requested after a reboot.

cheers,
barneyb

On Tue, 14 Sep 2004 11:18:04 -0500, Mark W. Breneman
[EMAIL PROTECTED] wrote:
 Same here, I get the Null Null error randomly on one of the 40 small sites
 we host on one sever. From what I can tell it *maybe* related to a bad
 session var.A user will get the error on the first page and what ever page
 they try to go to whey will still get the error. I have only experienced the
 error personally myself once last year.
 
 On another server and a much larger site I was using client vars and had the
 same Null Null problem.I switched over to session vars and the null null
 problem went way on that server. I also rewrote much of the code on the site
 in a major site update so I can not say for 100% sure it was the client
 vars.
 
 Anyone else have any ideas?
 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Null null error ARGHHH!

2004-09-14 Thread Alisa Thomson
I am getting the same error except mine is pointing to a CFQUERY.I am running CFMX 6.1 Updater 3 on Solaris with Sybase 12.5 and jConnect 5.5.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Null null error ARGHHH!

2004-09-14 Thread Al Everett
See: http://www.talkingtree.com/blog/index.cfm?data="">

--- Alisa Thomson [EMAIL PROTECTED] wrote:

 I am getting the same error except mine is pointing to a CFQUERY.I am
 running CFMX 6.1 Updater 3 on Solaris with Sybase 12.5 and jConnect
 5.5.
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Null null error ARGHHH!

2004-09-14 Thread Mark W. Breneman
Just to update the list.Looks like there are two bugs that MM has
confirmed that will cause a Null Null error. (per
http://www.talkingtree.com/blog/index.cfm?data="">

Bug numbers 51579 and 45343.

ColdFusion MX 6.1 Updater may contain one fixfor the (45343) NULL NULL
error.

Bug 45343: The cfapplication tag generated exceptions if the browser sent
an incomplete CFID/CFTOKEN pair. 

This description seems to describe what I am seeing. Guess it is time to
install the ColdFusion MX 6.1 Updater.

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com http://www.vividmedia.com/ 
608.270.9770



From: Al Everett [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 14, 2004 12:38 PM
To: CF-Talk
Subject: Re: Null null error ARGHHH!

See: http://www.talkingtree.com/blog/index.cfm?data="">

--- Alisa Thomson [EMAIL PROTECTED] wrote:

 I am getting the same error except mine is pointing to a CFQUERY.I am
 running CFMX 6.1 Updater 3 on Solaris with Sybase 12.5 and jConnect
 5.5.
 
 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]