[
https://issues.apache.org/jira/browse/STANBOL-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alberto Musetti updated STANBOL-444:
------------------------------------
Attachment: RefactorEnhancementEngine.patch
The RefactorEnhancementEngine.patch removes deprecated method to retrieve the
session space.
> RefactorEnhancementEngine: unable to retrieve the session space
> ---------------------------------------------------------------
>
> Key: STANBOL-444
> URL: https://issues.apache.org/jira/browse/STANBOL-444
> Project: Stanbol
> Issue Type: Bug
> Reporter: Alberto Musetti
> Attachments: RefactorEnhancementEngine.patch
>
>
> The compile went just fine (including -Pkres). But when I ran the analysis
> via the http://localhost:8080/engines# UI, I got an Null Pointer Exception
> from the Refactor Engine:
> src/main/java/org/apache/stanbol/enhancer/engines/refactor/RefactorEnhancementEngine.java
> @line 253:
> *sessionSpace.addOntology(ontologySource);*
> I checked the sessionSpace was null, so to test I commented out this line.
> Next I got the same Exception @line ~278:
> *ontologies.addAll(sessionSpace.getOntologies(true));*
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira