Skip to content

Bug: IndexOutOfBounds when comparing two split-apk files #5

Open
@ryuujo1573

Description

Java Version: zulu-jdk "17.0.12" 2024-07-16 LTS (not related information)

?? dex-diff v0.1.2
? Heap size: 16384 MB
? Initialising...
?? Decompiling before APK... (this may take some time)
? decompiling dmserver-so-far-so-good.apk skipped as cache exist
? Decompiling before APK finished
?? Decompiling after APK... (this may take some time)
? decompiling dm-ondeviceai-BIG.apk skipped as cache exist
? Decompiling after APK finished
? Decompile finished (1486ms)
?? Comparing before and after... (this may take some time)
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
        at java.base/java.util.Collections$SingletonList.get(Collections.java:4959)
        at com.github.theapache64.dexdiff.models.FilesResultKt.generatedDirName(FilesResult.kt:174)
        at com.github.theapache64.dexdiff.models.FilesResultKt.createFileResult(FilesResult.kt:47)
        at com.github.theapache64.dexdiff.ui.home.HomeViewModel.init(HomeViewModel.kt:80)
        at com.github.theapache64.dexdiff.ui.home.HomeActivity.onCreate(HomeActivity.kt:30)
        at com.theapache64.cyclone.core.Activity.startActivity(Activity.kt:17)
        at com.github.theapache64.dexdiff.ui.splash.SplashActivity.access$startActivity(SplashActivity.kt:11)
        at com.github.theapache64.dexdiff.ui.splash.SplashActivity$onCreate$1$1.invoke(SplashActivity.kt:30)
        at com.github.theapache64.dexdiff.ui.splash.SplashActivity$onCreate$1$1.invoke(SplashActivity.kt:28)
        at com.theapache64.cyclone.core.livedata.LiveData.observe(LiveData.kt:36)
        at com.github.theapache64.dexdiff.ui.splash.SplashActivity.onCreate(SplashActivity.kt:28)
        at com.theapache64.cyclone.core.Application.startActivity(Application.kt:11)
        at com.github.theapache64.dexdiff.app.App.onCreate(App.kt:25)
        at com.github.theapache64.dexdiff.app.AppKt.main(App.kt:37)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions