You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/02/04 09:20:08 UTC
[jira] [Resolved] (STANBOL-1272) NPE in compareTo(..) calls if the
EntityCoMentionEngine
[ https://issues.apache.org/jira/browse/STANBOL-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rupert Westenthaler resolved STANBOL-1272.
------------------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
fixed with http://svn.apache.org/r1563781 in 0.12 and http://svn.apache.org/r1564226 in trunk
> NPE in compareTo(..) calls if the EntityCoMentionEngine
> -------------------------------------------------------
>
> Key: STANBOL-1272
> URL: https://issues.apache.org/jira/browse/STANBOL-1272
> Project: Stanbol
> Issue Type: Bug
> Components: Enhancement Engines
> Affects Versions: 0.12.0
> Reporter: Rupert Westenthaler
> Assignee: Rupert Westenthaler
> Fix For: 0.12.0
>
>
> The EntityCoMention engine can throw NPE on several different locations of some of the processed Enhancements do not have fise:confidence values.
> Here an example exception:
> org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl Reported Exception: java.lang.NullPointerException
> at java.lang.Double.compareTo(Double.java:950)
> at org.apache.stanbol.enhancer.engines.entitycomention.EntityCoMentionEngine.writeComentions(EntityCoMentionEngine.java:475)
> at org.apache.stanbol.enhancer.engines.entitycomention.EntityCoMentionEngine.computeEnhancements(EntityCoMentionEngine.java:318)
> at org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler.processEvent(EnhancementJobHandler.java:271)
> [...]
> To fix this all calls to Double.compareTo(..) need to ensure that the parsed value MUST NOT be NULL
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)