Hi Damyan,

I can still reproduce the problem. I can repeat nearly every attempt now and 
can catch it on the debugger as below;

Daemon Thread [Thread-26] (Suspended (exception NullPointerException))    
    c.do(int...) line: not available    
    Repository.putStatement(int, int, int, int) line: not available    
    HashInferencer_2_593114.addStatement(int, int, int, int) line: 93    
    SailConnectionImpl$LocalThreadPool$LocalWorkerThread.doJob() line: 69    
    
SailConnectionImpl$LocalThreadPool$LocalWorkerThread(ThreadPool$WorkerThread).run()
 line: 40    


this    c  (id=1187)    
    a    null    
    b    true    
    byte    101741    
    c    int[2]  (id=1234)    
    case    10000    
    char    int[3][]  (id=1205)    
    do    10000    
    else    boolean[3][]  (id=1235)    
    for    EntityPool  (id=1208)    
    goto    0    
    h    int[3][]  (id=1238)    
    i    3    
    if    null    
    int    10000    
    j    int[3][][]  (id=1239)    
    k    int[3]  (id=1241)    
    long    0    
    new    "/tmp/ontology/owlim.kb.281890959/xxx.pie/owlim-storage/" (id=1225)  
  
    try    int[2][][]  (id=1242)    
arg0    int[2]  (id=1202)    
    [0]    1074017706    
    [1]    1073915824    

I can only assume that the difference between the native store and memory 
store, is different transaction profile, which would point to a race somewhere.

Let me know if you need more info.

Thanks,
Carl




----- Original Message ----
From: Damyan Ognyanoff <[EMAIL PROTECTED]>
To: Carl Bray <[EMAIL PROTECTED]>; [email protected]
Sent: Friday, 5 September, 2008 15:38:22
Subject: Re: [OWLIM-discussion] RuntimeException: error

Hi Carl,

just updated the distribution on 
http://www.ontotext.com/owlim/swiftowlim-3.0.beta7-sesame-2.0.zip

the only difference is in the trree-3.0.beta7.jar - added few more sanity 
checks and also guarded another relevant method with a synchronized section

it is very difficult to locate the problematic piece of code without a 
reproducible scenario, sorry for the inconvenience.

about your observations for getting the 'error' exception more often with 
org.openrdf.sail.nativerdf.NativeStore

I really do not get what could be the relation between sesame's own sail 
implementations and ours - we do not interfere with these in any way... it 
looks very strange indeed.


regards,
Damyan
----- Original Message ----- 
From: "Carl Bray" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, September 05, 2008 4:46 PM
Subject: Re: [OWLIM-discussion] RuntimeException: error


