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

Solutions on the web

via Stack Overflow by fr33g
, 1 year ago
Can't specify parent if no parent field has been configured
java.lang.IllegalArgumentException: Can't specify parent if no parent field has been configured	at org.elasticsearch.action.index.IndexRequest.process(IndexRequest.java:617)	at org.elasticsearch.action.index.TransportIndexAction.resolveRequest(TransportIndexAction.java:131)	at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase.checkBlocks(TransportReplicationAction.java:411)	at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase.doRun(TransportReplicationAction.java:367)	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)	at org.elasticsearch.action.support.replication.TransportReplicationAction.doExecute(TransportReplicationAction.java:120)	at org.elasticsearch.action.index.TransportIndexAction.innerExecute(TransportIndexAction.java:135)	at org.elasticsearch.action.index.TransportIndexAction.doExecute(TransportIndexAction.java:119)	at org.elasticsearch.action.index.TransportIndexAction.doExecute(TransportIndexAction.java:66)	at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:70)	at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:58)	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:347)	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85)	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59)	at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:67)	at util.ElasticsearchServer.insert(ElasticsearchServer.java:83)	at models.Article.saveEntityElasticsearch(Article.java:349)	at models.Entity.saveEntity(Entity.java:26)	at controllers.ImportController.saveArticleContainers2AndArticles2(ImportController.java:119)	at controllers.ImportController.saveArticleContainers2AndArticles2(ImportController.java:116)	at controllers.ImportController.importGermanLaws(ImportController.java:100)	at undefined.Routes$$anonfun$routes$1$$anonfun$applyOrElse$47$$anonfun$apply$47.apply(routes_routing.scala:1060)	at undefined.Routes$$anonfun$routes$1$$anonfun$applyOrElse$47$$anonfun$apply$47.apply(routes_routing.scala:1060)	at play.core.Router$HandlerInvokerFactory$$anon$4.resultCall(Router.scala:264)	at play.core.Router$HandlerInvokerFactory$JavaActionInvokerFactory$$anon$15$$anon$1.invocation(Router.scala:255)	at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:55)	at play.GlobalSettings$1.call(GlobalSettings.java:67)	at play.core.j.JavaAction$$anonfun$11.apply(JavaAction.scala:82)	at play.core.j.JavaAction$$anonfun$11.apply(JavaAction.scala:82)	at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)	at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)	at play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:40)	at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:46)	at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:32)	at scala.concurrent.impl.Future$.apply(Future.scala:31)	at scala.concurrent.Future$.apply(Future.scala:485)	at play.core.j.JavaAction$class.apply(JavaAction.scala:82)	at play.core.Router$HandlerInvokerFactory$JavaActionInvokerFactory$$anon$15$$anon$1.apply(Router.scala:252)	at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:130)	at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:130)	at play.utils.Threads$.withContextClassLoader(Threads.scala:21)	at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:129)	at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:128)	at scala.Option.map(Option.scala:145)	at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:128)	at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:121)	at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:483)	at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:483)	at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:519)	at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:519)	at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$14.apply(Iteratee.scala:496)	at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$14.apply(Iteratee.scala:496)	at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)	at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)