Menu

#1124 Error in running JabRef 2.9.1 in java/windows8

next release
closed
None
5
2013-03-29
2013-01-02
No

I've this error message. It would be good if I get any help on this..

+++++
The following error occurred while running JabRef:
java.lang.StringIndexOutOfBoundsException: String index out of range: 1 at java.lang.String.charAt(Unknown Source) at net.sf.jabref.AuthorList$Author.properBrackets(AuthorList.java:1049) at net.sf.jabref.AuthorList$Author.removeStartAndEndBraces(AuthorList.java:1118) at net.sf.jabref.AuthorList$Author. (AuthorList.java:1036) at net.sf.jabref.AuthorList.getAuthor(AuthorList.java:482) at net.sf.jabref.AuthorList. (AuthorList.java:246) at net.sf.jabref.AuthorList.getAuthorList(AuthorList.java:268) at net.sf.jabref.autocompleter.NameFieldAutoCompleter.addBibtexEntry(NameFieldAutoCompleter.java:81) at net.sf.jabref.Util.updateCompletersForEntry(Util.java:1756) at net.sf.jabref.BasePanel.instantiateSearchAutoCompleter(BasePanel.java:2077) at net.sf.jabref.BasePanel.setupMainPanel(BasePanel.java:2046) at net.sf.jabref.BasePanel.init(BasePanel.java:262) at net.sf.jabref.BasePanel. (BasePanel.java:242) at net.sf.jabref.JabRefFrame.addTab(JabRefFrame.java:1711) at net.sf.jabref.JabRefFrame.addParserResult(JabRefFrame.java:1470) at net.sf.jabref.JabRef.openWindow(JabRef.java:777) at net.sf.jabref.JabRef. (JabRef.java:188) 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/tracker/?atid=600306&group_id=92314.
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_09
Java Vendor: Oracle Corporation
Operating System: Windows 8 (6.2)
Hardware Architecture: x86
We are sorry for the trouble and thanks for reporting problems with JabRef!

Discussion

  • Oliver Kopp

    Oliver Kopp - 2013-01-02
    • status: open --> accepted
    • assigned_to: Oliver Kopp
     
  • Oliver Kopp

    Oliver Kopp - 2013-01-02

    I tried to identify the reason for this error. Please try the 2.9.2dev version available at http://ge.tt/9Idc446 and provide feedback. If it does not work, please attach a short .bib file causing the error or send it to my email address.

     
  • Jong-Ho Shinn

    Jong-Ho Shinn - 2013-01-02

    Thanks a lot for your quick response, Oliver Kopp.
    I've tried the 2.9.2dev...jar, but almost same errors are returned as below.
    The bib supposed to be loaded first is attached.

    +++++
    The following error occurred while running JabRef:
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(Unknown Source) at net.sf.jabref.AuthorList$Author.properBrackets(AuthorList.java:1049) at net.sf.jabref.AuthorList$Author.removeStartAndEndBraces(AuthorList.java:1118) at net.sf.jabref.AuthorList$Author. (AuthorList.java:1036) at net.sf.jabref.AuthorList.getAuthor(AuthorList.java:482) at net.sf.jabref.AuthorList. (AuthorList.java:246) at net.sf.jabref.AuthorList.getAuthorList(AuthorList.java:268) at net.sf.jabref.autocompleter.NameFieldAutoCompleter.addBibtexEntry(NameFieldAutoCompleter.java:81) at net.sf.jabref.Util.updateCompletersForEntry(Util.java:1756) at net.sf.jabref.BasePanel.instantiateSearchAutoCompleter(BasePanel.java:2077) at net.sf.jabref.BasePanel.setupMainPanel(BasePanel.java:2046) at net.sf.jabref.BasePanel.init(BasePanel.java:262) at net.sf.jabref.BasePanel. (BasePanel.java:242) at net.sf.jabref.JabRefFrame.addTab(JabRefFrame.java:1702) at net.sf.jabref.JabRefFrame.addParserResult(JabRefFrame.java:1461) at net.sf.jabref.JabRef.openWindow(JabRef.java:777) at net.sf.jabref.JabRef. (JabRef.java:188) 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_09
    Java Vendor: Oracle Corporation
    Operating System: Windows 8 (6.2)
    Hardware Architecture: x86
    We are sorry for the trouble and thanks for reporting problems with JabRef!

     
    • Oliver Kopp

      Oliver Kopp - 2013-01-02

      Thank you for providing the bib file. The issue is with "{}, ..." used as author string in your entry Amenomori(2006)Science_314_439. The updated 2.9.1 development version should have this fixed, too.

       
      • Jong-Ho Shinn

        Jong-Ho Shinn - 2013-01-02

        Thank you so much, it works perfectly under 2.9.2dev.
        I'm looking forward to seeing the 2.9.2 release..

         
  • Oliver Kopp

    Oliver Kopp - 2013-01-03
    • status: accepted --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB