Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
enhancer.engine.dereference.filterContentlanguages=B"false"
enhancer.engines.dereference.ldpath=["{some-ldpath}"]
enhancer.engines.dereference.fields=
Description
In the case filterContentLanguages is false, no dereference fields and some LDPath is configured (see environment for details) the following NPE appears
Caused by: java.lang.NullPointerException at org.apache.stanbol.enhancer.engines.dereference.entityhub.TrackingDereferencerBase.dereference(TrackingDereferencerBase.java:308) at org.apache.stanbol.enhancer.engines.dereference.EntityDereferenceEngine.computeEnhancements(EntityDereferenceEngine.java:324) at org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.processEvent(EnhancementJobHandler.java:279) at org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.handleEvent(EnhancementJobHandler.java:197) at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415) at org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:118) at org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks$TaskExecuter.run(AsyncDeliverTasks.java:159) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ... 1 more