PCML problem

pts.
Tags:
Development
I have been trying to use PCML to run a test program on AS400,using Java. However inspite of my PCML and the java code being syntactically correct, I am repeatedly getting java.lang.VerifyError exception- java.lang.VerifyError: (class: com/ibm/as400/data/PcmlSAXParser, method: <init> signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)V) Incompatible object argument for function call... Where am I going wrong? Please help asap.

Answer Wiki

Thanks. We'll let you know when a new response is added.

It appears it is a parameter/object type problem just by guessing at your error message. I cant tell if it’s in the pcml or in the java code.

Check you parm list in your program and make your it jives with the pcmc code generated. FYI, the RPG compiler will generate pcml code for you.

Check the data types your using for your java method arguments and make sure it is compatible with the method signature.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following