You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Johny <ms...@webworks.dk> on 2006/01/12 11:13:00 UTC

Tapestry 4.0 problem with examples

When I try to run the DirectLink example for Tapestry 4.0 I get the error 
message below in the Tomcat console. I am using Java 1.3 and tomcat 4.1.27. I 
don't know what to make of this error message - not really the wealth of 
exception information promised for Tapestry 4.0.

Hope someone can help.

**********************************************************


Unable to process client request: Failure enhancing class 
tutorials.directlink.pages.Home: java.lang.NoSuchMethodError



Exceptions:



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Tapestry 4.0 problem with examples

Posted by Johny <ms...@webworks.dk>.
... And these are my libraries:

commons-codec-1.3.jar
commons-fileupload-1.0.jar
commons-logging-1.0.4.jar
hivemind-1.1.jar
hivemind-lib-1.1.jar
javassist-3.0.jar
log4j-1.2.8.jar
ognl-2.6.7.jar
oro-2.0.8.jar
tapestry-4.0.jar
tapestry-annotations-4.0.jar
tapestry-contrib-4.0.jar
tapestry-portlet-4.0.jar


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Tapestry 4.0 problem with examples

Posted by Johny <ms...@webworks.dk>.
Forgot the stacktrace from the tomcat error page:

java.lang.NoSuchMethodError
	at org.apache.hivemind.service.impl.MethodFabImpl.toString
(MethodFabImpl.java:98)
	at java.lang.String.valueOf(Unknown Source)
	at java.lang.StringBuffer.append(Unknown Source)
	at org.apache.hivemind.service.impl.ClassFabImpl.buildMethods
(ClassFabImpl.java:173)
	at org.apache.hivemind.service.impl.ClassFabImpl.toString
(ClassFabImpl.java:149)
	at org.apache.tapestry.util.exception.ExceptionAnalyzer.buildDescription
(ExceptionAnalyzer.java:177)
	at org.apache.tapestry.util.exception.ExceptionAnalyzer.analyze
(ExceptionAnalyzer.java:86)
	at org.apache.tapestry.util.exception.ExceptionAnalyzer.reportException
(ExceptionAnalyzer.java:378)
	at 
org.apache.tapestry.error.RequestExceptionReporterImpl.reportRequestException
(RequestExceptionReporterImpl.java:59)
	at $RequestExceptionReporter_108be2b54e3.reportRequestException
($RequestExceptionReporter_108be2b54e3.java)
	at $RequestExceptionReporter_108be2b54e2.reportRequestException
($RequestExceptionReporter_108be2b54e2.java)
	at org.apache.tapestry.error.ExceptionPresenterImpl.presentException
(ExceptionPresenterImpl.java:53)
	at $ExceptionPresenter_108be2b54b5.presentException
($ExceptionPresenter_108be2b54b5.java)
	at $ExceptionPresenter_108be2b54b4.presentException
($ExceptionPresenter_108be2b54b4.java)
	at org.apache.tapestry.engine.AbstractEngine.activateExceptionPage
(AbstractEngine.java:121)
	at org.apache.tapestry.engine.AbstractEngine.service
(AbstractEngine.java:280)
	at org.apache.tapestry.services.impl.InvokeEngineTerminator.service
(InvokeEngineTerminator.java:60)
	at $WebRequestServicer_108be2b5517.service
($WebRequestServicer_108be2b5517.java)
	at $WebRequestServicer_108be2b5516.service
($WebRequestServicer_108be2b5516.java)
	at $WebRequestServicer_108be2b5513.service
($WebRequestServicer_108be2b5513.java)
	at $WebRequestServicer_108be2b5512.service
($WebRequestServicer_108be2b5512.java)
	at 
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service
(WebRequestServicerPipelineBridge.java:56)
	at $ServletRequestServicer_108be2b54f5.service
($ServletRequestServicer_108be2b54f5.java)
	at $ServletRequestServicer_108be2b54f4.service
($ServletRequestServicer_108be2b54f4.java)
	at org.apache.tapestry.multipart.MultipartDecoderFilter.service
(MultipartDecoderFilter.java:52)
	at $ServletRequestServicerFilter_108be2b54f7.service
($ServletRequestServicerFilter_108be2b54f7.java)
	at $ServletRequestServicerFilter_108be2b54f6.service
($ServletRequestServicerFilter_108be2b54f6.java)
	at $ServletRequestServicer_108be2b54f8.service
($ServletRequestServicer_108be2b54f8.java)
	at org.apache.tapestry.services.impl.SetupRequestEncoding.service
(SetupRequestEncoding.java:53)
	at $ServletRequestServicerFilter_108be2b54f3.service
($ServletRequestServicerFilter_108be2b54f3.java)
	at $ServletRequestServicerFilter_108be2b54f2.service
($ServletRequestServicerFilter_108be2b54f2.java)
	at $ServletRequestServicer_108be2b54f8.service
($ServletRequestServicer_108be2b54f8.java)
	at org.apache.tapestry.request.DecodedRequestInjector.service
