KaikyuLotus / moe-moe-secretary

Moe Moe Secretary - Your waifu always with you!
GNU General Public License v3.0
24 stars 4 forks source link

Azur Lane Adapter Error #19

Closed RoonMoonlight closed 1 year ago

RoonMoonlight commented 2 years ago

Hello, there is Out of Bounds error for Azur Lane Bremerton adapter.

Here is the log:

Loading default config first
Found custom config file, loading it...
Starting AzurLane with name Bremerton
Registered on boot
Getting ship quotes
Getting ship images
Parsing data...
Loading dialogs
Loading dialogs of language Chinese
com.kitsunecode.mms.core.entities.exceptions.StartFailedException: Critical error while creating the adapter: IndexOutOfBoundsException: Index: 0, Size: 0
    at com.kitsunecode.mms.core.utils.Util.getWaifuFromAdapterName(Util.java:249)
    at com.kitsunecode.mms.core.Main.lambda$initialize$0(Main.java:37)
    at com.kitsunecode.mms.core.utils.Util.catchMoeMoeExceptionsAndExit(Util.java:339)
    at com.kitsunecode.mms.core.Main.initialize(Main.java:35)
    at com.kitsunecode.mms.core.Main.main(Main.java:45)
Caused by: com.kitsunecode.mms.core.entities.exceptions.StartFailedException: IndexOutOfBoundsException: Index: 0, Size: 0
    at com.kitsunecode.mms.core.adapters.IWaifuAdapter.init(IWaifuAdapter.java:68)
    at com.kitsunecode.mms.core.utils.Util.getWaifuFromAdapterName(Util.java:234)
    ... 4 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:659)
    at java.util.ArrayList.remove(ArrayList.java:498)
    at com.kitsunecode.mms.core.adapters.impl.AzurLane.loadDialogs(AzurLane.java:86)
    at com.kitsunecode.mms.core.adapters.impl.AzurLane.loadDialogs(AzurLane.java:74)
    at com.kitsunecode.mms.core.adapters.impl.AzurLane.loadFromCustomSource(AzurLane.java:58)
    at com.kitsunecode.mms.core.adapters.IWaifuAdapter.init(IWaifuAdapter.java:50)
    ... 5 more
RoonMoonlight commented 2 years ago

It also happens to Enterprise... I guess whole Azur Lane adapters got broke because of their update