]
Nick Boldt commented on JBIDE-22196:
------------------------------------
I've added org.eclipse.recommenders.snipmatch.rcp.feature to the CoreTools categories
for JBT and JBDS sites; I've also added it into the JBDS BYOE feature so it should be
installed OOTB.
Building now:
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
Labels: more-info-required
Fix For: 4.4.0.Alpha3
Attachments: screenshot-1.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