java.lang.reflect.InvocationTargetException

This exception has no message.

Samebug tips4

Check if your MongoDB is available.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web23856

  • via Terracotta by johannr, 1 year ago
    This exception has no message.
  • via Terracotta by pgovindraj, 1 year ago
    This exception has no message.
  • via Terracotta by bradleyw, 11 months ago
    This exception has no message.
  • Stack trace

    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:917) at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:255) at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134) Caused by: com.endeca.soleng.eac.toolkit.exception.AppControlException: Error executing valid BeanShell script. at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:179) at com.endeca.soleng.eac.toolkit.script.Script.run(Script.java:127) ... 7 more Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:170) at com.endeca.itl.recordstore.client.ReadGenerationClient.<init>(ReadGenerationClient.java:17) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at bsh.Reflect.constructObject(Unknown Source) at bsh.BSHAllocationExpression.constructObject(Unknown Source) at bsh.BSHAllocationExpression.objectAllocation(Unknown Source) at bsh.BSHAllocationExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHAssignment.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:165) ... 8 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:525) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:112) at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:81) at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:161) ... 24 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 times, 1 month ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    282 more bugmates