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

Unable to submit an item using upload file #84

Closed
marc-brouard opened this issue Jun 6, 2019 · 2 comments
Closed

Unable to submit an item using upload file #84

marc-brouard opened this issue Jun 6, 2019 · 2 comments
Assignees

Comments

@marc-brouard
Copy link

marc-brouard commented Jun 6, 2019

When using the New Submission, Upload a file the details from the file are not extracted. I have tried this with a ris file and a bibtex file. No errors are logged. But looking at the code

In SubmissionLookupJSONRequest.java when doing the BTE transformation, it creates a new TransformationSpec, but this creation fails with a null pointer error. Line 293. The exact error is

Method threw 'java.lang.NullPointerException' exception. Cannot evaluate gr.ekt.bte.core.TransformationSpec.toString()

The TransformationSpec is defined in bte-core-0.9.3.5-sources.jar

I don't think that this is the whole reason why the upload is failing though, it looks like the TransformationSpec may need setting up.

@marc-brouard marc-brouard changed the title Unable to submit an itme using upload file Unable to submit an item using upload file Jun 6, 2019
@rfazio rfazio self-assigned this Jun 11, 2019
@rfazio
Copy link

rfazio commented Jun 11, 2019

I think I resolved with this commit:
7e49590

Thank you very much

@rfazio rfazio closed this as completed Jun 11, 2019
@marc-brouard
Copy link
Author

Thank you, yes that works now. Greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants