I use jdk1.6.0_07. ________________________________________ Van: [email protected] [[email protected]] namens Jan Haderka [[email protected]] Verzonden: donderdag 1 april 2010 15:29 Aan: Magnolia User-List Onderwerp: RE: [magnolia-user] module-observation does not work with 4.3.1
strange. Which JDK version please? On Thu, 2010-04-01 at 14:52 +0200, Bert Leunis wrote: > Hi Jan, > > Thanks for your answer. I understand the reason for removing that > constructor. But the module should probably be recompiled. This is the error > I get: > > Exception in thread "Thread-63" java.lang.NoSuchMethodError: > info.magnolia.context.SimpleContext.<init>(Linfo/magnolia/context/Context;)V > at > info.magnolia.module.observation.commands.CommandEventListener$1.<init>(CommandEventListener.java:86) > at > info.magnolia.module.observation.commands.CommandEventListener.onEvent(CommandEventListener.java:85) > at > info.magnolia.module.observation.util.ObservationUtil$ObservationBasedDelayedExecutor$1.run(ObservationUtil.java:361) > at > info.magnolia.cms.util.DelayedExecutor$RunnableWrapper.run(DelayedExecutor.java:104) > at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source) > at java.lang.Thread.run(Thread.java:619) > > > Regards, Bert > ________________________________________ > Van: [email protected] [[email protected]] > namens Jan Haderka [[email protected]] > Verzonden: donderdag 1 april 2010 14:25 > Aan: Magnolia User-List > Onderwerp: Re: [magnolia-user] module-observation does not work with 4.3.1 > > Hey Bert, > the observation 1.1 works just fine (at least I could not see any errors > localy). > > As for the constructor, it was removed due to errors while resolving it > (conflicting with SimpleContext(Map) ). > > info.magnolia.context.Context extends org.apache.commons.chain.Context > which in turn extends java.util.Map so public SimpleContext(Map map) {} > constructor is enough to cover for both Map and Context. > > When exactly do you experience problems? > > Jan > > > On Thu, 2010-04-01 at 13:17 +0200, Bert Leunis wrote: > > Dear Magnolians, > > > > It seems the magnolia-module-observation version 1.1 does not work > > with magnolia version 4.3.1. The constructor > > > > public SimpleContext(Context ctx) was removed from > > info.magnolia.context.SimpleContext. > > > > > > > > Can we expect a new version of the observation module soon? > > > > > > > > Best regards, > > > > Bert Leunis > > > > > > > > > > > > ______________________________________________________________________ > > ---------------------------------------------------------------- > > For list details see > > http://www.magnolia-cms.com/home/community/mailing-lists.html > > To unsubscribe, E-mail to: <[email protected]> > > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
