maulaku / swe574-group1

Automatically exported from code.google.com/p/swe574-group1
0 stars 0 forks source link

Exception on searchRecipes service #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here is the full stacktrace

java.lang.NullPointerException
at 
edu.boun.swe574.fsn.backend.ws.recommender.Recommender.recommend(Recommender.jav
a:73)
at 
edu.boun.swe574.fsn.backend.ws.SearchService.searchForRecipes(SearchService.java
:62)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:210)
at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:132)
at 
com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.jav
a:241)
at 
com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:74)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:226)
at 
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:37
5)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:175)
at 
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:
134)
at 
com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate
.java:159)
at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
20)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
22)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.jav
a:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116
)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor
.java:1040)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractPro
tocol.java:607)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:8
86)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Complete stack:

org.apache.wicket.WicketRuntimeException: Method onRequest of interface 
org.apache.wicket.behavior.IBehaviorListener targeted at 
org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1 {event='onclick'} on 
component [ [Component id = lnkSearch]] threw an exception
at 
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterfa
ce.java:270)
at 
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:
241)
at 
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener
(ListenerInterfaceRequestHandler.java:255)
at 
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(Listen
erInterfaceRequestHandler.java:234)
at 
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycl
e.java:781)
at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:6
4)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:21
2)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycl
e.java:283)
at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:18
5)

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterfa
ce.java:260)
at 
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:
241)
at 
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener
(ListenerInterfaceRequestHandler.java:255)
at 
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(Listen
erInterfaceRequestHandler.java:234)
at 
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycl
e.java:781)
at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:6
4)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:21
2)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycl
e.java:283)
at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:18
5)

javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException
at 
com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:
178)
at 
com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.
java:119)
at 
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
va:108)
at 
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
va:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
at $Proxy65.searchForRecipes(Unknown Source)
at 
tr.edu.boun.swe574.fsn.web.common.ws.WSCaller.searchRecipes(WSCaller.java:208)
at 
tr.edu.boun.swe574.fsn.web.wicket.profile.searchRecipe.SearchRecipe$3.onSubmit(S
earchRecipe.java:189)
at 
org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink
.java:68)
at 
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$1.onSubmit(AjaxFormSubmitBeha
vior.java:172)
at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1151)
at org.apache.wicket.markup.html.form.Form.process(Form.java:834)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:762)
at 
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavio
r.java:158)
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:184)
at 
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjax
Behavior.java:369)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterfa
ce.java:260)
at 
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:
241)
at 
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener
(ListenerInterfaceRequestHandler.java:255)
at 
org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(Listen
erInterfaceRequestHandler.java:234)
at 
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycl
e.java:781)
at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:6
4)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:21
2)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycl
e.java:283)
at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:18
5)

Original issue reported on code.google.com by esinkara...@gmail.com on 1 Jun 2014 at 6:43

GoogleCodeExporter commented 9 years ago

Original comment by turkmen...@gmail.com on 1 Jun 2014 at 9:03