Extensions

Hi all.
Thanks, Matthew for your reply. I put the debug level and I can saw the error.
Another question:
I have created a new extension, and the Java class has this method with this signature:

public void cutFile(String inputFile, String outputPath, int size_reg, int regInitial, int regFinal)

When I execute the sequence, I get the exception:
FileUtilExtension - java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.softwareag.xbridge.objectgateway.ObjectActionImplCall.invoke(DashOB6501:79)
at com.softwareag.xbridge.objectgateway.ObjectManager.invoke(DashOB6501:78)
at com.softwareag.xbridge.objectgateway.ObjectMessage.process(DashOB6501:155)
at com.softwareag.xbridge.objectgateway.ObjectGatewayImpl.modify(DashOB6501:182)
at com.softwareag.xbridge.infrastructure.y.modify(DashOB6501:56)
at com.softwareag.xbridge.sequencer.KeywordSTEP.execute(DashOB6501:148)
at com.softwareag.xbridge.sequencer.SequencerImpl.execute(DashOB6501:573)
at com.softwareag.xbridge.sequencer.SequencerImpl.dispatch(DashOB6501:293)
at com.softwareag.xbridge.infrastructure.ac.perform(DashOB6501:235)
at com.softwareag.xbridge.util.WorkerThread.run(DashOB6501:424)

Only String arguments are allowed or the problem is only with primitive types(int)?

Thanks in advance.

You are right to assume the int types are your problem. Mediator only supports string and ByteArray as input values for your class. A solution might be to rewrite your class to accept string instead of int values and perform a conversion in the class before using the values.

Regards,

- Matthew G.