(DecodedRequestInjector.java:55)
	at $ServletRequestServicerFilter_108be2b54f1.service
($ServletRequestServicerFilter_108be2b54f1.java)
	at $ServletRequestServicerFilter_108be2b54f0.service
($ServletRequestServicerFilter_108be2b54f0.java)
	at $ServletRequestServicer_108be2b54f8.service
($ServletRequestServicer_108be2b54f8.java)
	at $ServletRequestServicer_108be2b54eb.service
($ServletRequestServicer_108be2b54eb.java)
	at $ServletRequestServicer_108be2b54ea.service
($ServletRequestServicer_108be2b54ea.java)
	at org.apache.tapestry.ApplicationServlet.doService
(ApplicationServlet.java:123)
	at org.apache.tapestry.ApplicationServlet.doGet
(ApplicationServlet.java:79)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:256)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2416)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:180)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:171)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:172)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:174)
	at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
t(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:223)
	at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:601)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:392)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:565)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:619)
	at java.lang.Thread.run(Unknown Source)



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Tapestry 4.0 problem with examples

Posted by Howard Lewis Ship <hl...@gmail.com>.
Some things can't be rushed.  There's a branches/branch-1.1 ... that's
the head of the 1.1 branch, and that's where the bug fixes are.  The
trunk is currently in transition towards 1.2 (including a Maven2
conversion in yet another branch).

We'll be putting up the HiveMind 1.1.1 release pretty darn soon; just
waiting for one team member to fix a bug related to Groovy.

On 1/12/06, Cliff Zhao <zh...@gmail.com> wrote:
> I see at least in  two bugs are claimed fixed in HiveMind 1.1.1.
>
> Could you release HiveMind 1.1.1 or give some instructions on how to build
> HiveMind 1.1.1? I tried to build HiveMind from SVN repo but had no clue on
> how to build it and can not see any tag marked 1.1.1.
>
> Thanks.
>
>
> On 1/12/06, Howard Lewis Ship <hl...@gmail.com> wrote:
> >
> > This is a bug that, I believe, has been fixed for HiveMind 1.1.1.
> >
> > On 1/12/06, Johny <ms...@webworks.dk> wrote:
> > > The NoSuchMethodError is apparently caused by the fact that HiveMind is
> > > not "entirely" java 1.3 compatible - it uses the method
> > StringBuffer.append
> > > (StringBuffer) which is not available pre-java 1.4. They would have to
> > cast to
> > > Object for it to work under 1.3. Funny that Tapestry claims 1.3compatibility
> > > even though a core dependency does not meet this criteria?
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --
> > Howard M. Lewis Ship
> > Independent J2EE / Open-Source Java Consultant
> > Creator, Jakarta Tapestry
> > Creator, Jakarta HiveMind
> >
> > Professional Tapestry training, mentoring, support
> > and project work.  http://howardlewisship.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Tapestry 4.0 problem with examples

Posted by Cliff Zhao <zh...@gmail.com>.
I see at least in  two bugs are claimed fixed in HiveMind 1.1.1.

Could you release HiveMind 1.1.1 or give some instructions on how to build
HiveMind 1.1.1? I tried to build HiveMind from SVN repo but had no clue on
how to build it and can not see any tag marked 1.1.1.

Thanks.


On 1/12/06, Howard Lewis Ship <hl...@gmail.com> wrote:
>
> This is a bug that, I believe, has been fixed for HiveMind 1.1.1.
>
> On 1/12/06, Johny <ms...@webworks.dk> wrote:
> > The NoSuchMethodError is apparently caused by the fact that HiveMind is
> > not "entirely" java 1.3 compatible - it uses the method
> StringBuffer.append
> > (StringBuffer) which is not available pre-java 1.4. They would have to
> cast to
> > Object for it to work under 1.3. Funny that Tapestry claims 1.3compatibility
> > even though a core dependency does not meet this criteria?
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
>
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>

Re: Tapestry 4.0 problem with examples

Posted by Howard Lewis Ship <hl...@gmail.com>.
This is a bug that, I believe, has been fixed for HiveMind 1.1.1.

On 1/12/06, Johny <ms...@webworks.dk> wrote:
> The NoSuchMethodError is apparently caused by the fact that HiveMind is
> not "entirely" java 1.3 compatible - it uses the method StringBuffer.append
> (StringBuffer) which is not available pre-java 1.4. They would have to cast to
> Object for it to work under 1.3. Funny that Tapestry claims 1.3 compatibility
> even though a core dependency does not meet this criteria?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Tapestry 4.0 problem with examples

Posted by Johny <ms...@webworks.dk>.
The NoSuchMethodError is apparently caused by the fact that HiveMind is 
not "entirely" java 1.3 compatible - it uses the method StringBuffer.append
(StringBuffer) which is not available pre-java 1.4. They would have to cast to 
Object for it to work under 1.3. Funny that Tapestry claims 1.3 compatibility 
even though a core dependency does not meet this criteria?



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org