Menu

#1271 Custom Export not working

next release
open
nobody
5
2015-05-20
2015-05-07
FS
No

When trying to use the custom export function I seem to stumble into a bug that prevents me from using it. I'm using a modified version of Mark Schenk's export filter and call it via the command line. However, since a recent system/Java update, this does not work anymore.

Here's what happens:

  • When exporting my usual .bib file (attached: Hippocampus.bib) via the command line interface, I get a NullPointerException (see below).

  • When using the export functionality via the GUI, I get the same error. However, when I use a much smaller/subset .bib file (attached: min.bib), the export actually works perfectly fine.

  • However, trying to export the small .bib file via the command line, again, results in the same NullPointerException.

Here are the error/system details:

java.lang.NullPointerException 
at net.sf.jabref.JabRef.processArguments(JabRef.java:498) 
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:606)
at net.sf.jabref.JabRefMain.main(Unknown Source)

Java Version: 1.7.0_79
Java Vendor: Oracle Corporation
Operating System: Linux (3.13.0-24-generic)
Hardware Architecture: amd64

JabRef version: 2.10b2
2 Attachments

Discussion

  • Oliver Kopp

    Oliver Kopp - 2015-05-20

    Could you provide the command line used?

     
  • FS

    FS - 2015-05-20

    Of course, here you go:

    jabref -n -i /home/../Hippocampus.bib -o output_file.html,filter_name
    
     

Log in to post a comment.

MongoDB Logo MongoDB