Jabref: Export - error stream closed

Created on 30 Dec 2015  路  10Comments  路  Source: JabRef/jabref

Hi,
On version 3.1, I'm unable to export. I try either via cut-paste or via file menu. I try many formats (some of my own or those by default). I'm running Ubuntu 14.04, with Java 8.
I get this exception :

+1: AVERTISSEMENT: [ResolvePDF]
d茅c. 30, 2015 4:50:29 PM net.sf.jabref.exporter.ExportFormat performExport
AVERTISSEMENT: The following formatters could not be found: ResolvePDF, ResolvePDF
java.io.IOException: Stream closed
    at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:45)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    at net.sf.jabref.exporter.ExportFormat.finalizeSaveSession(ExportFormat.java:365)
    at net.sf.jabref.exporter.ExportFormat.performExport(ExportFormat.java:304)
    at net.sf.jabref.exporter.ExportFormats$1ExportAction$1.run(ExportFormats.java:230)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at spin.Invocation.evaluate(Invocation.java:175)
    at spin.off.SpinOffEvaluator$1.run(SpinOffEvaluator.java:108)
    at java.lang.Thread.run(Thread.java:745)
bug 馃悰

All 10 comments

It seems like the exporter ResolvePDF is missing. When browsing the source, I can not find any references to it. I might have gone missing when the pdf-field was made obsolete (and should therefore be removed from the export formats).

Hi,

I have the same problem but without the export format missing:

[Fatal Error] :1:1: Content is not allowed in prolog.
java.io.IOException: Stream closed
at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:45)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
at net.sf.jabref.exporter.ExportFormat.finalizeSaveSession(ExportFormat.java:365)
at net.sf.jabref.exporter.ExportFormat.performExport(ExportFormat.java:304)
at net.sf.jabref.exporter.ExportFormats$1ExportAction$1.run(ExportFormats.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at spin.Invocation.evaluate(Invocation.java:175)
at spin.off.SpinOffEvaluator$1.run(SpinOffEvaluator.java:108)
at java.lang.Thread.run(Thread.java:745)

Any idea?

Thanks a lot in advance!

I have the same issue on Java 8 on mac with version 3.1

In 20 minutes or so, there will be files at http://builds.jabref.org/fixed-608/ which should fix this.

Thanks. Works fine for me.

Thanks a lot! works fine!

The link http://builds.jabref.org/fixed-608/ is broken and last version (3.2) continues with problem.

please try builds.jabref.org/master and report back if that works for you

If it doesn't work (I think it should work) try to mark all entries and select "Export selected entries".

Thank you very much. Version 3.3dev--snapshot--2016-03-22--master--8c208a0 is working.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Siedlerchr picture Siedlerchr  路  3Comments

JoKalliauer picture JoKalliauer  路  3Comments

lenhard picture lenhard  路  4Comments

Siedlerchr picture Siedlerchr  路  3Comments

LinusDietz picture LinusDietz  路  3Comments