Luyten icon indicating copy to clipboard operation
Luyten copied to clipboard

java.lang.IllegalStateException: Invalid BootstrapMethods attribute entry: 2 additional arguments required for method java/lang/invoke/StringConcatFactory.makeConcatWithConstants, but only 1 specified.

Open being1943 opened this issue 1 year ago • 4 comments

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?

being1943 avatar Jun 09 '23 01:06 being1943

1、Please temporarily open luyten using the following method

java -jar luyten-0.5.4.exe

2、Then open your class file

image

1534834526 avatar Jun 13 '23 08:06 1534834526

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

vrosu avatar Jul 07 '23 12:07 vrosu

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?

Hexyart avatar Jan 09 '24 16:01 Hexyart

same issue.

JodyBoyy avatar Mar 07 '24 18:03 JodyBoyy