Login  Register

Re: Re: Small problem with Bookshelf No SuchMethodError when clicking on review

Posted by Alex Sharaz-2 on Dec 24, 2009; 10:43am
URL: https://discuss.orbeon.com/Schema-validation-for-XSD-int-tp44183p978394.html

Now this is getting silly.

Fire up orbeon and select the Bookshelf app.

(BTW, my installation  doesn't have any example data in bookshelf, should it?)

Create an entry.

From the bookshelf summary page, select the document 

Click on the PDF button

it works and a pdf is downloaded to your browser.

Click on the review button 
a review page appears.

Click on the pdf button in the review field

Get the "NoSuchMethod" error page.

Close the review page and get back to the summary page

Double click on the created entry to open the book details page

Click on the pdf button

Fails with nosuchmethod again

Go back to book details

Click on review

Fails with no such method

Help!!!
Alex


On 24 Dec 2009, at 09:15, Alex Sharaz wrote:

Sigh!!

The copy of orbeon at home works just fine on resin 4.0.2. Guess I've got a jar file somewhere with an older copy of the apache file upload lurking around.

Alex
On 23 Dec 2009, at 15:07, Alex Sharaz wrote:

Hi,

I'm currently running the 161209 nightly build of Orbeon on a Resin 4.0.2 server and have been looking at  

a). The bookshelf app and
b) mplementing the file upload example from the orbeon web site how-to list 

With the bookshelf app, I can create a book entry and double click on it to view the details. However, when i click on either pdf or review when looking at the details, I get a NoSuchMethod 
error occurring as shown below:-

Alyone else seen this error?
Rgds
Alex



Orbeon Forms Error

Typeclass java.lang.NoSuchMethodError
Messageorg.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
Stack Trace
java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
	at org.orbeon.oxf.util.NetUtils.getParameterMapMultipart(NetUtils.java:1003)
	at org.orbeon.oxf.servlet.ServletExternalContext$Request.getParameterMap(ServletExternalContext.java:148)
	at org.orbeon.oxf.processor.generator.RequestGenerator.addParameters(RequestGenerator.java:450)
	at org.orbeon.oxf.processor.generator.RequestGenerator.readWholeRequestAsDOM4J(RequestGenerator.java:321)
	at org.orbeon.oxf.processor.generator.RequestGenerator.readRequestAsDOM4J(RequestGenerator.java:293)
	at org.orbeon.oxf.processor.generator.RequestGenerator.access$500(RequestGenerator.java:79)
	at org.orbeon.oxf.processor.generator.RequestGenerator$1.fillOutState(RequestGenerator.java:213)
	at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java:1411)
	at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getLocalKey(ProcessorImpl.java:1374)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1316)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
	at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1226)
	at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1233)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.access$000(ConcreteChooseProcessor.java:35)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.getKeyImpl(ConcreteChooseProcessor.java:130)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:439)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
	at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:495)
	at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
	at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
	at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
	at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:112)
	at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
	at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
	at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:784)
	at com.caucho.server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:619)
	at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:556)
	at com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1194)
	at com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1127)
	at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1158)
	at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
	at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws

==========
Time for another Macmillan Cancer Support event. This time its the Trans Central America cycle challenge -680Km in 8 days. 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
OW2 mailing lists service home page: http://www.ow2.org/wws

==========

Time for another Macmillan Cancer Support event. This time its the Trans Central America cycle challenge -680Km in 8 days. 


For route plan see Google Maps 






--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws