Re: A very unusual HTTP 500 Null Error

2007-06-05 Thread Billy Jamme
I was also receiving the very cryptic 500 NULL error; in circumstances very 
similar to the above. I ended up tracking this down to 
java.lang.String.URLDecode(), which throws a java.lang.IllegalArgumentException 
if a '%' character is not followed by a valid 2-digit hexadecimal number.  So, 
for instance, if you're passing urlEncoded value of %F1 you're fine, but if you 
pass %G1 you get the 500 NULL error.

What was happening on our end, was that there was a page using the JavaScript 
method escape().  The escape method fails to handle non-ASCII characters 
correctly.  So if you're passing Unicode, or other fun characters via a form 
POST, you'll end up with weird strings like %G1.  The fix was to use an 
alternative encoding method encodeURI().

HTH

T Lux wrote:

For what its worth, an application of mine just started receiving this 
same error. I just tracked down the customer machine that is causing the 
error and I'm asking the client to get ahold of that customer in an 
effort to figure out what all is going on. From the headers it seems 
that its IE 6. The only oddity I see in the useragent string is that the 
customer has InfoPath installed, which seems to be a MS product for 
dealing with forms in your browser 
(http://office.microsoft.com/en-us/infopath/FX100487661033.aspx). I 
suppose that could be a source of malformed requests. Beyond that, the 
request that we are dealing with is a timed XmlHTTPRequest Post of an 
xml string. Doesn't seem to cause problems anywhere else, just this one 
browser.

Oh and for posterities sake, when looking at Ethereal, the cause of the 
500 Error seems to be TCP Checksum Incorrect errors. So that makes me 
start thinking network issues between the client and then server.

Thats all I have to go on so far. Hope this helps someone out.

Judah

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280191
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: A very unusual HTTP 500 Null Error

2007-04-26 Thread T Lux
No, the error happens before any code is run. Tracking down the issue with 
IEHTTPHeaders as well as Etheral running on the server itself, it seems that 
for some reason CF was not receiving the packets either in the right order or 
malformed or ... most likely something in the network config that is screwing 
it up, but Firefox never seemed to give us the problem. Maybe Firefox resends 
malformed packets and IE doesnt? Not really sure. But this is definitely not a 
coding issue -- it is happening at the browser/network layer. *shrug*

 On Tuesday 24 Apr 2007, T Lux wrote:
 Can you intercept the request somehow and write the FORM, CGI and URL 
 scopes 
 to a file ?
 
 -- 
 Tom Chiverton
 Helping to collaboratively enhance back-end solutions
 on: http://thefalken.livejournal.com
 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276301
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: A very unusual HTTP 500 Null Error

2007-04-26 Thread Judah McAuley
T Lux wrote:
 No, the error happens before any code is run. Tracking down the issue
 with IEHTTPHeaders as well as Etheral running on the server itself,
 it seems that for some reason CF was not receiving the packets either
 in the right order or malformed or ... most likely something in the
 network config that is screwing it up, but Firefox never seemed to
 give us the problem. Maybe Firefox resends malformed packets and IE
 doesnt? Not really sure. But this is definitely not a coding issue --
 it is happening at the browser/network layer. *shrug*
 

For what its worth, an application of mine just started receiving this 
same error. I just tracked down the customer machine that is causing the 
error and I'm asking the client to get ahold of that customer in an 
effort to figure out what all is going on. From the headers it seems 
that its IE 6. The only oddity I see in the useragent string is that the 
customer has InfoPath installed, which seems to be a MS product for 
dealing with forms in your browser 
(http://office.microsoft.com/en-us/infopath/FX100487661033.aspx). I 
suppose that could be a source of malformed requests. Beyond that, the 
request that we are dealing with is a timed XmlHTTPRequest Post of an 
xml string. Doesn't seem to cause problems anywhere else, just this one 
browser.

Oh and for posterities sake, when looking at Ethereal, the cause of the 
500 Error seems to be TCP Checksum Incorrect errors. So that makes me 
start thinking network issues between the client and then server.

Thats all I have to go on so far. Hope this helps someone out.

Judah


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276366
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: A very unusual HTTP 500 Null Error

2007-04-25 Thread Tom Chiverton
On Tuesday 24 Apr 2007, T Lux wrote:
 Did you ever find a solution/fix?

 We are running into the same thing... same version of CF. The form that is
 posting is relatively small -- but there is a textarea that we think is the
 problem.

Can you intercept the request somehow and write the FORM, CGI and URL scopes 
to a file ?

-- 
Tom Chiverton
Helping to collaboratively enhance back-end solutions
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276190
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: A very unusual HTTP 500 Null Error

2007-04-24 Thread T Lux
Did you ever find a solution/fix?

We are running into the same thing... same version of CF. The form that is 
posting is relatively small -- but there is a textarea that we think is the 
problem. There really isnt a lot of data in the textarea -- maybe 400 
characters. I get a 500 Null error and this is written in coldfusion-err.log:

java.lang.IllegalArgumentException
at coldfusion.filter.FormScope.parseQueryString(FormScope.java:283)
at coldfusion.filter.FormScope.parsePostData(FormScope.java:255)
at coldfusion.filter.FormScope.fillForm(FormScope.java:206)
at 
coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:384)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at 
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at com.intergral.fusionreactor.filter.FusionReactorFilter.A(Unknown 
Source)
at com.intergral.fusionreactor.filter.FusionReactorFilter.A(Unknown 
Source)
at 
com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(Unknown Source)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


Any ideas?

Tim

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276171
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: A very unusual HTTP 500 Null Error

2007-04-24 Thread T Lux
Did you ever find a solution/fix?

We are running into the same thing... same version of CF. The form that is 
posting is relatively small -- but there is a textarea that we think is the 
problem. There really isnt a lot of data in the textarea -- maybe 400 
characters. I get a 500 Null error and this is written in coldfusion-err.log:

java.lang.IllegalArgumentException
at coldfusion.filter.FormScope.parseQueryString(FormScope.java:283)
at coldfusion.filter.FormScope.parsePostData(FormScope.java:255)
at coldfusion.filter.FormScope.fillForm(FormScope.java:206)
at 
coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:384)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at 
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at com.intergral.fusionreactor.filter.FusionReactorFilter.A(Unknown 
Source)
at com.intergral.fusionreactor.filter.FusionReactorFilter.A(Unknown 
Source)
at 
com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(Unknown Source)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


Any ideas?

Tim

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276172
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: A very unusual HTTP 500 Null Error

2006-12-19 Thread Doug Brown
I cannot seem to be able to duplicate your problem here.

CFMX 7.02
Windows 2000 Adv Srv
Apache




Doug
- Original Message - 
From: Randy Edwards [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, December 19, 2006 3:10 PM
Subject: A very unusual HTTP 500 Null Error


 Hi!

 We're working through a very interesting (painful) ColdFusion error on
version 7,0,2,142559.  It results in an HTTP 500 Null error, but not every
time.  Just maybe 4 times out of 10 or something like that.

 We looked at the runtime\logs and the JRE log has an interesting error ...
warning Error while parsing POST data
and then further on ...
java.lang.IllegalArgumentException.

 This is all very well and good.  The thing is we cannot recreate the
problem under older versions of CFMX like 7,0 and 7,0,1 and it works fine
also under 6.  Just 7,0,2 has the problem.

 If anybody has any thoughts on hints / tips whatever we could do to solve
this I'm open to ideas.

 I've pasted the code we're using to test this below if you want to try to
duplicate the problem in your environment.  Just try calling this thing
repetitively, say 20 times or so and you'll get errors fairly regular, once
every one or two hits.

 There seems to be some form size limitation in the latest release of
CFMX that is causing this error.

 Save this file below as ... BigForm.htm
 HTML
 HEAD
 TITLEBig Form/TITLE
 /HEAD
 FORM NAME=myForm ACTION=BigFormTarget.cfm METHOD=POST

 TABLE
  TR
  TDINPUT TYPE=text NAME=txt1
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt2
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt3
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt4
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt5
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt6
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt7
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt8
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt9
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt10
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt11
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt12
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890
  TDINPUT TYPE=text NAME=txt13
VALUE=123456789012345678901234567890123456789001234567890012345678900123456
78900123456789001234567890

 TR
   TD
  TDINPUT TYPE=text NAME=txt2_1 VALUE=
  TDINPUT TYPE=text NAME=txt2_2 VALUE=
  TDINPUT TYPE=text NAME=txt2_3 VALUE=
  TDINPUT TYPE=text NAME=txt2_4 VALUE=
  TDINPUT TYPE=text NAME=txt2_5 VALUE=
  TDINPUT TYPE=text NAME=txt2_6 VALUE=
  TDINPUT TYPE=text NAME=txt2_7 VALUE=
  TDINPUT TYPE=text NAME=txt2_8 VALUE=
  TDINPUT TYPE=text NAME=txt2_9 VALUE=
  TDINPUT TYPE=text NAME=txt2_10 VALUE=
  TDINPUT TYPE=text NAME=txt2_11 VALUE=
  TDINPUT TYPE=text NAME=txt2_12 VALUE=
  TDINPUT TYPE=text NAME=txt2_13 VALUE=


 TR
   TD
  TDINPUT TYPE=text NAME=txt3_1 VALUE=
  TDINPUT TYPE=text NAME=txt3_2 VALUE=
  TDINPUT TYPE=text NAME=txt3_3 VALUE=
  TDINPUT TYPE=text NAME=txt3_4 VALUE=
  TDINPUT TYPE=text NAME=txt3_5 VALUE=
  TDINPUT TYPE=text NAME=txt3_6 VALUE=
  TDINPUT TYPE=text NAME=txt3_7 VALUE=
  TDINPUT TYPE=text NAME=txt3_8 VALUE=
  TDINPUT TYPE=text NAME=txt3_9 VALUE=
  TDINPUT TYPE=text NAME=txt3_10 VALUE=
  TDINPUT TYPE=text NAME=txt3_11 VALUE=
  TDINPUT TYPE=text NAME=txt3_12 VALUE=
  TDINPUT TYPE=text NAME=txt3_13 VALUE=


 TR
   TD
  TDINPUT TYPE=text NAME=txt4_1 VALUE=
  TDINPUT TYPE=text NAME=txt4_2 VALUE=
  TDINPUT TYPE=text NAME=txt4_3 VALUE=
  TDINPUT TYPE=text NAME=txt4_4 VALUE=
  TDINPUT TYPE=text NAME=txt4_5 VALUE=
  TDINPUT TYPE=text NAME=txt4_6 VALUE=
  TDINPUT TYPE=text NAME=txt4_7 VALUE=
  TDINPUT TYPE=text NAME=txt4_8 VALUE=
  TDINPUT TYPE=text NAME=txt4_9 VALUE=
  TDINPUT TYPE=text NAME=txt4_10 VALUE=
  TDINPUT TYPE=text NAME=txt4_11 VALUE=
  TDINPUT TYPE=text NAME=txt4_12 VALUE=
  TDINPUT TYPE=text NAME=txt4_13 VALUE=

 

Re: A very unusual HTTP 500 Null Error

2006-12-19 Thread Josh Nathanson
 There seems to be some form size limitation in the latest release of 
 CFMX that is causing this error.

I suppose you've played around with the Maximum size of post data setting 
in CF admin to no avail?  Although I think it defaults to 100MB, you'd have 
to have some HUGE posts to cross that threshhold.

Maybe it's just not expecting unbroken strings such as the ones you posted. 
What is your implementation that requires such long strings in input fields?

-- Josh 


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264532
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: A very unusual HTTP 500 Null Error

2006-12-19 Thread Snake
IIS6 also has a max size of form posts as well. 

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 00:00
To: CF-Talk
Subject: Re: A very unusual HTTP 500 Null Error

 There seems to be some form size limitation in the latest release of 
 CFMX that is causing this error.

I suppose you've played around with the Maximum size of post data setting
in CF admin to no avail?  Although I think it defaults to 100MB, you'd have
to have some HUGE posts to cross that threshhold.

Maybe it's just not expecting unbroken strings such as the ones you posted. 
What is your implementation that requires such long strings in input fields?

-- Josh 




~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264536
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4