Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export - error stream closed #608

Closed
melTr opened this issue Dec 30, 2015 · 10 comments · Fixed by #626
Closed

Export - error stream closed #608

melTr opened this issue Dec 30, 2015 · 10 comments · Fixed by #626
Assignees
Labels
bug Confirmed bugs or reports that are very likely to be bugs

Comments

@melTr
Copy link
Contributor

melTr commented Dec 30, 2015

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)
@oscargus
Copy link
Contributor

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).

@Ferry128
Copy link

Ferry128 commented Jan 2, 2016

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!

@smarru
Copy link

smarru commented Jan 2, 2016

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

oscargus added a commit that referenced this issue Jan 2, 2016
oscargus added a commit that referenced this issue Jan 2, 2016
@oscargus oscargus mentioned this issue Jan 2, 2016
@oscargus
Copy link
Contributor

oscargus commented Jan 2, 2016

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

@oscargus oscargus added the bug Confirmed bugs or reports that are very likely to be bugs label Jan 2, 2016
@oscargus oscargus self-assigned this Jan 2, 2016
@melTr
Copy link
Contributor Author

melTr commented Jan 3, 2016

Thanks. Works fine for me.

@Ferry128
Copy link

Ferry128 commented Jan 3, 2016

Thanks a lot! works fine!

@cdlt
Copy link

cdlt commented Mar 22, 2016

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

@koppor
Copy link
Member

koppor commented Mar 22, 2016 via email

@oscargus
Copy link
Contributor

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

@cdlt
Copy link

cdlt commented Mar 23, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants