Menu

#1162 Java startup errors

next release
open
nobody
None
5
2013-10-29
2013-06-12
No

I'm running JabRef 2.10b on three machines. On two of them, no problem. On the third, which is not obviously different in setup from the others, I can't start JabRef. I'm running Ubuntu 13.04, up to date, with OpenJDK 7 with the freetype patches (https://launchpad.net/~no1wantdthisname/+archive/ppa).

Dominik

The following error occurred while running JabRef:
java.lang.NoSuchMethodError: net.sf.jabref.Globals.lang(Ljava/lang/String;)Ljava/lang/String; at net.sf.jabref.oo.OOTestPanel. (OOTestPanel.java:57) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:374) at java.lang.Class.newInstance(Class.java:327) at net.sf.jabref.plugin.util.ParameterAccessor.getClassParameter(ParameterAccessor.java:296) at net.sf.jabref.plugin.core.generated._JabRefPlugin$PushToApplicationExtension.getPushToApp(_JabRefPlugin.java:267) at net.sf.jabref.external.PushToApplicationButton. (PushToApplicationButton.java:75) at net.sf.jabref.JabRefFrame.initLayout(JabRefFrame.java:904) at net.sf.jabref.JabRefFrame.init(JabRefFrame.java:462) at net.sf.jabref.JabRefFrame. (JabRefFrame.java:431) at net.sf.jabref.JabRef.openWindow(JabRef.java:769) at net.sf.jabref.JabRef. (JabRef.java:201) at net.sf.jabref.JabRef.main(JabRef.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at net.sf.jabref.JabRefMain.main(Unknown Source)
Please first check if this problem and a solution is already known. Find our...
...FAQ at http://jabref.sf.net/faq.php and our...
...user mailing-list at http://sf.net/mailarchive/forum.php?forum_name=jabref-users
If you do not find a solution there, please let us know about the problem by writing a bug report. You can find our bug tracker at http://sourceforge.net/p/jabref/bugs/.
If the bug has already been reported there, please add your comments to the existing bug.
If the bug has not been reported yet, then we need the complete error message given above and a description of what you did before the error occured.
We also need the following information (you can copy and paste all this):
Java Version: 1.7.0_21
Java Vendor: Oracle Corporation
Operating System: Linux (3.8.0-23-generic)
Hardware Architecture: i386
We are sorry for the trouble and thanks for reporting problems with JabRef!

Related

Bugs: #1162

Discussion

  • Morten Omholt Alver

    You appear to have the OpenOffice plugin installed, and that is what causes the problem on startup. You have to delete the plugin, which is presumably installed in the ~/.jabref/plugins directory.

    The plugin is not needed with the latest versions of JabRef, since the functionality is built in.

     
  • Dominik Wujastyk

    Thank you!!!

    On 12 June 2013 19:24, Morten Omholt Alver mortenalver@users.sf.net wrote:

    You appear to have the OpenOffice plugin installed, and that is what
    causes the problem on startup. You have to delete the plugin, which is
    presumably installed in the ~/.jabref/plugins directory.

    The plugin is not needed with the latest versions of JabRef, since the
    functionality is built in.


     

    Related

    Bugs: #1162

  • Xiaodong

    Xiaodong - 2013-10-29

    Maybe this is related, I got this when I installed and was openning JabRef:

    The following error occurred while running JabRef:
    java.lang.NoSuchMethodError: net.sf.jabref.Globals.lang(Ljava/lang/String;)Ljava/lang/String; at net.launchpad.jabref.plugins.ADSsearch. (ADSsearch.java:81) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at net.sf.jabref.plugin.util.ParameterAccessor.getClassParameter(ParameterAccessor.java:296) at net.sf.jabref.plugin.core.generated._JabRefPlugin$EntryFetcherExtension.getEntryFetcher(_JabRefPlugin.java:189) at net.sf.jabref.JabRefFrame.initSidePane(JabRefFrame.java:602) at net.sf.jabref.JabRefFrame.init(JabRefFrame.java:460) at net.sf.jabref.JabRefFrame. (JabRefFrame.java:431) at net.sf.jabref.JabRef.openWindow(JabRef.java:769) at net.sf.jabref.JabRef. (JabRef.java:201) at net.sf.jabref.JabRef.main(JabRef.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.sf.jabref.JabRefMain.main(Unknown Source)
    Please first check if this problem and a solution is already known. Find our...
    ...FAQ at http://jabref.sf.net/faq.php and our...
    ...user mailing-list at http://sf.net/mailarchive/forum.php?forum_name=jabref-users
    If you do not find a solution there, please let us know about the problem by writing a bug report. You can find our bug tracker at http://sourceforge.net/p/jabref/bugs/.
    If the bug has already been reported there, please add your comments to the existing bug.
    If the bug has not been reported yet, then we need the complete error message given above and a description of what you did before the error occured.
    We also need the following information (you can copy and paste all this):
    Java Version: 1.7.0_45
    Java Vendor: Oracle Corporation
    Operating System: Windows 7 (6.1)
    Hardware Architecture: amd64
    We are sorry for the trouble and thanks for reporting problems with JabRef!


    Is this related to the ADS addon or something else?

     

Log in to post a comment.