Skip to content

JabRef 3.5 cannot connect ot LibreOffice on ubuntu #1669

@pgarciabaez

Description

@pgarciabaez

I have problems to connect JabRef and LibreOffice. I use:

  • JabRef 3.5 (same problem with JabRef-3.6dev--snapshot--2016-08-03--master--f77daac.jar)
  • LibreOffice 4.2.6.3
  • Java 1.8.0_20
  • Ubuntu 14.04.1
    Here you can see the error output of my console:

Manual connection:

Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: The row index 3 must be less than or equal to 1.
    at com.jgoodies.forms.layout.CellConstraints.ensureValidGridBounds(CellConstraints.java:967)
    at com.jgoodies.forms.layout.FormLayout.setConstraints(FormLayout.java:805)
    at com.jgoodies.forms.layout.FormLayout.addLayoutComponent(FormLayout.java:1165)
    at java.awt.Container.addImpl(Container.java:1125)
    at java.awt.Container.add(Container.java:971)
    at com.jgoodies.forms.builder.FormBuilder.addImpl(FormBuilder.java:1896)
    at com.jgoodies.forms.builder.FormBuilder$ComponentAdder.add(FormBuilder.java:2550)
    at com.jgoodies.forms.builder.FormBuilder$ComponentAdder.at(FormBuilder.java:2140)
    at com.jgoodies.forms.builder.FormBuilder$ComponentAdder.xy(FormBuilder.java:2160)
    at net.sf.jabref.gui.openoffice.OpenOfficePanel.showConnectDialog(OpenOfficePanel.java:502)
    at net.sf.jabref.gui.openoffice.OpenOfficePanel.connect(OpenOfficePanel.java:357)
    at net.sf.jabref.gui.openoffice.OpenOfficePanel.lambda$initPanel$2(OpenOfficePanel.java:164)
    at net.sf.jabref.gui.openoffice.OpenOfficePanel$$Lambda$61/1488891022.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
    at java.awt.Component.processMouseEvent(Component.java:6525)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
    at java.awt.Component.processEvent(Component.java:6290)
    at java.awt.Container.processEvent(Container.java:2234)
    at java.awt.Component.dispatchEventImpl(Component.java:4881)
    at java.awt.Container.dispatchEventImpl(Container.java:2292)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
    at java.awt.Container.dispatchEventImpl(Container.java:2278)
    at java.awt.Window.dispatchEventImpl(Window.java:2739)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
    at java.awt.EventQueue.access$400(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:697)
    at java.awt.EventQueue$3.run(EventQueue.java:691)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:719)
    at java.awt.EventQueue$4.run(EventQueue.java:717)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Automatic connection:

Info: unoil.jar is in /usr/lib/libreoffice/program/classes/unoil.jar
13:18:08.734 [AWT-EventQueue-0] WARN  net.sf.jabref.gui.openoffice.OpenOfficePanel - Could not connect to running OpenOffice/LibreOffice
java.io.IOException: File not found: /usr/lib/ure/share/java/unoil.jar
    at net.sf.jabref.gui.openoffice.OpenOfficePanel.connect(OpenOfficePanel.java:387) [JabRef-3.5.jar:?]
    at net.sf.jabref.gui.openoffice.OpenOfficePanel.lambda$initPanel$1(OpenOfficePanel.java:163) [JabRef-3.5.jar:?]
    at net.sf.jabref.gui.openoffice.OpenOfficePanel$$Lambda$60/1432955090.actionPerformed(Unknown Source) [JabRef-3.5.jar:?]
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) [?:1.8.0_20]
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346) [?:1.8.0_20]
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) [?:1.8.0_20]
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) [?:1.8.0_20]
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) [?:1.8.0_20]
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) [?:1.8.0_20]
    at java.awt.Component.processMouseEvent(Component.java:6525) [?:1.8.0_20]
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) [?:1.8.0_20]
    at java.awt.Component.processEvent(Component.java:6290) [?:1.8.0_20]
    at java.awt.Container.processEvent(Container.java:2234) [?:1.8.0_20]
    at java.awt.Component.dispatchEventImpl(Component.java:4881) [?:1.8.0_20]
    at java.awt.Container.dispatchEventImpl(Container.java:2292) [?:1.8.0_20]
    at java.awt.Component.dispatchEvent(Component.java:4703) [?:1.8.0_20]
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898) [?:1.8.0_20]
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533) [?:1.8.0_20]
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462) [?:1.8.0_20]
    at java.awt.Container.dispatchEventImpl(Container.java:2278) [?:1.8.0_20]
    at java.awt.Window.dispatchEventImpl(Window.java:2739) [?:1.8.0_20]
    at java.awt.Component.dispatchEvent(Component.java:4703) [?:1.8.0_20]
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746) [?:1.8.0_20]
    at java.awt.EventQueue.access$400(EventQueue.java:97) [?:1.8.0_20]
    at java.awt.EventQueue$3.run(EventQueue.java:697) [?:1.8.0_20]
    at java.awt.EventQueue$3.run(EventQueue.java:691) [?:1.8.0_20]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_20]
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) [?:1.8.0_20]
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86) [?:1.8.0_20]
    at java.awt.EventQueue$4.run(EventQueue.java:719) [?:1.8.0_20]
    at java.awt.EventQueue$4.run(EventQueue.java:717) [?:1.8.0_20]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_20]
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) [?:1.8.0_20]
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:716) [?:1.8.0_20]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [?:1.8.0_20]
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_20]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_20]
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_20]
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_20]
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_20]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions