Re: [xwiki-users] NoSuchMethodError for injected DocumentAccessBridge

2009-10-20 Thread David Breeden
Sergiu Dumitriu wrote: On 10/16/2009 08:37 PM, breeden wrote: Ahh, ok. My platform is 2.0.24043 but the POM for my component was using xwiki-core-component and xwiki-core-bridge v1.8-SNAPSHOT (that tutorial archetype... :-)). I set xwiki-core-component to v1.9 and xwiki-core-bridge to

Re: [xwiki-users] NoSuchMethodError for injected DocumentAccessBridge

2009-10-20 Thread Thomas Mortagne
On Tue, Oct 20, 2009 at 19:25, David Breeden dbree...@stottlerhenke.com wrote: Sergiu Dumitriu wrote: On 10/16/2009 08:37 PM, breeden wrote: Ahh, ok.  My platform is 2.0.24043 but the POM for my component was using xwiki-core-component and xwiki-core-bridge v1.8-SNAPSHOT (that tutorial

Re: [xwiki-users] NoSuchMethodError for injected DocumentAccessBridge

2009-10-16 Thread Vincent Massol
Hi David, This means you're using an API that doesn't exist in the jar version you're using. Note that this property was modified in rev 21806 recently to return an Object instead of a String. The API you're calling is returning a String which doesn't exist anymore. Can you show us line

Re: [xwiki-users] NoSuchMethodError for injected DocumentAccessBridge

2009-10-16 Thread Thomas Mortagne
On Thu, Oct 15, 2009 at 19:31, breeden dbree...@stottlerhenke.com wrote: Here's what I get when I save a page with def myComponent = com.xpn.xwiki.web.Utils.getComponent(com.shai.xwiki.MyComponent.class); myComponent.myFun(Main.JohnDoe); Detailed information:    Error number 0 in 11:

Re: [xwiki-users] NoSuchMethodError for injected DocumentAccessBridge

2009-10-16 Thread breeden
Ahh, ok. My platform is 2.0.24043 but the POM for my component was using xwiki-core-component and xwiki-core-bridge v1.8-SNAPSHOT (that tutorial archetype... :-)). I set xwiki-core-component to v1.9 and xwiki-core-bridge to v2.0 and it's working. Thank you! ~David Breeden tmortagne wrote:

Re: [xwiki-users] NoSuchMethodError for injected DocumentAccessBridge

2009-10-15 Thread Thomas Mortagne
Hi David, On Wed, Oct 14, 2009 at 22:17, breeden dbree...@stottlerhenke.com wrote: Hi, I'm writing a component that accesses the XWiki data model when document updates occur.  I have a few questions, but will post distinct threads for them.  I apologize for the clutter. I found the API

Re: [xwiki-users] NoSuchMethodError for injected DocumentAccessBridge

2009-10-15 Thread breeden
Here's what I get when I save a page with def myComponent = com.xpn.xwiki.web.Utils.getComponent(com.shai.xwiki.MyComponent.class); myComponent.myFun(Main.JohnDoe); Detailed information: Error number 0 in 11: Uncaught exception Wrapped Exception: