<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: ColdFusion 8  flex2gateway  Error 500 java.lang.NullPointerException</title>
	<atom:link href="http://blog.flexuous.com/2007/10/09/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexuous.com/2007/10/09/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 09 Dec 2011 08:26:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: dido</title>
		<link>http://blog.flexuous.com/2007/10/09/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-181</link>
		<dc:creator><![CDATA[dido]]></dc:creator>
		<pubDate>Wed, 10 Nov 2010 14:23:30 +0000</pubDate>
		<guid isPermaLink="false">http://flexuous.wordpress.com/2008/03/14/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-181</guid>
		<description><![CDATA[Hi 
I have the same error.
But it is that the flex app doesn&#039;t get returned data from the cf code.
And the weird thing is that it not not returning me this error on my local computer but it does on the remote server. Also everything is working fine before i add the secure channel as first row before the default channel in remoting-config file.
Can someone help?
Thank you]]></description>
		<content:encoded><![CDATA[<p>Hi<br />
I have the same error.<br />
But it is that the flex app doesn&#8217;t get returned data from the cf code.<br />
And the weird thing is that it not not returning me this error on my local computer but it does on the remote server. Also everything is working fine before i add the secure channel as first row before the default channel in remoting-config file.<br />
Can someone help?<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Get Six Pack Fast</title>
		<link>http://blog.flexuous.com/2007/10/09/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-83</link>
		<dc:creator><![CDATA[How to Get Six Pack Fast]]></dc:creator>
		<pubDate>Wed, 15 Apr 2009 14:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://flexuous.wordpress.com/2008/03/14/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-83</guid>
		<description><![CDATA[Hey, nice tips. Perhaps I&#039;ll buy a bottle of beer to the person from that chat who told me to go to your site :)]]></description>
		<content:encoded><![CDATA[<p>Hey, nice tips. Perhaps I&#8217;ll buy a bottle of beer to the person from that chat who told me to go to your site <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://blog.flexuous.com/2007/10/09/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-79</link>
		<dc:creator><![CDATA[Anon]]></dc:creator>
		<pubDate>Fri, 27 Feb 2009 17:57:11 +0000</pubDate>
		<guid isPermaLink="false">http://flexuous.wordpress.com/2008/03/14/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-79</guid>
		<description><![CDATA[I had a similar issue on a W2k3 server, IIS 6.0, &amp; CF 8.
&quot;500 


java.lang.NullPointerException
                at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:283)
                at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
                at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
                at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
                at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
                at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
                at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)&quot;

Resolution was to use &quot;local system&quot; acct to run the CF service because the custom service acct we had setup to run the service didn&#039;t have appropriate permissions.]]></description>
		<content:encoded><![CDATA[<p>I had a similar issue on a W2k3 server, IIS 6.0, &amp; CF 8.<br />
&#8220;500 </p>
<p>java.lang.NullPointerException<br />
                at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:283)<br />
                at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)<br />
                at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)<br />
                at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)<br />
                at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)<br />
                at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)<br />
                at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)&#8221;</p>
<p>Resolution was to use &#8220;local system&#8221; acct to run the CF service because the custom service acct we had setup to run the service didn&#8217;t have appropriate permissions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://blog.flexuous.com/2007/10/09/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-33</link>
		<dc:creator><![CDATA[tom]]></dc:creator>
		<pubDate>Wed, 30 Apr 2008 14:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://flexuous.wordpress.com/2008/03/14/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-33</guid>
		<description><![CDATA[Loooolll I had same error, and actually, I open the web.xml file, saw the servlet MessageBroker... This Java classes is on flex/jars/ on my development server.

But in my prod. server, I have not jars directory in flex !!! So I just copy jars folder in flex and restart server and works!!!]]></description>
		<content:encoded><![CDATA[<p>Loooolll I had same error, and actually, I open the web.xml file, saw the servlet MessageBroker&#8230; This Java classes is on flex/jars/ on my development server.</p>
<p>But in my prod. server, I have not jars directory in flex !!! So I just copy jars folder in flex and restart server and works!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justinohms</title>
		<link>http://blog.flexuous.com/2007/10/09/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-24</link>
		<dc:creator><![CDATA[justinohms]]></dc:creator>
		<pubDate>Thu, 13 Mar 2008 13:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://flexuous.wordpress.com/2008/03/14/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-24</guid>
		<description><![CDATA[&quot;Noah, 
I think the problem you are having is that you are not hitting a valid URL for testing.      If the two channel definitions that you included are the only two you have in your services config.xml then  then you are missing the  default channel of
http://~~~/flex2gateway/  
If this is th case then   you will get a 500 error when you go to  http://~~~/flex2gateway/     

You need to hit the configured urls in your browser for your gateways for testing.  In your case these would be:
http://~~~/flex2gateway/cfamfpolling/  
and  
https://~~~/flex2gateway/cfamfsecure&quot;]]></description>
		<content:encoded><![CDATA[<p>&#8220;Noah,<br />
I think the problem you are having is that you are not hitting a valid URL for testing.      If the two channel definitions that you included are the only two you have in your services config.xml then  then you are missing the  default channel of<br />
<a href="http://~~~/flex2gateway/" rel="nofollow">http://~~~/flex2gateway/</a><br />
If this is th case then   you will get a 500 error when you go to  <a href="http://~~~/flex2gateway/" rel="nofollow">http://~~~/flex2gateway/</a>     </p>
<p>You need to hit the configured urls in your browser for your gateways for testing.  In your case these would be:<br />
<a href="http://~~~/flex2gateway/cfamfpolling/" rel="nofollow">http://~~~/flex2gateway/cfamfpolling/</a><br />
and<br />
<a href="https://~~~/flex2gateway/cfamfsecure" rel="nofollow">https://~~~/flex2gateway/cfamfsecure</a>&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brendan</title>
		<link>http://blog.flexuous.com/2007/10/09/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-23</link>
		<dc:creator><![CDATA[Brendan]]></dc:creator>
		<pubDate>Fri, 07 Mar 2008 11:32:02 +0000</pubDate>
		<guid isPermaLink="false">http://flexuous.wordpress.com/2008/03/14/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-23</guid>
		<description><![CDATA[So I&#039;m finding this error myself, and am a bit confused by just &quot;changing&quot; the endpoint uri... I&#039;ve got
3 different servers which all have the flex2gateway endpoint enabled, and CF8 bitches at me about the
duplicate endpoints even though the server definitions are all completely different!

eg. (excerpts from remoting-config.xml and services-config.xml)

&lt;channels&gt;
            &lt;channel ref=&quot;server1&quot;/&gt;
            &lt;channel ref=&quot;server2&quot;/&gt;
&lt;/channels&gt;

&lt;endpoint uri=&quot;http://www.server1.com:80/flex2gateway/&quot; class=&quot;flex.messaging.endpoints.AMFEndpoint&quot;/&gt;
&lt;endpoint uri=&quot;http://www.server2.com:80/flex2gateway/&quot; class=&quot;flex.messaging.endpoints.AMFEndpoint&quot;/&gt;

Inside the cfserver.log file, I watch the gateways services fail because:

Could not register endpoint &#039;/flex2gateway&#039; with channel &#039;server1&#039;, already registered by channel &#039;server2&#039;

WTF?  Anyone else have this issue?]]></description>
		<content:encoded><![CDATA[<p>So I&#8217;m finding this error myself, and am a bit confused by just &quot;changing&quot; the endpoint uri&#8230; I&#8217;ve got<br />
3 different servers which all have the flex2gateway endpoint enabled, and CF8 bitches at me about the<br />
duplicate endpoints even though the server definitions are all completely different!</p>
<p>eg. (excerpts from remoting-config.xml and services-config.xml)</p>
<p>&lt;channels&gt;<br />
            &lt;channel ref=&quot;server1&quot;/&gt;<br />
            &lt;channel ref=&quot;server2&quot;/&gt;<br />
&lt;/channels&gt;</p>
<p>&lt;endpoint uri=&quot;<a href="http://www.server1.com:80/flex2gateway/&#038;quot" rel="nofollow">http://www.server1.com:80/flex2gateway/&#038;quot</a>; class=&quot;flex.messaging.endpoints.AMFEndpoint&quot;/&gt;<br />
&lt;endpoint uri=&quot;<a href="http://www.server2.com:80/flex2gateway/&#038;quot" rel="nofollow">http://www.server2.com:80/flex2gateway/&#038;quot</a>; class=&quot;flex.messaging.endpoints.AMFEndpoint&quot;/&gt;</p>
<p>Inside the cfserver.log file, I watch the gateways services fail because:</p>
<p>Could not register endpoint &#8216;/flex2gateway&#8217; with channel &#8216;server1&#8242;, already registered by channel &#8216;server2&#8242;</p>
<p>WTF?  Anyone else have this issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noah Hoffman</title>
		<link>http://blog.flexuous.com/2007/10/09/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-22</link>
		<dc:creator><![CDATA[Noah Hoffman]]></dc:creator>
		<pubDate>Mon, 03 Mar 2008 16:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://flexuous.wordpress.com/2008/03/14/coldfusion-8-flex2gateway-error-500-javalangnullpointerexception/#comment-22</guid>
		<description><![CDATA[Hey There,

    I&#039;m stuck as well on a 500 error viewing http://localhost/flex2gateway when I found your potential solution.  You said to &quot;The solution is to simply change the endpoint uri for the new channel. (You should leave the class definition the same for the uri.)&quot;.  I don&#039;t exactly understand what you mean, could you help clarify?  Here&#039;s what&#039;s currently in my services-config.xml.

        &lt;channel-definition id=&quot;cf-polling-amf&quot; class=&quot;mx.messaging.channels.AMFChannel&quot;&gt;
            &lt;endpoint uri=&quot;http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling/&quot; class=&quot;flex.messaging.endpoints.AMFEndpoint&quot;/&gt;
            &lt;properties&gt;
                &lt;polling-enabled&gt;true&lt;/polling-enabled&gt;
                &lt;polling-interval-seconds&gt;8&lt;/polling-interval-seconds&gt;
                &lt;serialization&gt;
                    &lt;instantiate-types&gt;false&lt;/instantiate-types&gt;
                &lt;/serialization&gt;
            &lt;/properties&gt;
        &lt;/channel-definition&gt;

        &lt;channel-definition id=&quot;my-cfamf-secure&quot; class=&quot;mx.messaging.channels.SecureAMFChannel&quot;&gt;
            &lt;endpoint uri=&quot;https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure&quot; class=&quot;flex.messaging.endpoints.SecureAMFEndpoint&quot;/&gt;
            &lt;properties&gt;
                &lt;polling-enabled&gt;false&lt;/polling-enabled&gt;
                &lt;serialization&gt;
                    &lt;instantiate-types&gt;false&lt;/instantiate-types&gt;
                &lt;/serialization&gt;
            &lt;/properties&gt;
        &lt;/channel-definition&gt;


Thanks,
Noah]]></description>
		<content:encoded><![CDATA[<p>Hey There,</p>
<p>    I&#8217;m stuck as well on a 500 error viewing <a href="http://localhost/flex2gateway" rel="nofollow">http://localhost/flex2gateway</a> when I found your potential solution.  You said to &quot;The solution is to simply change the endpoint uri for the new channel. (You should leave the class definition the same for the uri.)&quot;.  I don&#8217;t exactly understand what you mean, could you help clarify?  Here&#8217;s what&#8217;s currently in my services-config.xml.</p>
<p>        &lt;channel-definition id=&quot;cf-polling-amf&quot; class=&quot;mx.messaging.channels.AMFChannel&quot;&gt;<br />
            &lt;endpoint uri=&quot;http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling/&quot; class=&quot;flex.messaging.endpoints.AMFEndpoint&quot;/&gt;<br />
            &lt;properties&gt;<br />
                &lt;polling-enabled&gt;true&lt;/polling-enabled&gt;<br />
                &lt;polling-interval-seconds&gt;8&lt;/polling-interval-seconds&gt;<br />
                &lt;serialization&gt;<br />
                    &lt;instantiate-types&gt;false&lt;/instantiate-types&gt;<br />
                &lt;/serialization&gt;<br />
            &lt;/properties&gt;<br />
        &lt;/channel-definition&gt;</p>
<p>        &lt;channel-definition id=&quot;my-cfamf-secure&quot; class=&quot;mx.messaging.channels.SecureAMFChannel&quot;&gt;<br />
            &lt;endpoint uri=&quot;https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure&quot; class=&quot;flex.messaging.endpoints.SecureAMFEndpoint&quot;/&gt;<br />
            &lt;properties&gt;<br />
                &lt;polling-enabled&gt;false&lt;/polling-enabled&gt;<br />
                &lt;serialization&gt;<br />
                    &lt;instantiate-types&gt;false&lt;/instantiate-types&gt;<br />
                &lt;/serialization&gt;<br />
            &lt;/properties&gt;<br />
        &lt;/channel-definition&gt;</p>
<p>Thanks,<br />
Noah</p>
]]></content:encoded>
	</item>
</channel>
</rss>

