epugh commented on PR #1999:
URL: https://github.com/apache/solr/pull/1999#issuecomment-3193705180
@jzonthemtn I fixed the bats test... Now seeing this from Solr... Any
ideas?
```
2025-08-16 14:22:34.083 ERROR (qtp89448984-32-localhost-15) [c:COLL_NAME
s:shard1 r:core_node2 x:COLL_NAME_shard1_replica_n1 t:localhost-15]
o.d.d.DocumentCategorizerDL Unload to perform document classification inference
=> java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()"
because the return value of "java.util.Map.get(Object)" is null
at
opennlp.dl.doccat.DocumentCategorizerDL.tokenize(DocumentCategorizerDL.java:295)
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()"
because the return value of "java.util.Map.get(Object)" is null
at
opennlp.dl.doccat.DocumentCategorizerDL.tokenize(DocumentCategorizerDL.java:295)
~[?:?]
at
opennlp.dl.doccat.DocumentCategorizerDL.categorize(DocumentCategorizerDL.java:140)
~[?:?]
at
org.apache.solr.update.processor.DocumentCategorizerUpdateProcessorFactory$1.classify(DocumentCategorizerUpdateProcessorFactory.java:529)
~[?:?]
at
org.apache.solr.update.processor.DocumentCategorizerUpdateProcessorFactory$1.processAdd(DocumentCategorizerUpdateProcessorFactory.java:494)
~[?:?]
at
org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:54)
~[?:?]
```
Also, we need to remove use of java.io.File...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]