On Tue, Apr 16, 2013 at 6:07 PM, harish suvarna <[email protected]> wrote:
> Rupert,
> These are not stanbol streams. So something in our engine only. I start the
> server with -no-security option but do pass the --user admin:admin too.
> Hope this is ok.

Never tried this. If running the full launcher I only use the
-no-security option.

>
> Once an engine throws any exception, it can still process next requests.
> Right? I dont have to restart the server. Right.?
>

The EnhancementJobManager catches all Exceptions (other than security
related). If the failing EnhancementEngine is marked as 'optional' the
execution of the EnhancementChain is continued otherwise the execution
is cancelled and an error response is sent to the user.

There is no need to restart the server. The next request will be
processed normally. But if the reason for the exception persists the
next enhancement request might run into the same issue.

best
Rupert

>
> On Mon, Apr 15, 2013 at 12:25 PM, Rupert Westenthaler <
> [email protected]> wrote:
>
>> On Mon, Apr 15, 2013 at 6:39 PM, harish suvarna <[email protected]>
>> wrote:
>> > Caused by: java.lang.NullPointerException
>> > at java.io.Reader.<init>(Reader.java:78)
>> > at java.io.InputStreamReader.<init>(InputStreamReader.java:97)
>> > at
>> com.adobe.g11n.language.components.GTLibAutoCategorizer.ProcessAnnotations(GTLibAutoCategorizer.java:233)
>>
>> This looks like if you engine tries to read from a InputStreamReader,
>> but the parsed InputStream is NULL. Without knowing the source I con
>> not say much more, but if the stream is obtained from Stanbol (e.g.
>> Blob#getInputStream() or ContentItem#getInputStream()) than this is
>> indeed unexpected - as those methods should not return null values.
>>
>> best
>> Rupert
>>
>> > --
>> > Thanks
>> > Harish
>>
>>
>>
>> --
>> | Rupert Westenthaler             [email protected]
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>>
>
>
>
> --
> Thanks
> Harish



--
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to