Forgot: I'm using tacos-lib-20050421.jar, because I thought this was the last
jar to support T3 (the other tacos jars are named tacos4)

I have not provided the keyProvider, state and sorter bindings, because the
documentation says that these are optional and the defaults are good enough for
me I think.

I have provided the bindings contentProvider and value, which I think should be
correct and non-null all the time.

Maybe my next step should be to include bindings for keyProvider and state,
maybe that helps.

Thanks for the feedback!

Inge

Quoting Jesse Kuhnert <[EMAIL PROTECTED]>:

> This usually means either an IContentProvider or IKeyProvider wasn't
> available during render. You can also try setting nodeLinkAjax
> parameter to false to see if I've introduced a new bug. Let me know.
>
> jesse
> On 11/8/05, Inge Solvoll <[EMAIL PROTECTED]> wrote:
> > I'm trying to use a tacos:Tree component in my page, without luck. I get
> > the following error when clicking on the plus image, expanding a node:
> >
> > Unable to invoke method expansion on
> >
>
[EMAIL PROTECTED]/$DivisionSelectionTree.tree]:
> > null
> >
> > I've tried switching to the excact same jar-files as the demo
> > application uses, no difference.
> >
> > As you've probably understood, the tree renders correctly at first
> > showing the root node with a plus-icon next to it. When clicking on the
> > plus-icon, there is one child node of the root node that should be made
> > visible.
> >
> > I've tried setting breakpoints in my content provider, as well as in the
> > component containing the tree component, but the page crashes before
> > these are called. I've also tried to put breakpoints in all methods in
> > Tree and TreeManager, but none are reached. This usually works for me in
> > other classes.
> >
> > Any ideas?
> >
> > Here's the rest of the stack trace:
> >
> >
> >
> > java.lang.IllegalArgumentException
> > Stack Trace:
> >
> >      * net.sf.tacos.tree.TreeManager.<init>(Unknown Source)
> >      * net.sf.tacos.tree.Tree.getManager(Unknown Source)
> >      * net.sf.tacos.tree.Tree.expansion(Unknown Source)
> >      * sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >      *
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >      *
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >      * java.lang.reflect.Method.invoke(Method.java:324)
> >      *
> >
>
org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:257)
> >      *
> > org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java:46)
> >      *
> >
>
org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:97)
> >      *
> >
>
org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:102)
> >      * org.apache.tapestry.link.DirectLink.trigger(DirectLink.java:119)
> >      *
> > org.apache.tapestry.engine.DirectService.service(DirectService.java:169)
> >      *
> > org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:889)
> >      *
> >
> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:198)
> >      *
> > org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:159)
> >      * javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >      * javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >      *
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> >      *
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >      *
> >
>
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> >      *
> >
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> >      *
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >      *
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >      *
> >
>
no.dossier.moby.frontend.common.filters.BasicFilter.doFilter(BasicFilter.java:161)
> >      *
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >      *
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >      *
> >
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >      *
> >
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> >      *
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >      *
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> >      *
> >
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >      *
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >      *
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> >      *
> >
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> >      *
> >
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> >      *
> >
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> >      *
> >
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> >      * java.lang.Thread.run(Thread.java:534)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




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

Reply via email to