Hi
 
Thanks, I will check the code from cvs and have a look.
 
P.S: KeyEvent is not my name, but I will consider to name my son MouseEvent.
 
Regard
 
Li 

Oliver Zeigermann <[EMAIL PROTECTED]> wrote:
Hi!

I just inspected code for the exclusiveTransientLock method. The latest
version in the CVS only sets a lock when txId is not null. So, I
recommend to simply add an

if (txId != null) {
...
}

to the exclusiveTransientLock or simply take that method from the
current CVS Head.

Oliver

P.S.: Is your name really KeyEvent?

KeyEvent wrote:

> Hi
> 
> I used slide api to implement the file upload, it works well in slide2.0, but 
> exception occurs when I use 2.1M1 instead. I really appreciate if anyone can guide 
> me anything I did not notice.
> 
> My code for a new file upload looks like:
> token.begin();
> structure.create(slideToken, subject, resourcePath); //null exception occurs
> .....
> content.create(slideToken,resourcePath,revisionDescriptor,revisionContent);
> token.commit();
> 
> The cause of the null exception is that a new statement
> "namespace.getUri(token, 
> parentObject.getUri()).getStore().exclusiveTransientLock(parentObject.getUri().toString());"
>  is added in the structureimpl.java, which will ask for a Xid in the ExtendedStore. 
> The Xid I received is null, when its method is called, the null exception occurs. Be 
> honest, I really do not understand what Xid means, so I have no clue in handle that.
> 
> Any help will be appreciated, thanks
> 
> Li
> 
> 
> 
> 
> ---------------------------------
> Do You Yahoo!?
> 美女明星应有尽有,"一搜"搜遍美图、艳图和酷图
> 100兆邮箱够不够用?雅虎电邮自助扩容!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------
Do You Yahoo!?
美女明星应有尽有,"一搜"搜遍美图、艳图和酷图
100兆邮箱够不够用?雅虎电邮自助扩容!

Reply via email to