You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Concetto Elvio Bonafede (JIRA)" <ji...@apache.org> on 2011/06/01 19:11:47 UTC
[jira] [Created] (STANBOL-216) Method getURI of VariableAtom in
rules.manager returns NULL
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
[jira] [Commented] (STANBOL-216) Method getURI of VariableAtom in
rules.manager returns NULL
Posted by "Andrea Nuzzolese (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (STANBOL-216) Method getURI of VariableAtom in
rules.manager returns NULL
Posted by "Concetto Elvio Bonafede (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STANBOL-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049038#comment-13049038 ]
Concetto Elvio Bonafede commented on STANBOL-216:
-------------------------------------------------
Now the method getURI works without problems.
> 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
[jira] [Commented] (STANBOL-216) Method getURI of VariableAtom in
rules.manager returns NULL
Posted by "Andrea Nuzzolese (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STANBOL-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042297#comment-13042297 ]
Andrea Nuzzolese commented on STANBOL-216:
------------------------------------------
It depends on the fact that the method getURI of IndividualPropertyAtom always returns null.
> 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
[jira] [Updated] (STANBOL-216) Method getURI of VariableAtom in
rules.manager returns NULL
Posted by "Andrea Nuzzolese (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STANBOL-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Nuzzolese updated STANBOL-216:
-------------------------------------
Comment: was deleted
(was: It depends on the fact that the method getURI of IndividualPropertyAtom always returns null.)
> 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
[jira] [Resolved] (STANBOL-216) Method getURI of VariableAtom in
rules.manager returns NULL
Posted by "Concetto Elvio Bonafede (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STANBOL-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Concetto Elvio Bonafede resolved STANBOL-216.
---------------------------------------------
Resolution: Fixed
Now the method getURI return the correct uri
> 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