Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    The invoke() method threw an exception. To understand what the problem is, wrap the invoke() method call around a try-catch block and log invocationTargetException.getTargetException(). You can also use the getCause() method.

Solutions on the web

via GitHub by cybersea
, 1 year ago
Protocol connection exception
java.lang.reflect.InvocationTargetException: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at com.esri.gpt.control.webharvest.protocol.ProtocolInvoker.ping(ProtocolInvoker.java:47)	at com.esri.gpt.catalog.harvest.repository.HrRecord.checkConnection(HrRecord.java:508)	at com.esri.gpt.catalog.harvest.repository.HrTestRequest.execute(HrTestRequest.java:71)	at com.esri.gpt.control.harvest.HarvestController.handleTestConnection(HarvestController.java:533)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.apache.el.parser.AstValue.invoke(AstValue.java:172)	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)	at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)	at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:144)	at javax.faces.event.ActionEvent.processListener(ActionEvent.java:84)	at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:773)	at javax.faces.component.UICommand.broadcast(UICommand.java:296)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246)	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.esri.gpt.control.filter.EncodingFilter.doFilter(EncodingFilter.java:122)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)	at java.lang.Thread.run(Thread.java:745)