[ 
https://issues.apache.org/jira/browse/STANBOL-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042300#comment-13042300
 ] 

Andrea Nuzzolese commented on STANBOL-216:
------------------------------------------

It depends on the fact that the method getURI of VariableAtom always returns 
null.
So when an atom (in the issue description it is the IndividualPropertyAtom) 
tries to convert a variable (e.g. ?x) into a full qualified URI for SWRL 
representation it returns a NullPointerException.

> Method getURI of VariableAtom in rules.manager returns NULL
> -----------------------------------------------------------
>
>                 Key: STANBOL-216
>                 URL: https://issues.apache.org/jira/browse/STANBOL-216
>             Project: Stanbol
>          Issue Type: Bug
>          Components: KReS
>            Reporter: Concetto Elvio Bonafede
>
> java.lang.NullPointerException
>    at 
> org.apache.stanbol.rules.manager.atoms.IndividualPropertyAtom.toSWRL(IndividualPropertyAtom.java:119)
>    at org.apache.stanbol.rules.manager.RuleImpl.toSWRL(RuleImpl.java:205)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to