Visa Developer Community

Newbie

Unable to parse ISO message in parser

I am unable to pass the iso string in the visa qr parser downloaded from VDP.

Error obtain when running the code:

Exception in thread "main" java.lang.VerifyError: Expecting a stackmap frame at branch target 16
Exception Details:
Location:
com/visa/mvisa/tlvparser/QrCodeParser.parseQrData(Ljava/lang/String;)Lcom/visa/mvisa/tlvparser/QrCodeParserResponse; @9: goto
Reason:
Expected stackmap frame at this location.
Bytecode:
0x0000000: bb00 0459 b700 124d 2ba7 0007 b600 1fbf
0x0000010: 04bd 0008 5a5f 035f 5303 9159 9159 91b8
0x0000020: 0010 b800 1b12 0104 bd00 0759 0312 0953
0x0000030: b600 1c5f 015f b600 20c0 0006 4e2d b900
0x0000040: 2101 003a 0419 04b6 0015 b900 2201 0099
0x0000050: 004d 2c19 04b6 0013 b600 172c 1904 b600
0x0000060: 14a7 0007 b600 1fbf 04bd 0008 5a5f 035f
0x0000070: 5303 9159 0460 9159 91b8 0010 b800 1b12
0x0000080: 0104 bd00 0759 0312 0c53 b600 1c5f 015f
0x0000090: b600 20c0 000c b600 18a7 0015 2c19 04b6
0x00000a0: 0015 b600 192c 1904 b600 16b6 001a 2cb0
0x00000b0:
Exception Handler Table:
bci [16, 60] => handler: 12
bci [104, 150] => handler: 100

at Test.main(Test.java:49)

 

Is it because the jar must only be use on android platform? 

If yes, can someone send me a jar that I can use on eclipse plz.

1 REPLY 1
Visa Dev Moderator

Re: Unable to parse ISO message in parser

Hi @Prashaant,

 

Before moving forward with the next step, it is important to review the Visa Direct documentation via this link - https://developer.visa.com/capabilities/visa_direct/docs

 

In particular, please see the top few paragraphs that are shaded in yellow that discuss the requirements to use Visa Direct.

 

After having read the documentation, if you meet those requirements, then please click through the link in those paragraphs to the Visa Direct Program Implementation Questionnaire, fill it out, and submit to the email address listed on that form.

 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana