gpt4 book ai didi

apache-flex - 访问URL时会弹出错误的文件过早结尾

转载 作者:行者123 更新时间:2023-12-04 03:16:32 24 4
gpt4 key购买 nike

我正在使用Coldfsuion 8.0.1和Solaris 10,并且当我尝试运行此URL时,http://IPADDRESS/flex2gateway/http
我收到错误消息“文件过早结束”。如果我缺少任何安装/修复程序,请帮助我。

当我从浏览器中命中相同的URL时,它显示:

<amfx ver="3">

<body targetURI="/onStatus" responseURI="">

<object type="flex.messaging.messages.ErrorMessage">

<traits>
<string>headers</string>
<string>rootCause</string>
<string>body</string>
<string>correlationId</string>
<string>faultDetail</string>
<string>faultString</string>
<string>clientId</string>
<string>timeToLive</string>
<string>destination</string>
<string>timestamp</string>
<string>extendedData</string>
<string>faultCode</string>
<string>messageId</string>
</traits>

<object>
<traits/>
</object>
<null/>
<null/>
<null/>
<null/>
<string>Premature end of file.</string>
<null/>
<double>0.0</double>.........


错误详细信息(服务器端):

[Flex] Premature end of file.
flex.messaging.MessageException: Premature end of file.
at flex.messaging.io.amfx.AmfxMessageDeserializer.fatalError(AmfxMessageDeserializer.java:249)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at flex.messaging.io.amfx.AmfxMessageDeserializer.parse(AmfxMessageDeserializer.java:103)
at flex.messaging.io.amfx.AmfxMessageDeserializer.readMessage(AmfxMessageDeserializer.java:90)
at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:113)

最佳答案

响应xml是动态生成的吗?

似乎xml文件格式无效。如果它是动态生成的,则创建它的应用程序可能会被炸毁,因此文件不完整。

关于apache-flex - 访问URL时会弹出错误的文件过早结尾,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2578643/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com