failed to map: 'memory=new byte[pages][bytesPerPage]'
Opened this issue · 1 comments
shimondoodkin commented
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]'
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
kymowang commented
I meet the problem too. I have too many 2 dim arrays and don't know how to continue.