Main window never shows up; plenty of exceptions in console

Bug #41309 reported by John Dong on 2006-04-25
10
Affects Status Importance Assigned to Milestone
azureus (Ubuntu)
Medium
Unassigned

Bug Description

I apt-get source'd and compiled my own build of Dapper's first Azureus upload, and I am having the same problems running it with GCJ that I did with the stock Azureus distribution.

Mainly, when the program is launched, nothing shows up as far as a main window or tray icon is concerned. I do get the scroll-up messages and existing torrents seem to start, but no main UI.

I get a pretty hefty set of exceptions at the terminal though:

[jdong@shuttle ~]$ azureus
DEBUG::Tue Apr 25 10:39:50 EDT 2006::org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl::initialise::141:
  No SSL provider available
    SESecurityManager::initialise::53,ConfigurationChecker::setSystemProperties::141,ConfigurationManager::initialise::140,ConfigurationManager::getInstance::73,LoggerImpl::init::90,Logger::<clinit>::50,Class::initializeClass::-1,StartServer::<init>::69,Main::<init>::56,Main::main::163
DEBUG::Tue Apr 25 10:39:50 EDT 2006::org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl::ensureStoreExists::410:

[1]+ Stopped azureus
[jdong@shuttle ~]$ metacity
Window manager warning: "" found in configuration database is not a valid value for keybinding "run_command_1"
_IceTransOpen: Unable to Parse address
Not initializing the Gtk-Qt theme engine

[2]+ Stopped metacity
[jdong@shuttle ~]$ bg
[2]+ metacity &
[jdong@shuttle ~]$ fg
azureus
  java.security.KeyStoreException: JKS
   at java.security.KeyStore.getInstance(libgcj.so.7)
   at org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl.ensureStoreExists(SESecurityManagerImpl.java:379)
   at org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl.initialise(SESecurityManagerImpl.java:151)
   at org.gudy.azureus2.core3.security.SESecurityManager.initialise(SESecurityManager.java:53)
   at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.setSystemProperties(ConfigurationChecker.java:141)
   at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise(ConfigurationManager.java:140)
   at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance(ConfigurationManager.java:73)
   at org.gudy.azureus2.core3.logging.impl.LoggerImpl.init(LoggerImpl.java:90)
   at org.gudy.azureus2.core3.logging.Logger.<clinit>(Logger.java:50)
   at java.lang.Class.initializeClass(libgcj.so.7)
   at org.gudy.azureus2.ui.swt.StartServer.<init>(StartServer.java:69)
   at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:56)
   at org.gudy.azureus2.ui.swt.Main.main(Main.java:163)

DEBUG::Tue Apr 25 10:39:58 EDT 2006::org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl::ensureStoreExists::410:
  java.security.KeyStoreException: JKS
   at java.security.KeyStore.getInstance(libgcj.so.7)
   at org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl.ensureStoreExists(SESecurityManagerImpl.java:379)
   at org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl.initialise(SESecurityManagerImpl.java:153)
   at org.gudy.azureus2.core3.security.SESecurityManager.initialise(SESecurityManager.java:53)
   at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.setSystemProperties(ConfigurationChecker.java:141)
   at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise(ConfigurationManager.java:140)
   at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance(ConfigurationManager.java:73)
   at org.gudy.azureus2.core3.logging.impl.LoggerImpl.init(LoggerImpl.java:90)
   at org.gudy.azureus2.core3.logging.Logger.<clinit>(Logger.java:50)
   at java.lang.Class.initializeClass(libgcj.so.7)
   at org.gudy.azureus2.ui.swt.StartServer.<init>(StartServer.java:69)
   at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:56)
   at org.gudy.azureus2.ui.swt.Main.main(Main.java:163)

