-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
String index out of range: -1 #10
Comments
Can you perhaps send me the |
I have a few mappers in my project but I'm not event touching them. It just happens. But I can give you one of the mappers: import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import pt.ipb.creditacao.entities.IpbAlunos;
import pt.ipb.creditacao.shared.domain.Aluno;
@Mapper
public interface AlunosMapper {
@Mapping(target = "bi", source = "biN")
@Mapping(target = "codigoPostal", source = "codPostal")
Aluno toAluno(IpbAlunos a);
} |
@natros I found the issue. The issue happens if you have methods that are less than 3 characters. I have a fix ready, but will push it later today. I'll also publish 1.0.1 with this fix. This has problems now: public String so() {
return null;
} |
thanks |
@natros the fix has been released. There should be an updated available as soon as it gets approved by Jetbrains. Thanks a lot for the bug report. |
Version: 1.0.0
IntelliJ IDEA 2017.2.5
Build #IU-172.4343.5, built on September 19, 2017
JRE: 1.8.0_152-release-915-b12 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
The text was updated successfully, but these errors were encountered: