Highlighted
Established Member..
Established Member..
1834 views

Flex- Decoding of AMF message failed error

Jump to solution

Hi Guys,

 

Load Runner 11.0

Patches : Patch 1

 

I am getting the below error when I ran the script on the controller for 2 Vusers.

 

Action.c(487): Error: Decoding of AMF message failed. Error is : Externalizable parsing failed: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at hp.flex.HPExternalizableWrapper.ReadObject(HPExternalizableWrapper.java:168)
Caused by: flex.messaging.MessageException: Cannot create class of type 'com.ep.ff.web.transferobject.setup.address.WorkRegionTO'. Type 'com.ep.ff.web.transferobject.setup.address.WorkRegionTO' not found.
 at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:66)
 at flex.messaging.io.AbstractProxy.getClassFromClassName(AbstractProxy.java:103)
 at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:430)
 at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
 at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
 at flex.messaging.io.amf.Amf3Input.readArray(Amf3Input.java:371)
 at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:157)
 at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
 at flex.messaging.io.ArrayCollection.readExternal(ArrayCollection.java:87)
 at flex.messaging.io.amf.Amf3Input.readExternalizable(Amf3Input.java:528)
 at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:455)
 at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
 at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
 at flex.messaging.messages.AbstractMessage.readExternal(AbstractMessage.java:242)
 at flex.messaging.messages.AsyncMessage.readExternal(AsyncMessage.java:98)
 at flex.messaging.messages.AcknowledgeMessage.readExternal(AcknowledgeMessage.java:55)
 at flex.messaging.io.amf.Amf3Input.readExternalizable(Amf3Input.java:528)
 at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:455)
 at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
 at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
 ... 5 more

 

Actually firefly.jar file as  (C:\tmp\firefly.zip\com\ep\ff\web\transferobject\setup\address)

AddressTO.class

CountryTO.class

IsoCountryTO.class

LicenseWorkRegionTO.class   (see attached screenshot)

RegionTO.class

StateTO.class

WorkRegionTO.class

 

For some reason "WorkRegionTO.class" is not parsing.

If the firefly.jar is incorrect then it supposed to give parsing error for remaining classes also.

If delete firefly.jar file from   Vuser-->Runtime Settings-->

then it's giving the error for all the classes of firefly.jar file.That means my configuration is correct.

 

If I install Patch2 ,will the error go?

 

Please advise me!

 

Thanks,

Raj

0 Likes
1 Solution

Accepted Solutions
Highlighted
Established Member..
Established Member..

Re: Flex- Decoding of AMF message failed error

Jump to solution

Never mind.I fixed it.

View solution in original post

0 Likes
2 Replies
Highlighted
Established Member..
Established Member..

Re: Flex- Decoding of AMF message failed error

Jump to solution

Never mind.I fixed it.

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Flex- Decoding of AMF message failed error

Jump to solution

Hi Raj,

 

i hope you solved problem!

While Running the script in Vugen am facing same issue.Please let me know the wt's work around for this issue.

 

Regards.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.