sts4
sts4 copied to clipboard
[exception from inside jdt ls] Cannot invoke "String.length()" because "typeSignature" is null
java.lang.NullPointerException: Cannot invoke "String.length()" because "typeSignature" is null
at org.eclipse.jdt.internal.compiler.parser.TypeConverter.createTypeReference(TypeConverter.java:129)
at org.eclipse.jdt.internal.core.BinaryTypeConverter.createTypeReference(BinaryTypeConverter.java:348)
at org.eclipse.jdt.internal.core.BinaryTypeConverter.convert(BinaryTypeConverter.java:200)
at org.eclipse.jdt.internal.core.BinaryTypeConverter.convert(BinaryTypeConverter.java:312)
at org.eclipse.jdt.internal.core.BinaryTypeConverter.buildTypeDeclaration(BinaryTypeConverter.java:99)
at org.eclipse.jdt.internal.codeassist.SelectionEngine.selectType(SelectionEngine.java:1591)
at org.eclipse.jdt.internal.core.NamedMember.resolveType(NamedMember.java:319)
at org.eclipse.jdt.internal.core.NamedMember.resolveType(NamedMember.java:261)
at org.springframework.tooling.jdt.ls.commons.java.JavaData.resolveFQName(JavaData.java:530)
at org.springframework.tooling.jdt.ls.commons.java.JavaData.fillTypeDescriptorData(J
I'm thinking of logging this NPE with the type name that failed to resolve with an NPE.
So the first step here will be to add more detailed information to the exception and roll that out with the next release, so that we can dive deeper for 5.1.0 then. Therefore, moving this towards 5.1.0