Thanks for your reply. I found my error, you right that my client variable is error. Because my configure facebook is wrong.
TH Lim wrote: > > Check why your client variable is null. I think the problem lies there. > > > caoanhkiet wrote: >> >> Hi, >> I have been following >> http://cwiki.apache.org/WICKET/facebook-integration.html and version >> tomcat 5.5.25. and ran NullPointerException. >> >> error at: client.friends_get(); >> >> SEVERE: Can't instantiate page using constructor public Login() >> org.apache.wicket.WicketRuntimeException: Can't instantiate page using >> constructor public Login() >> at >> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:168) >> at >> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) >> at >> org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:92) >> at >> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:268) >> at >> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283) >> at >> org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210) >> at >> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) >> at >> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1166) >> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1243) >> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1331) >> at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) >> at >> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:363) >> at >> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) >> at >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) >> at >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) >> at >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) >> > > -- View this message in context: http://www.nabble.com/Facebook-Wicket-Integration-tp16558748p17465427.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]