cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse ADT "Code information is not available"

DamianKolasa
Participant

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

View Entire Topic
matthias_becker
Employee
Employee
0 Kudos

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.