Bug 1334855

Summary: eclipse-dtp broken in version 1.12.0-7
Product: [Fedora] Fedora Reporter: Alex Villacís Lasso <alexvillacislasso>
Component: eclipse-dtpAssignee: Mat Booth <mat.booth>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: akurtako, eclipse-sig, fedora, krzysztof.daniel, mat.booth
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 15:14:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alex Villacís Lasso 2016-05-10 16:17:06 UTC
Description of problem:
After update from eclipse-dtp-1.12.0-5.fc23.noarch to eclipse-dtp-1.12.0-7.fc23.noarch , several features associated with SQL scripts stopped working. SQL syntax highligting no longer available SQL scripts show up as plain text. Additionally, several errors appear on the error log shown in the Eclipse GUI.
Reverting the update to 1.12.0-5 fixes the issue for me.


Version-Release number of selected component (if applicable):
eclipse-dtp-1.12.0-7.fc23.noarch


How reproducible:
Always

Steps to Reproduce:
1. Update to eclipse-dtp-1.12.0-7.fc23.noarch
2. Attempt to open a valid SQL script
3.

Actual results:
SQL syntax highlighting not present.


Expected results:
Syntax highlighting keeps working after update.

Additional info:

The following backtraces appear in the Eclipse error console.

java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.eclipse.datatools.sqltools.sqlscrapbook/images/qrydoc.gif".
	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)
...
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.eclipse.datatools.sqltools.sqlscrapbook/images/qrydoc.gif".
	at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
	at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(PlatformURLPluginConnection.java:77)
	at org.eclipse.core.internal.boot.PlatformURLHandler.openConnection(PlatformURLHandler.java:69)
	at org.eclipse.osgi.internal.url.URLStreamHandlerProxy.openConnection(URLStreamHandlerProxy.java:114)
	at java.net.URL.openConnection(URL.java:979)
	at org.eclipse.core.internal.runtime.PlatformURLConverter.toFileURL(PlatformURLConverter.java:34)
	at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.java:207)
	at org.eclipse.jface.resource.URLImageDescriptor.getFilePath(URLImageDescriptor.java:219)
...
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.eclipse.datatools.sqltools.sqlscrapbook/images/qrydoc.gif".
	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.getStream(URLImageDescriptor.java:140)
...
Unable to find element factory: org.eclipse.datatools.sqltools.internal.sqlscrapbook.editor.SQLScrapbookEditorInputFactory

Comment 1 Mat Booth 2016-05-11 09:10:02 UTC
Thanks for the report.

In the meantime, you can probably go back to the old version by doing something like:

sudo dnf downgrade eclipse-dtp

Comment 2 Alex Villacís Lasso 2016-09-29 15:14:47 UTC
Now using Fedora 24 with eclipse-dtp-1.12.0-7.fc24.noarch . Problem no longer occurs.