]
Nick Boldt resolved JBIDE-22196.
--------------------------------
Resolution: Done
Labels: (was: more-info-required)
Code Recommenders Snippet view is not working
---------------------------------------------
Key: JBIDE-22196
URL:
https://issues.jboss.org/browse/JBIDE-22196
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: target-platform
Affects Versions: 4.3.1.CR1
Reporter: Aurélien Pupier
Assignee: Nick Boldt
Fix For: 4.4.0.Alpha3
Attachments: screenshot-1.png, snip.png
When trying to open a view (Alt+Shift+Q,Q), a Snippet view is available under "Code
Recommenders" but there is a big red square
when I try to open it, there is an error.
In log we have:
{noformat}
java.io.IOException: Unable to resolve plug-in
"platform:/plugin/org.eclipse.recommenders.snipmatch.rcp/icons/view16/snippets.png".
at
org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:290)
at org.eclipse.core.runtime.FileLocator.find(FileLocator.java:152)
at
org.eclipse.jface.resource.URLImageDescriptor.getFilePath(URLImageDescriptor.java:215)
at
org.eclipse.jface.resource.URLImageDescriptor.createImage(URLImageDescriptor.java:283)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:224)
at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:202)
at
org.eclipse.ui.internal.dialogs.ViewLabelProvider.getImage(ViewLabelProvider.java:93)
at org.eclipse.jface.viewers.ColumnLabelProvider.update(ColumnLabelProvider.java:35)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:154)
at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:949)
at
org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:114)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1029)
at
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:473)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2176)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:843)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:818)
{noformat}
In plugins folder there is no org.eclipse.recommenders.snipmatch.rcp plugin