ljyloo / LevelDb2Avnil

Convert Minecraft: Pocket Edition(LevelDb) map to Minecraft(Avnil) map
GNU General Public License v2.0
101 stars 31 forks source link

No Such Element Exception... #25

Open philapollo opened 7 years ago

philapollo commented 7 years ago

Hi there, I get quite a few unknown keys like the one below (not sure if this is a problem) but the iterator eventually runs into the fatal exception below. cheers, Phil

Unknown Key: 0x126 108 111 099 097 108 095 112 108 097 121 101 114

Unknown Key: gacy chunk X: -1 Z: -108 0x-01 -01 -01 -01 -01 -01 -01 -01 118

Exception in thread "main" java.util.NoSuchElementException at org.iq80.leveldb.util.AbstractSeekingIterator.next(AbstractSeekingIterator.java:59) at org.iq80.leveldb.impl.SeekingIteratorAdapter.next(SeekingIteratorAdapter.java:60) at org.iq80.leveldb.impl.SeekingIteratorAdapter.next(SeekingIteratorAdapter.java:28) at com.ljyloo.PE2PC.PE2PC.convert(PE2PC.java:131) at com.ljyloo.PE2PC.PE2PC.main(PE2PC.java:37)

haeter525 commented 7 years ago

Did you use Converter.jar?

haeter525 commented 7 years ago

I have uploaded a new one which should be more stable and less bug, So please give it a try :)