java.lang.reflect.InvocationTargetException

Exception #2462543

Samebug tips0

There are no available Samebug tips.

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

Solutions on the web1

  • via by Amethyste,
  • 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: com.endeca.soleng.eac.toolkit.utility.IFCRUtility$HttpStatusException: Precondition Failed (412): Cannot copy JcrNodeResource, type=endeca/site, superType=null, path=/prototype/default to /sites/Discover: destination exists at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.execute(IFCRUtility.java:785) at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.httpPostDoNotConsume(IFCRUtility.java:731) at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.httpPost(IFCRUtility.java:703) at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.httpPost(IFCRUtility.java:654) at com.endeca.soleng.eac.toolkit.utility.IFCRUtility.copyNode(IFCRUtility.java:212) at com.endeca.soleng.eac.toolkit.component.IFCRComponent.provisionSite(IFCRComponent.java:490) 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 bsh.Reflect.invokeMethod(Unknown Source) at bsh.Reflect.invokeObjectMethod(Unknown Source) at bsh.Name.invokeMethod(Unknown Source) at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.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

    Write tip

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

    No Bugmate found.