--- type: "Topics" locale: "en" url: "https://longbridge.com/en/topics/33222437.md" description: "bug 看垂直策略期权的时候经常报这个错java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) at java.util.Objects.checkIndex(Objects.java:359) at java.util.ArrayList.set(ArrayList.java:477) at lb.quote.gateway.OptionFieldsResponseOuterClass$OptionFieldsResponse$Field$Builder.setAskDepths(OptionFieldsResponseOuterClass.java:4) at com.longbridge.market.mvp.ui.widget.option.strategy.chainList.h.U(OptionChainListManager.kt:183)at com.longbridge.market.mvp.ui.widget.option.strategy.chainList.h.N(OptionChainListManager.kt:39)" datetime: "2025-08-21T18:44:58.000Z" locales: - [en](https://longbridge.com/en/topics/33222437.md) - [zh-CN](https://longbridge.com/zh-CN/topics/33222437.md) - [zh-HK](https://longbridge.com/zh-HK/topics/33222437.md) author: "[新韭菜_han](https://longbridge.com/en/profiles/18778336.md)" --- # bug 看垂直策略期权的时候经常报这个错java.lang.IndexOutOfBoundsExc… ## Comments (1) - **新用户_rjxfVf · 2025-08-22T07:51:31.000Z · 👍 1**: Hello, this issue will be fixed in the new version.