You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to map a class extending List for example: class MyClass extends ArrayList<Integer> { }
Selma does not like it and throws an exception during code generation :
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at com.sun.tools.javac.util.List.get(List.java:476)
at fr.xebia.extras.selma.codegen.MappingBuilder$7.getBuilder(MappingBuilder.java:217)
at fr.xebia.extras.selma.codegen.MappingBuilder.getBuilderFor(MappingBuilder.java:428)
at fr.xebia.extras.selma.codegen.MappingRegistry.findMappingFor(MappingRegistry.java:70)
at fr.xebia.extras.selma.codegen.MapsWrapper.findMappingFor(MapsWrapper.java:114)
at fr.xebia.extras.selma.codegen.MapperMethodGenerator.findBuilderFor(MapperMethodGenerator.java:196)
at fr.xebia.extras.selma.codegen.MapperMethodGenerator.generate(MapperMethodGenerator.java:279)
at fr.xebia.extras.selma.codegen.MapperMethodGenerator.buildMappingMethod(MapperMethodGenerator.java:112)
at fr.xebia.extras.selma.codegen.MapperMethodGenerator.buildMappingMethods(MapperMethodGenerator.java:74)
at fr.xebia.extras.selma.codegen.MapperMethodGenerator.build(MapperMethodGenerator.java:63)
at fr.xebia.extras.selma.codegen.MapperClassGenerator.build(MapperClassGenerator.java:124)
at fr.xebia.extras.selma.codegen.MapperProcessor.generateMappingClassses(MapperProcessor.java:91)
at fr.xebia.extras.selma.codegen.MapperProcessor.process(MapperProcessor.java:74)
The text was updated successfully, but these errors were encountered:
julaudo
pushed a commit
to julaudo/selma
that referenced
this issue
Mar 8, 2016
Hi,
I tried to map a class extending List for example:
class MyClass extends ArrayList<Integer> { }
Selma does not like it and throws an exception during code generation :
The text was updated successfully, but these errors were encountered: