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兆邮箱够不够用?雅虎电邮自助扩容!

Reply via email to