>
> Hi Damyan,
>
> This issue still occurs in the latest build. We have however narrowed down 
> the causes a bit more.
>
> We get this Exception when using a org.openrdf.sail.nativerdf.NativeStore
>
> We don't see this particular exception when using 
> org.openrdf.sail.memory.MemoryStore however.
>
> Regards,
> Carl
>
>
>
> ----- Original Message ----
> From: Damyan Ognyanoff <[EMAIL PROTECTED]>
> To: Carl Bray <[EMAIL PROTECTED]>; [email protected]
> Sent: Wednesday, 3 September, 2008 11:58:33
> Subject: Re: [OWLIM-discussion] RuntimeException: error
>
> Hi Carl,
>
> it's looks like another mutithread issue  to me ...
>
> i've fixed it (by adding another guarded section around the related code)
> hope it will resolve this particullar issue
>
> the distribution on
> http://ww.ontotext.com/owlim/swiftowlim-3.0.beta7-sesame-2.0.zip was 
> updated
> so give it a try
>
> regards,
> Damyan
>
>
> ----- Original Message ----- 
> From: "Carl Bray" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, September 03, 2008 1:18 PM
> Subject: Re: [OWLIM-discussion] RuntimeException: error
>
>
>>
>> Hi Damyan,
>>
>> First exception I've seen since the release of beta7. Looks like the
>> worker thread catch is working which is great :)
>>
>> However the worker thread threw a NullPointerException exception as 
>> below:
>>
>>       [java] java.lang.RuntimeException: A worker thread exception catch!
>>       [java]     at
>> com.ontotext.trree.owlim_ext.SailConnectionImpl$LocalThreadPool.addStatement(SailConnectionImpl.java:109)
>>       [java]     at
>> com.ontotext.trree.owlim_ext.SailConnectionImpl.commit(SailConnectionImpl.java:218)
>>       [java]     at java.lang.Thread.run(Thread.java:619)
>>       [java] Caused by: java.lang.NullPointerException
>>       [java]     at com.ontotext.trree.owlim_ext.c.do(Unknown Source)
>>       [java]     at
>> com.ontotext.trree.owlim_ext.Repository.putStatement(Unknown Source)
>>       [java]     at
>> com.ontotext.trree.owlim_ext.HashInferencer_357_474114.addStatement(HashInferencer_357_474114.java:100)
>>       [java]     at
>> com.ontotext.trree.owlim_ext.SailConnectionImpl$LocalThreadPool$LocalWorkerThread.doJob(SailConnectionImpl.java:69)
>>       [java]     at
>> com.ontotext.trree.owlim_ext.ThreadPool$WorkerThread.run(ThreadPool.java:40)
>>
>>
>>
>>
>> ----- Original Message ----
>> From: Damyan Ognyanoff <[EMAIL PROTECTED]>
>> Sent: Tuesday, 26 August, 2008 16:42:31
>> Subject: Re: [OWLIM-discussion] RuntimeException: error
>>
>> Hi Carl,
>>
>> the new version which I uploaded at
>> http://www.ontotext.com/owlim/swiftowlim-3.0.beta7-sesame-2.0.zip
>>
>> has also changes related to this issue - not quite sure it is resolved 
>> yet
>> but at least the both cases when we throw an RuntimeExceptions with just
>> an
>> "error" messages which are now distinguishable with:
>>    "error Subj < 0" in the case if something goes really wrong with the
>> all-wildcard iterators over the items in the predicate collection and;
>>    "error Found = true but Subj < 0" in the case when either one of the
>> subject, object or context fields is present.
>>
>> it also fixes the issue of not persisting collections on which only 
>> remove
>> statement operation was performed
>>
>> regards,
>> Damyan
>>
>> ----- Original Message ----- 
>> To: <[email protected]>
>> Sent: Tuesday, August 26, 2008 3:50 PM
>> Subject: [OWLIM-discussion] RuntimeException: error
>>
>>
>>>
>>> Different stack traces for the RuntimeException: error
>>> issue dying in the worker thread
>>>
>>> "Thread-478"
>>>     [java] Exception in thread "Thread-478" java.lang.RuntimeException:
>>> error
>>>     [java]     at com.ontotext.trree.owlim_ext.c$2.next(Unknown Source)
>>>     [java]     at com.ontotext.trree.owlim_ext.Repository$b.next(Unknown
>>> Source)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.HashInferencer_48_417524.infer$x$rdfs_subClassOf$z(HashInferencer_48_417524.java:629)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.HashInferencer_48_417524.doInference(HashInferencer_48_417524.java:106)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.SailConnectionImpl$LocalThreadPool$LocalWorkerThread.doJob(SailConnectionImpl.java:74)
>>>     [java]     at
>>> com.ontotext.trree.owlim_ext.ThreadPool$WorkerThread.run(ThreadPool.java:24)
>>>
>>> "Thread-3181"
>>>     [java] Exception in thread "Thread-3181" java.lang.RuntimeException:
>>> error
>>>     [java]     at com.ontotext.trree.owlim_ext.c$2.next(Unknown Source)
>>>     [java]     at com.ontotext.trree.owlim_ext.c$2.hasNext(Unknown
>>> Source)
>>>     [java]     at com.ontotext.trree.owlim_ext.Repository$b.next(Unknown
>>> Source)
>>>     [java]     at
>>> com.ontotext.trree.owlim_ext.Repository$b.<init>(Unknown
>>> Source)
>>>     [java]     at
>>> com.ontotext.trree.owlim_ext.Repository.getStatements(Unknown Source)
>>>     [java]     at
>>> com.ontotext.trree.owlim_ext.Repository.getStatements(Unknown Source)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.HashInferencer_345_470177.getSubjPred(HashInferencer_345_470177.java:1172)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.HashInferencer_345_470177.infer$x$y$z(HashInferencer_345_470177.java:300)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.HashInferencer_345_470177.doInference(HashInferencer_345_470177.java:108)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.HashInferencer_345_470177.addStatement(HashInferencer_345_470177.java:96)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.SailConnectionImpl$LocalThreadPool$LocalWorkerThread.doJob(SailConnectionImpl.java:66)
>>>     [java]     at
>>> com.ontotext.trree.owlim_ext.ThreadPool$WorkerThread.run(ThreadPool.java:24)
>>>
>>> "Thread-441"
>>>     [java] Exception in thread "Thread-441" java.lang.RuntimeException:
>>> error
>>>     [java]     at com.ontotext.trree.owlim_ext.c$2.next(Unknown Source)
>>>     [java]     at com.ontotext.trree.owlim_ext.Repository$b.next(Unknown
>>> Source)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.HashInferencer_43_210086.infer$x$rdfs_subClassOf$z(HashInferencer_43_210086.java:2597)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.HashInferencer_43_210086.doInference(HashInferencer_43_210086.java:126)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.HashInferencer_43_210086.addStatement(HashInferencer_43_210086.java:116)
>>>     [java] at
>>> com.ontotext.trree.owlim_ext.SailConnectionImpl$LocalThreadPool$LocalWorkerThread.doJob(SailConnectionImpl.java:66)
>>>     [java]     at
>>> com.ontotext.trree.owlim_ext.ThreadPool$WorkerThread.run(ThreadPool.java:24)
>>>
>>> Send instant messages to your online friends
>>> http://uk.messenger.yahoo.com
>>>
>>> _______________________________________________
>>> OWLIM-discussion mailing list
>>> [email protected]
>>> http://ontotext.com/mailman/listinfo/owlim-discussion_ontotext.com
>>
>>
>>
>>
>> _______________________________________________
>> OWLIM-discussion mailing list
>> [email protected]
>> http://ontotext.com/mailman/listinfo/owlim-discussion_ontotext.com
>
>
>
>
> _______________________________________________
> OWLIM-discussion mailing list
> [email protected]
> http://ontotext.com/mailman/listinfo/owlim-discussion_ontotext.com 


      

_______________________________________________
OWLIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/owlim-discussion_ontotext.com

Reply via email to