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.IllegalStateException: Invalid BootstrapMethods attribute entry: 2 additional arguments required for method java/lang/invoke/StringConcatFactory.makeConcatWithConstants, but only 1 specified. #317

Open
being1943 opened this issue Jun 9, 2023 · 4 comments · May be fixed by #292

Comments

@being1943
Copy link

java.lang.IllegalStateException: Invalid BootstrapMethods attribute entry: 2 additional arguments required for method java/lang/invoke/StringConcatFactory.makeConcatWithConstants, but only 1 specified.
at com.strobel.assembler.ir.Error.invalidBootstrapMethodEntry(Error.java:244)
at com.strobel.assembler.ir.MetadataReader.readAttributeCore(MetadataReader.java:280)
at com.strobel.assembler.metadata.ClassFileReader.readAttributeCore(ClassFileReader.java:261)
at com.strobel.assembler.ir.MetadataReader.inflateAttributes(MetadataReader.java:439)
at com.strobel.assembler.metadata.ClassFileReader.visitAttributes(ClassFileReader.java:1134)
at com.strobel.assembler.metadata.ClassFileReader.readClass(ClassFileReader.java:439)
at com.strobel.assembler.metadata.ClassFileReader.readClass(ClassFileReader.java:377)
at com.strobel.assembler.metadata.MetadataSystem.resolveType(MetadataSystem.java:129)
at com.strobel.assembler.metadata.MetadataSystem.lookupTypeCore(MetadataSystem.java:86)
at com.strobel.assembler.metadata.MetadataResolver.lookupType(MetadataResolver.java:46)
at us.deathmarine.luyten.Model.openEntryByTreePath(Model.java:338)
at us.deathmarine.luyten.Model$TreeListener$1.run(Model.java:266)
help?

@1534834526
Copy link

1、Please temporarily open luyten using the following method

java -jar luyten-0.5.4.exe

2、Then open your class file

image

@vrosu
Copy link

vrosu commented Jul 7, 2023

This works also with java -jar luyten-0.5.4.jar. Maybe do we dare to dream this will be fixed sometime :D ?

@ThexXTURBOXx ThexXTURBOXx linked a pull request Aug 2, 2023 that will close this issue
@Hexyart
Copy link

Hexyart commented Jan 9, 2024

Hello,
I didn’t understand the method I tried with the cmd and it doesn’t work
the gap is still there can you help me?

@JodyBoyy
Copy link

JodyBoyy commented Mar 7, 2024

same issue.

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

Successfully merging a pull request may close this issue.

5 participants