Hi David, yes, please open a Jira.
Thanks, Stefan On 1/2/20 7:35 PM, David Parker wrote: > I just wanted to follow up on this and say that several different issues I > have been experiencing with Directory Studio can be immediately resolved by > clearing my clipboard history. There are times when Directory Studio will > stop opening records in the LDAP browser, or stop showing certain commands > in the menu when I right-click on a search result. Clearing the clipboard > fixes these issues without any need to restart the program. > > It's strange, because sometimes these things happen when I only have one > small item copied to the clipboard. It doesn't really make sense why this > would cause issues with Directory Studio. It also doesn't make sense that > Directory Studio is looking at the clipboard in the first place. Should I > open a bug report? > > On Tue, Dec 10, 2019 at 4:49 PM David Parker <[email protected]> wrote: > >> Hi Stefan, >> >> Great bit of detective work! That's an interesting bug. I'm not sure if >> I had something large copied to my clipboard, but starting with an empty >> clipboard does seem to help. I also added the memory arguments (-Xms128m >> -Xmx512m) to the ApacheDirectoryStudio.ini file for 2.0.0-M13. >> >> Possibly related: I used the Glipper clipboard manager for many years, and >> generally tried to maintain a neat clipboard by constantly removing entries >> that weren't needed or had anything sensitive in them. Glipper was >> deprecated and then removed in Debian 10, and I have yet to find an >> alternative that is as robust and functional. So it's entirely possible >> that I always had a smaller clipboard before, but now on Debian 10 I'm not >> managing it like I did before, so it's probably a lot bigger. >> >> Thanks! >> >> On Tue, Dec 10, 2019 at 3:59 PM Stefan Seelmann <[email protected]> >> wrote: >> >>> Oh my, indeed, it looks like the ConnectionTransfer reads any (binary) >>> data that's currently in the clipboard, that looks really wrong and >>> dangerous. >>> >>> >>> https://github.com/apache/directory-studio/blob/master/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dnd/ConnectionTransfer.java#L143 >>> >>> >>> On 12/10/19 9:36 PM, Stefan Seelmann wrote: >>>> Hi Dave, >>>> >>>> the below OOM error looks weird. When it creates the "Connections" view >>>> with all the actions it seems the paste action gets active and it reads >>>> from your clipboard. If so I'd say that's a bug, I'll investigate. >>>> >>>> It it possible that there is a huge text in your clipboard you copied >>>> before starting Studio? Can you try to clean it? >>>> >>>> Kind Regards, >>>> Stefan >>>> >>>> On 12/10/19 7:44 PM, David Parker wrote: >>>>> Hello, >>>>> >>>>> This is starting to get a bit frustrating. I continue to have >>> heap-related >>>>> crashes on startup, using both 2.0.0-M13 and 2.0.0-M14. I thought I >>> had >>>>> solved my problem with a clean install of M13 and Java 8u161, but a few >>>>> days later, I'm back to the exact same issue. I did not have any of >>> these >>>>> problems until I got a new desktop PC and upgraded from Debian 9 to >>> Debian >>>>> 10. The LDAP schemas have not changed, and are not very big. I have >>> no >>>>> idea what's causing ADS to crash on startup with the heap error. >>>>> >>>>> Any help is greatly appreciated. >>>>> >>>>> Here's my ~/.ApacheDirectoryStudio/.metadata/.log from a recent launch >>>>> attempt (this is launching 2.0.0-M13): >>>>> >>>>> java.lang.OutOfMemoryError: Java heap space >>>>> at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:149) >>>>> at java.lang.StringCoding.decode(StringCoding.java:193) >>>>> at java.lang.StringCoding.decode(StringCoding.java:254) >>>>> at java.lang.String.<init>(String.java:546) >>>>> at java.lang.String.<init>(String.java:566) >>>>> at >>>>> >>> org.apache.directory.studio.connection.ui.dnd.ConnectionTransfer.nativeToJava(ConnectionTransfer.java:169) >>>>> at org.eclipse.swt.dnd.Clipboard.getContents(Clipboard.java:320) >>>>> at org.eclipse.swt.dnd.Clipboard.getContents(Clipboard.java:240) >>>>> at >>>>> >>> org.apache.directory.studio.connection.ui.actions.PasteAction.getFromClipboard(PasteAction.java:290) >>>>> at >>>>> >>> org.apache.directory.studio.connection.ui.actions.PasteAction.getConnectionsToPaste(PasteAction.java:181) >>>>> at >>>>> >>> org.apache.directory.studio.connection.ui.actions.PasteAction.getText(PasteAction.java:62) >>>>> at >>>>> >>> org.apache.directory.studio.connection.ui.actions.StudioActionProxy.<init>(StudioActionProxy.java:68) >>>>> at >>>>> >>> org.apache.directory.studio.connection.ui.actions.StudioActionProxy.<init>(StudioActionProxy.java:94) >>>>> at >>>>> >>> org.apache.directory.studio.connection.ui.actions.ConnectionViewActionProxy.<init>(ConnectionViewActionProxy.java:45) >>>>> at >>>>> >>> org.apache.directory.studio.connection.ui.widgets.ConnectionActionGroup.<init>(ConnectionActionGroup.java:141) >>>>> at >>>>> >>> org.apache.directory.studio.ldapbrowser.ui.views.connection.ConnectionViewActionGroup.<init>(ConnectionViewActionGroup.java:95) >>>>> at >>>>> >>> org.apache.directory.studio.ldapbrowser.ui.views.connection.ConnectionView.createPartControl(ConnectionView.java:138) >>>>> at >>>>> >>> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:150) >>>> >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> -- >> Dave Parker '11 >> Database & Systems Administrator >> Utica College >> Integrated Information Technology Services >> (315) 792-3229 >> Registered Linux User #408177 >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
