Highlighted
Absent Member.. Absent Member..
Absent Member..
255 views

Problem in recording Flex3 Script

All,

We are trying to record a Flex 3 Application.
We are using following jars:
flex-messaging.jar
flex-messaging-common.jar
flex-messaging-opt.jar
flex-messaging-req.jar

and all the class files of the application are included.

After recording, we are getting a pop up with message:

flex.messaging.MessageException: An unknown exception occurred while creating an instance of type 'com.dealtickets.tickets.deposit.EDTDepositTktAuthForm'.

We have checked and confirmed that class 'EDTDepositTktAuthForm' has default constructor.

In the recording log - We can see following exception -

AMF warning: AMF: Externalizable read object failed: Exception Occurred while invoking TestObject method - java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at hp.flex.HPExternalizableWrapper.TestObject(HPExternalizableWrapper.java:59)
Caused by: flex.messaging.MessageException: An unknown exception occurred while creating an instance of type 'com.dealtickets.tickets.deposit.EDTDepositTktAuthForm'.
at flex.messaging.util.ClassUtil.createDefaultInstance(ClassUtil.java:160)
at flex.messaging.io.AbstractProxy.createInstance(AbstractProxy.java:86)
at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:409)
at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:149)
at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:128)
at flex.messaging.io.amf.Amf3Input.readArray(Amf3Input.java:367)
at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:128)
at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:437)
at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:149)
at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:128)
... 4 more

Please help us resolve this.
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: Problem in recording Flex3 Script

Hi samdeep,

In addition to common jar files you should add application specific jar files.Just add the additional application related jar files and try creating a script.

Regards,
Karthik.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Problem in recording Flex3 Script

I have added all the application specific jar files and still the problem persist.

Please advice.

Thanks!!
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.