on 07-21-2021 7:43 AM
Hi,
When building CDS view, code completion retrieves possible entries but fails each time when accessing documentation:
Double click on message (empty, marked above) gives:
java.lang.NullPointerException
at com.sap.adt.cds.common.annotation.service.AnnotationCodeElementInfoService.getDdlaElementInfo(AnnotationCodeElementInfoService.java:118)
at com.sap.adt.cds.common.annotation.service.AnnotationCodeElementInfoService.getDdlaElementInfo(AnnotationCodeElementInfoService.java:107)
at com.sap.adt.cds.common.annotation.service.AnnotationCodeElementInfoService.getCodeElementInfo(AnnotationCodeElementInfoService.java:59)
at com.sap.adt.cds.ddl.ui.internal.editors.pages.completion.DdlCodeElementInfoService.getCodeElementInfo(DdlCodeElementInfoService.java:198)
at com.sap.adt.ddic.ui.internal.elementinfo.SbdCodeElementInfoService.getElementInformationWithNavigationInfo(SbdCodeElementInfoService.java:71)
at com.sap.adt.ddic.ui.internal.elementinfo.SbdCodeElementInfoService.getCodeElementInformation(SbdCodeElementInfoService.java:52)
at com.sap.adt.util.ui.internal.async.codecompletion.CodeCompletionProposal.getAdditionalProposalInfo(CodeCompletionProposal.java:132)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$Timer$2$1.run(AdditionalInfoController.java:116)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
At first I though that something is wrong with backend configuration, however quick look at SICF shows no problems:
When I test these services they work, I can get information about CDS' tags and values...
I also checked ST01 traces and SMICM trace file - no errors there (at least not for my user).
I'm using latest releases of eclipse and ADT:
Regards,
Damian
Your backend system does not yet support "Code Element Information" for Annotations. The nullpointer exception will get fixed in one of the next ADT versions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.