【发布时间】:2013-11-10 09:08:23
【问题描述】:
我遇到了以下异常:
[BlazeDS] Unsupported AMF version 4,660.
flex.messaging.MessageException: Unsupported AMF version 4,660.
at flex.messaging.io.amf.AmfMessageDeserializer.readMessage(AmfMessageDeserializer.java:93)
at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:114)
at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:274)
at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:377)
我使用的是BlazeDS 的3.0.0.544 版本,尽管我发现多个帖子都在谈论升级到3.2 版本以解决类似问题,但我认为这不是正确的解决方法我的问题。我发现的帖子谈到看到不支持的版本 1。当我查看放入版本 3.2 的 BlazeDS 的修复程序时,它看起来像版本 1 is converted to 0 (AMF1 to AMF0)。除了0, 1 and 3 (AMF0, AMF1 and AMF3 respectively) 之外的任何其他版本都会抛出上面看到的异常。
有人知道是什么导致了这个异常吗? (我并不是说 BlazeDS 会抛出异常,我明白了。)我要问的是为什么版本是 4660 而不是 0 或 3。
【问题讨论】:
-
您何时何地收到此异常?启动时?或者在向/从 Flex 拨打电话时?
-
@avijendr 我在拨打电话时收到此消息。这不是在启动时发生的事情。
-
谢谢。我会试试这个并告诉你。
标签: java apache-flex blazeds amf