Skip to content

Exception when trying to initialise CardSimulator class #196

@lwinch2006

Description

@lwinch2006

I'm getting exception when trying to write simple unit test using CardSimulator based on this guide "Quick Start Guide: Simulator API";

What I found from debugging that during initialisation it attempts to call APDU class constructor with false (short APDU) and true (extended APDU) parameters but as far as I see in decompiled source APDU class constructor is parameterless.

JC SDK used 3.0.4

    @Test
    public void test() {
        CardSimulator simulator = new CardSimulator();
    }

See attached picture for more details
Screenshot 2022-10-19 at 12 38 40

Screenshot 2022-10-19 at 12 38 04

Screenshot 2022-10-19 at 12 28 01

Screenshot 2022-10-19 at 12 29 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions