Community
Participate
Working Groups
Error in azureus that seems to be a problem with swt and not azureus. On amd 64 running windows xp 32 bit org.eclipse.swt.SWTError: Cannot initialize Drop at org.eclipse.swt.dnd.DND.error(DND.java:220) at org.eclipse.swt.dnd.DND.error(DND.java:181) at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:139) at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.createDropTarget(MainW indow.java:925)
On IRC I got the impression that this has only been seen on amd64 machines and not on x86 machines (although all are running 32 bit Windows), is that correct?
yes thats correct.
What version of eclipse are you running? I can give you a modified SWT plugin to gather more information but I need to know what version to build against.
Veronica, do you still have this special swt version? I'd be interested in resolving this issue. Looks like there is couple of somehow related bugs, that are still NEW: https://bugs.eclipse.org/bugs/show_bug.cgi?id=161893 https://bugs.eclipse.org/bugs/show_bug.cgi?id=110166 https://bugs.eclipse.org/bugs/show_bug.cgi?id=98773 https://bugs.eclipse.org/bugs/show_bug.cgi?id=76449 https://bugs.eclipse.org/bugs/show_bug.cgi?id=42292
Unfortunately, Veronika is no longer on the SWT team. The defect has been assigned to me but I don't have much luck trying to replicate it. May be we can resolve it if we don't hear back from the original reporter.
As a developer for Azureus, I'm inclined to suggest to close this bug, as at least from Azureus' perspective, this is not necessarily an error. Creating a drop target has different effects on each platform (or at least is used to, I haven't checked lately). On some platforms, creating the droptarget on the composite will propogate it down to all it's children (meaning you can drag something onto a child and have the parent get the drop event). Others platforms do not do this. Some platforms don't allow creating a droptarget if any parent control already has a droptarget. Also, in some cases, Azureus will just try to create a DropTarget, catch the error, spew it and carry on, which is why I'm suggesting this may not be a SWT bug per se.
I suggest we close this bug report then. The other issues that you mention should have been fixed quite a while ago. If you are still seeing them, please open a bug report for each one.
I agree to close. I was working with someone also having this problem, but currently have no feedback. I'll create new bug if new response will come. Thanks for help Steve & Duong!
WORKSFORME