Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

failed to map: 'memory=new byte[pages][bytesPerPage]' #76

@shimondoodkin

Description

@shimondoodkin
C:/Users/user/Desktop/nfctools/nfctools-core/src/main/java/org/nfctools/mf/ul/MemoryMap.java
Conversion finished in 4781ms.
ERROR: <unknown>:26: failed to map: 'memory=new byte[pages][bytesPerPage]'
java.lang.IllegalArgumentException: <unknown>:26: failed to map: 'memory=new byte[pages][bytesPerPage]'

https://github.com/grundid/nfctools/blob/master/nfctools-core/src/main/java/org/nfctools/mf/ul/MemoryMap.java

solved this by adding a compiled version of the source as a jar as a dependency with -cp with the path to the jar
and renaming the file to have an extension other than java
also making a copy of the file with single dimension array, then fixing it manually

maybe it is still a bug. so I leave this open

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions