Closed morridm-zz closed 11 years ago
Hello,
Thanks for your interest in Learning Vaadin 7. I'd suggest you read section Prerequisites on p. 206 as it will definitely solve your problem if you follow the steps described.
Thanks for the quick response. I'm almost to page 206; so I probably jumped ahead too fast downloading the full project before getting there. I'm enjoying your book! Great job on the book!
Thanks,
David
Thanks! And have fun learning Vaadin!
Hey,
Your examples from your learning vaadin 7 book throws an exception when following the book and using the source from github. Looks like maybe something has changed with the twitter libraries after you published.
HTTP Status 500 - com.vaadin.server.ServiceException: java.lang.IllegalStateException: OAuth consumer key/secret combination not supplied
type Exception report
message com.vaadin.server.ServiceException: java.lang.IllegalStateException: OAuth consumer key/secret combination not supplied
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: com.vaadin.server.ServiceException: java.lang.IllegalStateException: OAuth consumer key/secret combination not supplied com.vaadin.server.VaadinServlet.service(VaadinServlet.java:240) javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
root cause
com.vaadin.server.ServiceException: java.lang.IllegalStateException: OAuth consumer key/secret combination not supplied com.vaadin.server.VaadinService.handleExceptionDuringRequest(VaadinService.java:1429) com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1383) com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238) javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
root cause
java.lang.IllegalStateException: OAuth consumer key/secret combination not supplied twitter4j.TwitterBaseImpl.getOAuth(TwitterBaseImpl.java:386) twitter4j.TwitterBaseImpl.setOAuthAccessToken(TwitterBaseImpl.java:372) com.packtpub.learnvaadin.service.TwitterService.getAuthenticationUrl(TwitterService.java:34) com.packtpub.learnvaadin.twaattin.ui.LoginScreen.(LoginScreen.java:32)
com.packtpub.learnvaadin.twaattin.ui.TwaattinUI.init(TwaattinUI.java:29)
com.vaadin.ui.UI.doInit(UI.java:607)
com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI(UIInitHandler.java:223)
com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest(UIInitHandler.java:73)
com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)
com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1371)
com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.