Qowyn / ark-tools

Tools to work with the binary files of ark. Extract information, manipulate them or write them from scratch.
MIT License
70 stars 25 forks source link

Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer #48

Open comical-uk opened 1 year ago

comical-uk commented 1 year ago

Hi

I just got this error on a m2j

Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer; at qowyn.ark.ArkArchive.getString(ArkArchive.java:198) at qowyn.ark.properties.PropertyStr.(PropertyStr.java:26) at qowyn.ark.properties.PropertyRegistry.readBinary(PropertyRegistry.java:62) at qowyn.ark.GameObject.loadProperties(GameObject.java:375) at qowyn.ark.ArkSavegame.readBinaryObjectPropertiesImpl(ArkSavegame.java:340) at qowyn.ark.ArkSavegame.lambda$readBinaryObjectProperties$5(ArkSavegame.java:326) at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Unknown Source) at java.util.stream.IntPipeline$Head.forEach(Unknown Source) at qowyn.ark.ArkSavegame.readBinaryObjectProperties(ArkSavegame.java:326) at qowyn.ark.ArkSavegame.readBinary(ArkSavegame.java:169) at qowyn.ark.FileFormatBase.readBinary(FileFormatBase.java:31) at qowyn.ark.tools.ConvertingCommands.toJson(ConvertingCommands.java:89) at qowyn.ark.tools.ConvertingCommands.mapToJson(ConvertingCommands.java:24) at qowyn.ark.tools.App.main(App.java:125)

thanks

bomerman234 commented 1 year ago

I am getting the same error, did you by any chance find out how to solve it?