Bug 1334855 - eclipse-dtp broken in version 1.12.0-7
Summary: eclipse-dtp broken in version 1.12.0-7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-dtp
Version: 23
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Mat Booth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-10 16:17 UTC by Alex Villacís Lasso
Modified: 2016-09-29 15:14 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 15:14:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.