Bug 908112

Summary: swt.jar doesn't contain any .class files
Product: [Fedora] Fedora Reporter: Edward Sheldrake <ejsheldrake>
Component: eclipseAssignee: Krzysztof Daniel <kdaniel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: akurtako, andjrobins, jerboaa, kdaniel, mbenitez, overholt, rgrunber, swagiaal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-15 11:43:06 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 Edward Sheldrake 2013-02-05 22:16:37 UTC
Description of problem:
swt.jar no longer contains any .class files, and as a result other programs like azureus that use swt by adding /usr/lib64/java/swt.jar to their java classpath fail to start.

Version-Release number of selected component (if applicable):
eclipse-swt-4.2.2-0.5.git20121217.fc18.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Try to launch azureus
2.
3.
  
Actual results:
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:114)
	at org.gudy.azureus2.ui.swt.Main.main(Main.java:292)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:37)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Listener
	at com.aelitis.azureus.ui.swt.Initializer.<init>(Initializer.java:164)
	... 12 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Listener
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at com.aelitis.azureus.launcher.classloading.PrimaryClassloader.loadClass(PrimaryClassloader.java:103)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	... 13 more

Expected results:
azureus starts

Additional info:
The contents listing of swt.jar (from "jar t < /usr/lib64/java/swt.jar)":

org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/META-INF/
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/about.html
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/about_files/
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/fragment.properties
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/libswt-atk-gtk-4235.so
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/libswt-awt-gtk-4235.so
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/libswt-cairo-gtk-4235.so
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/libswt-glx-gtk-4235.so
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/libswt-gtk-4235.so
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/libswt-pi-gtk-4235.so
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/libswt-webkit-gtk-4235.so
org.eclipse.swt.gtk.linux.x86_64_3.100.1.v20130128-1024/org/

Comment 1 Fedora Update System 2013-02-06 11:16:31 UTC
eclipse-4.2.2-0.7.git20121217.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/eclipse-4.2.2-0.7.git20121217.fc18

Comment 2 Fedora Update System 2013-02-08 02:33:44 UTC
Package eclipse-4.2.2-0.7.git20121217.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing eclipse-4.2.2-0.7.git20121217.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2094/eclipse-4.2.2-0.7.git20121217.fc18
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-02-20 11:18:05 UTC
eclipse-4.2.2-0.10.git20121217.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/eclipse-4.2.2-0.10.git20121217.fc18

Comment 4 Fedora Update System 2013-02-27 18:44:50 UTC
eclipse-4.2.2-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/eclipse-4.2.2-2.fc18

Comment 5 Fedora Update System 2013-03-04 09:09:39 UTC
eclipse-4.2.2-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/eclipse-4.2.2-3.fc18

Comment 6 Krzysztof Daniel 2013-03-15 11:43:06 UTC
This has been fixed.

Comment 7 Fedora Update System 2013-03-15 11:52:13 UTC
eclipse-4.2.2-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/eclipse-4.2.2-5.fc18

Comment 8 Fedora Update System 2013-03-19 20:03:50 UTC
eclipse-4.2.2-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.