You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at java.util.stream.Collectors.lambda$throwingMerger$0(Collectors.java:133)
at java.util.HashMap.merge(HashMap.java:1254)
at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320)
at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.ExtendedElement.(ExtendedElement.java:19)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.convertChildren(ImgdirElement.java:70)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.(ImgdirElement.java:43)
at com.github.mrzhqiang.maplestory.wz.element.CanvasElement.convertChildren(CanvasElement.java:40)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.CanvasElement.(CanvasElement.java:24)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.convertChildren(ImgdirElement.java:58)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.(ImgdirElement.java:43)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.convertChildren(ImgdirElement.java:50)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.(ImgdirElement.java:39)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.of(ImgdirElement.java:35)
at com.github.mrzhqiang.maplestory.wz.WzFile.(WzFile.java:80)
at com.github.mrzhqiang.maplestory.wz.WzDirectory.attemptParse(WzDirectory.java:132)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at com.github.mrzhqiang.maplestory.wz.WzDirectory.parse(WzDirectory.java:117)
at com.github.mrzhqiang.maplestory.wz.WzDirectory.attemptParse(WzDirectory.java:128)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at com.github.mrzhqiang.maplestory.wz.WzDirectory.parse(WzDirectory.java:117)
at com.github.mrzhqiang.maplestory.wz.WzData.load(WzData.java:46)
Describe the bug
(简洁清楚地描述 BUG 是什么)
发现异常的【堆栈日志】
ava.lang.IllegalStateException: Duplicate key com.github.mrzhqiang.maplestory.wz.element.VectorElement@6440112d
at java.util.stream.Collectors.lambda$throwingMerger$0(Collectors.java:133)
at java.util.HashMap.merge(HashMap.java:1254)
at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320)
at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.ExtendedElement.(ExtendedElement.java:19)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.convertChildren(ImgdirElement.java:70)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.(ImgdirElement.java:43)
at com.github.mrzhqiang.maplestory.wz.element.CanvasElement.convertChildren(CanvasElement.java:40)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.CanvasElement.(CanvasElement.java:24)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.convertChildren(ImgdirElement.java:58)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.(ImgdirElement.java:43)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.convertChildren(ImgdirElement.java:50)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.childrenOf(BaseWzElement.java:149)
at com.github.mrzhqiang.maplestory.wz.element.BaseWzElement.(BaseWzElement.java:61)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.(ImgdirElement.java:39)
at com.github.mrzhqiang.maplestory.wz.element.ImgdirElement.of(ImgdirElement.java:35)
at com.github.mrzhqiang.maplestory.wz.WzFile.(WzFile.java:80)
at com.github.mrzhqiang.maplestory.wz.WzDirectory.attemptParse(WzDirectory.java:132)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at com.github.mrzhqiang.maplestory.wz.WzDirectory.parse(WzDirectory.java:117)
at com.github.mrzhqiang.maplestory.wz.WzDirectory.attemptParse(WzDirectory.java:128)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at com.github.mrzhqiang.maplestory.wz.WzDirectory.parse(WzDirectory.java:117)
at com.github.mrzhqiang.maplestory.wz.WzData.load(WzData.java:46)
出现问题的【屏幕截图】
可以复现的【详细步骤】
你所猜测的【关键因素】
其他相关的【文字描述】
Expected behavior
(简洁清楚地描述期望的行为)
(Optional) About information
(【可选的】相关信息)
OS version
: Windows 10 10.0Java
: Oracle JDK 1.8.0_301DB
: MySQL 5.7.30-logBranchs Tags or Commit Revision
:Project version
: 1.0-SNAPSHOTYour customize
: other informationThe text was updated successfully, but these errors were encountered: