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

Null pointer exception on absent copyright model in 0.8.1. image #1178

Open
pasha-pplx opened this issue Oct 5, 2024 · 1 comment
Open

Comments

@pasha-pplx
Copy link

Operating System and architecture (arm64, amd64, x86, etc.)

No response

What is your Java version

No response

Log and information

ERROR [2024-10-05 16:15:24,662] org.grobid.service.process.GrobidRestProcessFiles: An unexpected exception occurs. 
! java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "org.grobid.core.utilities.GrobidProperties.getGrobidEngineName(String)" is null
! at org.grobid.core.engines.HeaderParser.processingHeaderSection(HeaderParser.java:315)

Seems you need to inverse comparision there, something like "delft".equals(...getGrobidEngineName(...))

Further information

No response

@lfoppiano
Copy link
Collaborator

Hi @pasha-ppx, could you please provide more information about your problem?
Basically answer the questions that were asked above. Without more information, I'm afraid we won't be able to help.

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