Eclipse throwing Exception on code completition


My eclipse shows the following error message if I press "CTRL + SPACE"

The 'org.eclipse.jdt.ui.TemplateProposalComputer' proposal computer from the 'org.eclipse.jdt.ui' plug-in did not complete normally. The extension has thrown a runtime exception.

In the eclipse log I see the following Exception: access denied ("" "/home/martin/Programme/eclipse/x64/edition_2021-03/configuration/org.eclipse.osgi/2969/0/.cp/icons/full/obj16/staged2465766773545443944.tmp" "write")
at java.base/
at java.base/
at java.base/java.lang.SecurityManager.checkPermission(
at java.base/java.lang.SecurityManager.checkWrite(
at java.base/
at org.eclipse.core.runtime.FileLocator.toFileURL(
at org.eclipse.jface.resource.URLImageDescriptor.getFilePath(
at org.eclipse.jface.resource.URLImageDescriptor$URLImageFileNameProvider.getImagePath(
at org.eclipse.swt.internal.DPIUtil.validateAndGetImagePathAtZoom(
at org.eclipse.jface.resource.URLImageDescriptor.createImage(
at org.eclipse.jface.resource.ImageDescriptor.createResource(
at org.eclipse.jface.resource.DeviceResourceManager.allocate(
at org.eclipse.jface.resource.AbstractResourceManager.create(
at org.eclipse.jface.resource.ResourceManager.createImageWithDefault(
at org.eclipse.jface.resource.ImageRegistry.get(
at org.eclipse.jdt.internal.ui.JavaPluginImages.get(
at org.eclipse.jdt.internal.ui.text.template.contentassist.TemplateEngine.getImage(
at org.eclipse.jdt.internal.ui.text.template.contentassist.TemplateEngine.complete(
at org.eclipse.jface.text.contentassist.AsyncCompletionProposalPopup.lambda$10(
at org.eclipse.jface.text.contentassist.AsyncCompletionProposalPopup.lambda$9(
at java.base/java.util.concurrent.CompletableFuture$
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(
at java.base/java.util.concurrent.ForkJoinTask.doExec(
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(
at java.base/java.util.concurrent.ForkJoinPool.scan(
at java.base/java.util.concurrent.ForkJoinPool.runWorker(
at java.base/

The mentioned directory /home/martin/Programme/eclipse/x64/edition_2021-03/configuration/org.eclipse.osgi/2969/0/.cp/icons/full/obj16/ exists and is writeable for my user. The outlined file do not exists. So what is the problem here?

I’m currently using eclipse 2021-09 RC1 but I remember I had this issue with the previous eclipse version too. If I disable "Template Proposals" in the content assist this message goes away. But this error can’t be normal as this happens again if I reset the content assist to the default values. At least with the defaults Eclipse should always work as expected.


Download page for eclipse 2021-09 RC1 clearly states

Please note that this is a developer build which might contain issues.

It might well be a bug on the development version. RC means Release Candidate.


  • Use an stable release to reproduce the issue
  • Contribute a bug report for that version.
  • As a test/workaround, try disabling SWT template proposal

@howlger suggestion on reporting bugs:

Better report bugs that can be reproduced with a fresh installation of the latest releases candidate, milestone or even better the latest daily integration build than of the latest release.

Answered By – LMC

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published