changeLocale: *Default Language* != en (US). Searching without country..
changeLocale: Searching for language en in *any* country..
changeLocale: no message properties for Locale 'en (US)' (en_US), using 'English (default)'
Initialize Error
DEBUG::Tue Apr 25 10:40:09 EDT 2006::org.gudy.azureus2.ui.swt.mainwindow.MainWindow::runSupport::811:
  java.lang.NullPointerException
   at org.gudy.azureus2.ui.swt.components.BufferedToolItem.setImage(BufferedToolItem.java:79)
   at org.gudy.azureus2.ui.swt.IconBar.createBufferedToolItem(IconBar.java:108)
   at org.gudy.azureus2.ui.swt.IconBar.initBar(IconBar.java:125)
   at org.gudy.azureus2.ui.swt.IconBar.<init>(IconBar.java:63)
   at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.runSupport(MainWindow.java:254)
   at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:36)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2844)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2575)
   at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:114)
   at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:60)
   at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:108)
   at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:147)
   at org.gudy.azureus2.ui.swt.Main.main(Main.java:163)

DEBUG::Tue Apr 25 10:40:16 EDT 2006::org.gudy.azureus2.core3.util.DebugLight::printStackTrace::38:
  java.lang.IllegalArgumentException: Argument cannot be null
   at org.eclipse.swt.SWT.error(SWT.java:2926)
   at org.eclipse.swt.SWT.error(SWT.java:2866)
   at org.eclipse.swt.SWT.error(SWT.java:2837)
   at org.eclipse.swt.widgets.Widget.error(Widget.java:409)
   at org.eclipse.swt.widgets.Widget.checkParent(Widget.java:282)
   at org.eclipse.swt.widgets.Widget.<init>(Widget.java:174)
   at org.eclipse.swt.widgets.Item.<init>(Item.java:62)
   at org.eclipse.swt.widgets.TabItem.<init>(TabItem.java:108)
   at org.gudy.azureus2.ui.swt.Tab.<init>(Tab.java:131)
   at org.gudy.azureus2.ui.swt.Tab.<init>(Tab.java:92)
   at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.showMyTorrents(MainWindow.java:952)
   at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.openMainWindow(MainWindow.java:834)
   at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.access$16(MainWindow.java:814)
   at org.gudy.azureus2.ui.swt.mainwindow.MainWindow$27.runSupport(MainWindow.java:1703)
   at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:36)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2844)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2575)
   at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:114)
   at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:60)
   at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:108)
   at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:147)
   at org.gudy.azureus2.ui.swt.Main.main(Main.java:163)

Carthik Sharma (carthik) wrote :

Marked this as a dup of #42269 since that report has multiple user debug inputs.

Changed in azureus:
status: Unconfirmed → Rejected
Matt MacLeod (mmacleod) wrote :

This is not the same bug. The tray icon doesn't show up with the Sun JVM or GIJ, but the program works. For some of us the interface doesn't come up at all with GIJ, and running with GIJ was the reason the package was moved to the official repositories.

I agree with Matt. Azureus works fine if I set my system java to Sun JRE,
but with GCJ/GIJ it exhibit this behavior. It is NOT a dupicate of 42269.

On 5/3/06, Matt MacLeod <email address hidden> wrote:
>
> *** This bug is a duplicate of bug 42269 ***
>
> This is not the same bug. The tray icon doesn't show up with the Sun
> JVM or GIJ, but the program works. For some of us the interface doesn't
> come up at all with GIJ, and running with GIJ was the reason the package
> was moved to the official repositories.
>
> --
> Main window never shows up; plenty of exceptions in console
> https://launchpad.net/bugs/41309
>

John Dong (jdong) wrote :

This bug is _NOT_ a duplicate of 42269. 42269 refers to a Azureus missing a sys tray icon. That bug occurs with GIJ and Sun Java.

This bug refers to a GIJ specific bug, where the main window never shows up, and nor does the system tray. NO INTERFACE IS DRAWN, but azureus's network aspect does function silently.

Changed in azureus:
status: Rejected → Unconfirmed
Frank Bob (frankbob) wrote :

I have this bug too. Azureus works with sun's java 1.5 but not with gij.

If azureus could work with gij, a big reason why new dapper users need sun java would be gone.

Matt MacLeod (mmacleod) wrote :

Exactly. And the only reason azureus was finally added to the repos is that it ostensibly works with gij (otherwise it's not installable from the repos, anyway, as Sun isn't there).

John Dong (jdong) wrote :

Rejecting

This specific symptom does not apply to Gutsy/Hardy; bug #57875 is our current problem, and I am well under way to getting the fix for that pushed out.

Changed in azureus:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers