Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.StringIndexOutOfBoundsException: begin 1, end -1, length 2 #455

Closed
RussiaVk opened this issue Apr 12, 2021 · 4 comments
Closed

Comments

@RussiaVk
Copy link

 java.lang.StringIndexOutOfBoundsException: begin 1, end -1, length 2
        at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3734)
        at java.base/java.lang.String.substring(String.java:1903)
        at org.objectweb.asm.signature.SignatureReader.parseType(SignatureReader.java:169)
        at org.objectweb.asm.signature.SignatureReader.acceptType(SignatureReader.java:130)
        at org.objectweb.asm.commons.Remapper.mapSignature(Remapper.java:162)
        at org.objectweb.asm.commons.RemappingClassAdapter.visitField(RemappingClassAdapter.java:90)
        at org.objectweb.asm.ClassVisitor.visitField(ClassVisitor.java:272)
        at com.googlecode.d2j.dex.Dex2Asm.convertField(Dex2Asm.java:488)
        at com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:439)
        at com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:357)
        at com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:460)
        at com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:175)
        at com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:275)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:112)
        at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:290)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:33)

[classes.zip](https://github.com/pxb1988/dex2jar/files/6295768/classes.zip)


@GolubevDenis
Copy link

Have the same issue. There are any updates?

@PratapNaik
Copy link

bump!

@nick-botticelli
Copy link

It looks like this issue may be fixed on this branch https://github.com/ThexXTURBOXx/dex2jar after testing the classes.dex provided. Try testing using the latest release download on that branch.

@pxb1988
Copy link
Owner

pxb1988 commented Oct 31, 2021

the field Landroid/support/design/widget/HeaderBehavior$a;->b:Landroid/view/View; have a signature TV crashes the SignatureReader in asm

a workaround is already patched,
5e4c90f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants