Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Opening torrent files throws exception, magnet links work.
#1
Bug 
Hi guys! When I try to open .torrent files, either through the `File -> Open -> Torrent File...` menu or drag and drop, nothing happens, the interface doesn't respond at all. I can add magnet links through the File Open menu, though, and they will start downloading as expected. So I guess this isn't super critical, as I can just do that in the meantime, but it's still annoying as I have just converted to this program and have a bunch of .torrent files I need to convert manually... Well, enoug moaning from me anyway, I'll give some details:

At first I thought it might be related to the Linux interface issues mentioned in the known issues page, but the behaviour sounds a little different, and I am definitely using the latest SWT version and stuff:

Java 1.8.0_31
 Oracle Corporation
SWT v4509, gtk
Linux v3.18.0-14-generic, amd64
V5.5.0.0/4 az3

Pretty much all my settings are default except for a few directory changes. The exception given on the command line when I try to open a .torrent file through the menu is as follows (along with a little preceding debug output):


Code:
DEBUG::Wed Feb 25 17:58:00 GMT 2015::com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow::swt_addTorrent::599: OpenTorrentOptionsWindow$4::runSupport::327, AERunnable::run::35, Utils::execSWTThread::737, Utils::execSWTThread::861, OpenTorrentOptionsWindow::addTorrent::324, UIFunctionsImpl::addTorrentWithOptions::1412, TorrentOpener::openTorrentsFromStrings::893, OpenTorrentWindow::openTorrent::239, OpenTorrentWindow$3::clicked::173, StandardButtonsArea$1::handleEvent::185, EventTable::sendEvent::-1, Display::sendEvent::-1, Widget::sendEvent::-1, Display::runDeferredEvents::-1, Display::readAndDispatch::-1, SWTThread::<init>::294, SWTThread::createInstance::61, Initializer::<init>::157, NativeConstructorAccessorImpl::newInstance0::-2, NativeConstructorAccessorImpl::newInstance::62, DelegatingConstructorAccessorImpl::newInstance::45, Constructor::newInstance::408, Main::<init>::111, Main::main::328, NativeMethodAccessorImpl::invoke0::-2, NativeMethodAccessorImpl::invoke::62, DelegatingMethodAccessorImpl::invoke::43, Method::invoke::483, MainExecutor$1::run::34, Thread::run::745 java.lang.NullPointerException at org.gudy.azureus2.core3.util.UrlUtils.containsPasskey(UrlUtils.java:964) at org.gudy.azureus2.core3.util.TorrentUtils.isReallyPrivate(TorrentUtils.java:2112) at com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow$OpenTorrentInstance.setupTrackers(OpenTorrentOptionsWindow.java:3566) at com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow$OpenTorrentInstance.initialize(OpenTorrentOptionsWindow.java:1621) at com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow$OpenTorrentInstance.access$1700(OpenTorrentOptionsWindow.java:1421) at com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow.addInstance(OpenTorrentOptionsWindow.java:1043) at com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow.swt_addTorrent(OpenTorrentOptionsWindow.java:475) at com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow$4.runSupport(OpenTorrentOptionsWindow.java:327) at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:35) at org.gudy.azureus2.ui.swt.Utils.execSWTThread(Utils.java:737) at org.gudy.azureus2.ui.swt.Utils.execSWTThread(Utils.java:861) at com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentOptionsWindow.addTorrent(OpenTorrentOptionsWindow.java:324) at com.aelitis.azureus.ui.swt.shells.main.UIFunctionsImpl.addTorrentWithOptions(UIFunctionsImpl.java:1412) at org.gudy.azureus2.ui.swt.mainwindow.TorrentOpener.openTorrentsFromStrings(TorrentOpener.java:893) at com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentWindow.openTorrent(OpenTorrentWindow.java:239) at com.aelitis.azureus.ui.swt.shells.opentorrent.OpenTorrentWindow$3.clicked(OpenTorrentWindow.java:173) at com.aelitis.azureus.ui.swt.views.skin.StandardButtonsArea$1.handleEvent(StandardButtonsArea.java:185) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:294) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:61) at com.aelitis.azureus.ui.swt.Initializer.<init>(Initializer.java:157) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:111) at org.gudy.azureus2.ui.swt.Main.main(Main.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:34) at java.lang.Thread.run(Thread.java:745)

Whereas the error upon trying to open through drag and drop is a little different (and sems to occur about a dozen times instantaniously for some reason, the stack traces look identical each time):


Code:
DEBUG::Wed Feb 25 18:14:40 GMT 2015::org.gudy.azureus2.ui.swt.views.MyTorrentsView$31::dropAccept::1659: Picking Best Type DNDListener::handleEvent::-1, EventTable::sendEvent::-1, Display::sendEvent::-1, Widget::sendEvent::-1, Widget::sendEvent::-1, Widget::sendEvent::-1, Widget::notifyListeners::-1, DropTarget::drag_drop::-1, DropTarget::Drag_Drop::-1, OS::_gtk_main_do_event::-2, OS::gtk_main_do_event::-1, Display::eventProc::-1, OS::_g_main_context_iteration::-2, OS::g_main_context_iteration::-1, Display::readAndDispatch::-1, SWTThread::<init>::294, SWTThread::createInstance::61, Initializer::<init>::157, NativeConstructorAccessorImpl::newInstance0::-2, NativeConstructorAccessorImpl::newInstance::62, DelegatingConstructorAccessorImpl::newInstance::45, Constructor::newInstance::408, Main::<init>::111, Main::main::328, NativeMethodAccessorImpl::invoke0::-2, NativeMethodAccessorImpl::invoke::62, DelegatingMethodAccessorImpl::invoke::43, Method::invoke::483, MainExecutor$1::run::34, Thread::run::745 java.lang.NoSuchFieldError: type at org.gudy.azureus2.ui.swt.URLTransfer.pickBestType(URLTransfer.java:302) at org.gudy.azureus2.ui.swt.views.MyTorrentsView$31.dropAccept(MyTorrentsView.java:1659) at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.drag_drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drag_Drop(Unknown Source) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Unknown Source) at org.eclipse.swt.widgets.Display.eventProc(Unknown Source) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:294) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:61) at com.aelitis.azureus.ui.swt.Initializer.<init>(Initializer.java:157) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:111) at org.gudy.azureus2.ui.swt.Main.main(Main.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:34) at java.lang.Thread.run(Thread.java:745)

I'd appreciate any pointers, or at least someone to tell me they've experienced the same thing so I know I'm not just being an idiot! Thanks for any help.

(Also, is this the right place to ask about this or is there somewhere to submit official bug reports? I wasn't sure if here or the 'Open Development' section was more appropriate.)
Reply
#2
Looks like there's something a little odd with your torrents (for the first exception anyway) - seems that the torrent's "announce URL" is 'null' and causing the error. Perhaps you could send me one of them and I'll take a look? paul@vuze.com if so!

The second exception looks like an incompatibility between Vuze and the SWT version used - another weird one. I'll take a look too.
Reply
#3
Well dang, you were bang on! It was my torrent files.

I feel silly for not trying torrents from another location before posting now, didn't occur to me since I had so many to test. Ah well, hopefully this thread will show up for anyone searching for the same errors and be a little help.

For the record then, for other trouble shooters: all my torrent files were copied from Transmission's config directory where it keeps track of them. I had assumed they were the full valid torrent files... but apparently Transmission does something janky to them, or they got corrupted at some point, as none of them work now. Re-downloading the torrents from the original sources works fine.

Thanks for the very quick and accurate help, much appreciated! :)

Edit: Also, the second set of errors appear to have been a side-effect of the first, as that works too now. Thanks again, Paul.
Reply
#4
I see you're running with SWT 4509 - the latest release for Vuze is 4508 and it seems to work OK for me, perhaps there's an error with 4509? I see they have a 4510 version now!

http://psg.mtu.edu/pub/eclipse/eclipse/d...ux-x86.zip
http://psg.mtu.edu/pub/eclipse/eclipse/d...x86_64.zip

perhaps you could try with that in case it was an interim issue with 4509?
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Recommended VPN/Proxy Service that work with VUZE k93 11 473 02-14-2017, 06:29 PM
Last Post: LuvVuze
  Magnet links "Failed" which work in other clients coyote2 3 136 02-14-2017, 11:01 AM
Last Post: parg



Users browsing this thread: 1 Guest(s)