Search the web
Sign In
New User? Sign Up
flashorb · Developing RIAs with WebORB, Flex, AJAX

Group Information

  • Members: 2814
  • Category: Macromedia Flash
  • Founded: Aug 11, 2003
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Visual Studio Web Test doesn't work with remote amf calls   Message List  
Reply Message #7725 of 7798 |
RE: [weborb] Re: Visual Studio Web Test doesn't work with remote amf calls

Hi Mark,

This is the log from WebORB (only Warnings and Errors):

2010-03-30 09:20:01,235 [10] WEBORB_EXCEPTION WebORB - Exception: Exception of
type 'System.OutOfMemoryException' was thrown. StackTrace: at
System.IO.BinaryReader.ReadBytes(Int32 count)
at Weborb.Reader.FlashorbBinaryReader.ReadUTF(Int32 len)
at Weborb.Reader.ReaderUtils.readString(FlashorbBinaryReader reader,
ParseContext parseContext)
at Weborb.Reader.V3ObjectReader.a(Int32 A_0, FlashorbBinaryReader A_1,
ParseContext A_2)
at Weborb.Reader.V3ObjectReader.read(FlashorbBinaryReader reader,
ParseContext parseContext)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext, ITypeReader[] readers)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
Int32 version)
at Weborb.Reader.V3Reader.read(FlashorbBinaryReader reader, ParseContext
parseContext)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext, ITypeReader[] readers)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext)
at Weborb.Reader.ArrayReader.read(FlashorbBinaryReader reader, ParseContext
parseContext)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext, ITypeReader[] readers)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader)
at Weborb.Protocols.Amf.RequestParser.a(FlashorbBinaryReader A_0)
at Weborb.Protocols.Amf.RequestParser.readMessage(Stream input)
2010-03-30 09:20:01,236 [10] WEBORB_EXCEPTION WebORB - cannot parse request.
possible reasons: malformed request or protocol formatter is not registered :
at Weborb.Protocols.ProtocolRegistry.BuildMessage(String contentType, Stream
requestStream, NameValueCollection headers)
at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1, HttpResponse
A_2)
2010-03-30 09:20:01,621 [10] WEBORB_EXCEPTION WebORB - Exception: Index was out
of range. Must be non-negative and less than the size of the collection.
Parameter name: index StackTrace: at
System.Collections.ArrayList.get_Item(Int32 index)
at Weborb.Reader.ParseContext.getStringReference(Int32 index)
at Weborb.Reader.ReaderUtils.readString(FlashorbBinaryReader reader,
ParseContext parseContext)
at Weborb.Reader.V3ObjectReader.a(Int32 A_0, FlashorbBinaryReader A_1,
ParseContext A_2)
at Weborb.Reader.V3ObjectReader.read(FlashorbBinaryReader reader,
ParseContext parseContext)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext, ITypeReader[] readers)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
Int32 version)
at Weborb.Reader.V3Reader.read(FlashorbBinaryReader reader, ParseContext
parseContext)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext, ITypeReader[] readers)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext)
at Weborb.Reader.ArrayReader.read(FlashorbBinaryReader reader, ParseContext
parseContext)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext, ITypeReader[] readers)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader)
at Weborb.Protocols.Amf.RequestParser.a(FlashorbBinaryReader A_0)
at Weborb.Protocols.Amf.RequestParser.readMessage(Stream input)
2010-03-30 09:20:01,622 [10] WEBORB_EXCEPTION WebORB - cannot parse request.
possible reasons: malformed request or protocol formatter is not registered :
at Weborb.Protocols.ProtocolRegistry.BuildMessage(String contentType, Stream
requestStream, NameValueCollection headers)
at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1, HttpResponse
A_2)
2010-03-30 09:20:02,212 [10] WEBORB_EXCEPTION WebORB - Exception: Index was
outside the bounds of the array. StackTrace: at
Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext, ITypeReader[] readers)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader)
at Weborb.Protocols.Amf.RequestParser.a(FlashorbBinaryReader A_0)
at Weborb.Protocols.Amf.RequestParser.readMessage(Stream input)
2010-03-30 09:20:02,212 [10] WEBORB_EXCEPTION WebORB - cannot parse request.
possible reasons: malformed request or protocol formatter is not registered :
at Weborb.Protocols.ProtocolRegistry.BuildMessage(String contentType, Stream
requestStream, NameValueCollection headers)
at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1, HttpResponse
A_2)
2010-03-30 09:20:02,607 [10] WEBORB_EXCEPTION WebORB - Exception: Index was
outside the bounds of the array. StackTrace: at
Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader,
ParseContext parseContext, ITypeReader[] readers)
at Weborb.Protocols.Amf.RequestParser.readData(FlashorbBinaryReader reader)
at Weborb.Protocols.Amf.RequestParser.a(FlashorbBinaryReader A_0)
at Weborb.Protocols.Amf.RequestParser.readMessage(Stream input)
2010-03-30 09:20:02,608 [10] WEBORB_EXCEPTION WebORB - cannot parse request.
possible reasons: malformed request or protocol formatter is not registered :
at Weborb.Protocols.ProtocolRegistry.BuildMessage(String contentType, Stream
requestStream, NameValueCollection headers)
at Weborb.ORBHttpHandler.a(HttpContext A_0, HttpRequest A_1, HttpResponse
A_2)
2010-03-30 09:20:02,983 [10] WEBORB_EXCEPTION WebORB - Exception: Index was out
of range. Must be non-negative and less than the size of the collection.


ScreenShot VS2010. The first call is a call with Info 8 (don't know what that
is). I also tested agains a FluorineFX driven site, and there it worked, but
FluorineFX doesn't seem to make these extra calls (8, 5, ...), so I don't know
if that is the problem.

[cid:image001.png@...]

In Charles, the original request and request made by VS2010 are different. When
I run Charles when replaying in VS2010, it also kind off crashes on the amf.

As attachment the both requests (copy paste in mail doesn't work).


Thx, Lieven Cardoen


From: flashorb@yahoogroups.com [mailto:flashorb@yahoogroups.com] On Behalf Of
Cardoen Lieven
Sent: maandag 29 maart 2010 18:23
To: flashorb@yahoogroups.com
Subject: RE: [weborb] Re: Visual Studio Web Test doesn't work with remote amf
calls



Hi Mark, yes, there's an error. I'll send the full error tomorrow, but it's an
unknown protocol that WebORB is complaining about. I compared the Request Bodies
of the original request and the one generated by VS2010 and there seems to be a
character extra in VS2010. I didn't get any further. I don't know if you ever
tried that Test Edition, but I think you should be able to reproduce it.
Tomorrow I'll send some more details + the Request Bodies.

From: flashorb@yahoogroups.com<mailto:flashorb%40yahoogroups.com>
[mailto:flashorb@yahoogroups.com<mailto:flashorb%40yahoogroups.com>] On Behalf
Of Mark
Sent: maandag 29 maart 2010 17:22
To: flashorb@yahoogroups.com<mailto:flashorb%40yahoogroups.com>
Subject: [weborb] Re: Visual Studio Web Test doesn't work with remote amf calls

Could you check if there any errors in the WebORB log file?

Mark

--- In
flashorb@yahoogroups.com<mailto:flashorb%40yahoogroups.com><mailto:flashorb%40ya\
hoogroups.com>, Cardoen Lieven <l.cardoen@...> wrote:
>
> Today I tried out a Web Test in Visual Studio 2010. I did a test with a Flex
Application. VS2010 records the amf calls, but when I try to replay them, I get
a timeout. It's like VS2010 messes up the amf request body...
>
> Has anyone tried this before?
>
> Thx, Lieven Cardoen
>
>
>
> [Non-text portions of this message have been removed]
>

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]




Tue Mar 30, 2010 7:29 am

lieven_cardoen
Offline Offline
Send Email Send Email

Message #7725 of 7798 |
Expand Messages Author Sort by Date

Today I tried out a Web Test in Visual Studio 2010. I did a test with a Flex Application. VS2010 records the amf calls, but when I try to replay them, I get a...
Cardoen Lieven
lieven_cardoen Offline Send Email
Mar 29, 2010
2:06 pm

Could you check if there any errors in the WebORB log file? Mark...
Mark
mpiller Offline Send Email
Mar 29, 2010
3:23 pm

Hi Mark, yes, there's an error. I'll send the full error tomorrow, but it's an unknown protocol that WebORB is complaining about. I compared the Request Bodies...
Cardoen Lieven
lieven_cardoen Offline Send Email
Mar 29, 2010
4:41 pm

Hi Mark, This is the log from WebORB (only Warnings and Errors): 2010-03-30 09:20:01,235 [10] WEBORB_EXCEPTION WebORB - Exception: Exception of type...
Cardoen Lieven
lieven_cardoen Offline Send Email
Mar 30, 2010
4:56 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help