SerializationFilter中的NullPointerException

时间:2011-12-28 20:55:49

标签: blazeds

我正在Coldfusion服务器上设置BlazeDS,我正试图让一个简单的聊天界面显示出来。设置包括在coldfusion管理员中创建一个网关,然后使用一个简单的Flex聊天室点击它。我已经在自己的计算机上进行了本地测试,但它确实有效。所以我在服务器上做了同样的事情。我测试了网关,它似乎工作。但是,当我尝试在外部使用Flex代码时,我收到以下错误..

12/28 15:01:11 Information [scheduler-0] - Run Client Storage Purge
[BlazeDS]null
java.lang.NullPointerException
        at flex.messaging.endpoints.amf.SerializationFilter.deserializationError
(SerializationFilter.java:236)
        at flex.messaging.endpoints.amf.SerializationFilter.invoke(Serialization
Filter.java:130)
        at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.ja
va:278)
        at coldfusion.flash.messaging.CFAMFEndPoint.service(CFAMFEndPoint.java:2
95)
        at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java
:322)
        at coldfusion.flex.ColdFusionMessageBrokerServlet.service(ColdFusionMess
ageBrokerServlet.java:114)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:8
9)
        at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
        at coldfusion.filter.FlashRequestControlFilter.doFilter(FlashRequestCont
rolFilter.java:71)
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46
)
        at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
        at jrun.servlet.FilterChain.service(FilterChain.java:101)
        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
        at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
286)
        at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
543)
        at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.ja
va:203)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j
ava:428)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

这个错误意味着什么,可能的解决方案是什么?

0 个答案:

没有答案