java.lang.NullPointerException: null

JIRA | Etienne Morency-Bachand [X] | 3 years ago
  1. 0

    2013-12-03 09:37:04,201 - ERROR - org.obiba.opal.web.magma.provider.RuntimeExceptionMapper - Unhandled exception java.lang.NullPointerException: null at org.obiba.magma.datasource.mongodb.converter.VariableConverter.getFieldAsString(VariableConverter.java:95) ~[magma-datasource-mongodb-1.8-20131202.203847-81.jar:1.8-SNAPSHOT] at org.obiba.magma.datasource.mongodb.converter.VariableConverter.unmarshall(VariableConverter.java:42) ~[magma-datasource-mongodb-1.8-20131202.203847-81.jar:1.8-SNAPSHOT] at org.obiba.magma.datasource.mongodb.MongoDBVariableValueSource.getVariable(MongoDBVariableValueSource.java:54) ~[magma-datasource-mongodb-1.8-20131202.203847-81.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTable$3.apply(AbstractValueTable.java:135) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTable$3.apply(AbstractValueTable.java:132) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647) ~[guava-15.0.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-15.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-15.0.jar:na] at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:153) ~[guava-15.0.jar:na] at com.google.common.collect.Iterators.find(Iterators.java:712) ~[guava-15.0.jar:na] at com.google.common.collect.Iterables.find(Iterables.java:643) ~[guava-15.0.jar:na] at org.obiba.magma.support.AbstractValueTable.getVariableValueSource(AbstractValueTable.java:132) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTable.getVariable(AbstractValueTable.java:111) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTableWrapper.getVariable(AbstractValueTableWrapper.java:72) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.magma.security.SecuredValueTable.getVariable(SecuredValueTable.java:41) ~[magma-security-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.opal.web.magma.CompareResourceImpl.getConflicts(CompareResourceImpl.java:224) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.CompareResourceImpl.createTableCompareDto(CompareResourceImpl.java:155) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.CompareResourceImpl.createTableCompareDto(CompareResourceImpl.java:131) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.CompareResourceImpl.createDatasourceCompareDto(CompareResourceImpl.java:109) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.CompareResourceImpl.compare(CompareResourceImpl.java:79) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at com.sun.proxy.$Proxy114.compare(Unknown Source) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:280) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:234) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:140) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) [resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179) [resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:na] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:73) ~[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.OpalVersionFilter.doFilterInternal(OpalVersionFilter.java:39) ~[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.Server.handle(Server.java:363) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635) ~[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) ~[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) ~[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) ~[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) ~[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) ~[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Exception in thread "Index Synchronization Consumer org.obiba.opal.search.IndexSynchronizationManager$SyncConsumer@347a2ae" org.elasticsearch.ElasticSearchIllegalArgumentException: Can't specify parent if no parent field has been configured at org.elasticsearch.action.index.IndexRequest.process(IndexRequest.java:597) at org.elasticsearch.action.bulk.TransportBulkAction.executeBulk(TransportBulkAction.java:165) at org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:140) at org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:63) at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:63) at org.elasticsearch.client.node.NodeClient.execute(NodeClient.java:92) at org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:149) at org.elasticsearch.action.bulk.BulkRequestBuilder.doExecute(BulkRequestBuilder.java:149) at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85) at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59) at org.obiba.opal.search.es.EsIndexManager$EsIndexer.sendAndCheck(EsIndexManager.java:195) at org.obiba.opal.search.es.EsValuesIndexManager$Indexer$ValuesReaderCallback.onComplete(EsValuesIndexManager.java:174) at org.obiba.magma.concurrent.ConcurrentValueTableReader.read(ConcurrentValueTableReader.java:75) at org.obiba.opal.search.es.EsValuesIndexManager$Indexer.index(EsValuesIndexManager.java:97) at org.obiba.opal.search.es.EsIndexManager$EsIndexer.run(EsIndexManager.java:190) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:352) at org.obiba.opal.search.IndexSynchronizationManager$SyncConsumer.consume(IndexSynchronizationManager.java:228) at org.obiba.opal.search.IndexSynchronizationManager$SyncConsumer.run(IndexSynchronizationManager.java:214) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.lang.Thread.run(Thread.java:724)

    JIRA | 3 years ago | Etienne Morency-Bachand [X]
    java.lang.NullPointerException: null
  2. 0

    2013-12-03 09:37:04,201 - ERROR - org.obiba.opal.web.magma.provider.RuntimeExceptionMapper - Unhandled exception java.lang.NullPointerException: null at org.obiba.magma.datasource.mongodb.converter.VariableConverter.getFieldAsString(VariableConverter.java:95) ~[magma-datasource-mongodb-1.8-20131202.203847-81.jar:1.8-SNAPSHOT] at org.obiba.magma.datasource.mongodb.converter.VariableConverter.unmarshall(VariableConverter.java:42) ~[magma-datasource-mongodb-1.8-20131202.203847-81.jar:1.8-SNAPSHOT] at org.obiba.magma.datasource.mongodb.MongoDBVariableValueSource.getVariable(MongoDBVariableValueSource.java:54) ~[magma-datasource-mongodb-1.8-20131202.203847-81.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTable$3.apply(AbstractValueTable.java:135) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTable$3.apply(AbstractValueTable.java:132) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647) ~[guava-15.0.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-15.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-15.0.jar:na] at com.google.common.collect.AbstractIterator.next(AbstractIterator.java:153) ~[guava-15.0.jar:na] at com.google.common.collect.Iterators.find(Iterators.java:712) ~[guava-15.0.jar:na] at com.google.common.collect.Iterables.find(Iterables.java:643) ~[guava-15.0.jar:na] at org.obiba.magma.support.AbstractValueTable.getVariableValueSource(AbstractValueTable.java:132) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTable.getVariable(AbstractValueTable.java:111) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.magma.support.AbstractValueTableWrapper.getVariable(AbstractValueTableWrapper.java:72) ~[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.magma.security.SecuredValueTable.getVariable(SecuredValueTable.java:41) ~[magma-security-1.8-20131202.203847-87.jar:1.8-SNAPSHOT] at org.obiba.opal.web.magma.CompareResourceImpl.getConflicts(CompareResourceImpl.java:224) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.CompareResourceImpl.createTableCompareDto(CompareResourceImpl.java:155) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.CompareResourceImpl.createTableCompareDto(CompareResourceImpl.java:131) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.CompareResourceImpl.createDatasourceCompareDto(CompareResourceImpl.java:109) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at org.obiba.opal.web.magma.CompareResourceImpl.compare(CompareResourceImpl.java:79) ~[opal-core-ws-2.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) ~[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) ~[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE] at com.sun.proxy.$Proxy114.compare(Unknown Source) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:280) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:234) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:140) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) [resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179) [resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) ~[resteasy-jaxrs-3.0.5.Final.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:na] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:73) ~[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.obiba.opal.server.httpd.OpalVersionFilter.doFilterInternal(OpalVersionFilter.java:39) ~[opal-httpd-2.0-SNAPSHOT.jar:na] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) ~[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.Server.handle(Server.java:363) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635) ~[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) ~[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) ~[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) ~[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) ~[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) ~[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) ~[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106] at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] Exception in thread "Index Synchronization Consumer org.obiba.opal.search.IndexSynchronizationManager$SyncConsumer@347a2ae" org.elasticsearch.ElasticSearchIllegalArgumentException: Can't specify parent if no parent field has been configured at org.elasticsearch.action.index.IndexRequest.process(IndexRequest.java:597) at org.elasticsearch.action.bulk.TransportBulkAction.executeBulk(TransportBulkAction.java:165) at org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:140) at org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:63) at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:63) at org.elasticsearch.client.node.NodeClient.execute(NodeClient.java:92) at org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:149) at org.elasticsearch.action.bulk.BulkRequestBuilder.doExecute(BulkRequestBuilder.java:149) at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85) at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:59) at org.obiba.opal.search.es.EsIndexManager$EsIndexer.sendAndCheck(EsIndexManager.java:195) at org.obiba.opal.search.es.EsValuesIndexManager$Indexer$ValuesReaderCallback.onComplete(EsValuesIndexManager.java:174) at org.obiba.magma.concurrent.ConcurrentValueTableReader.read(ConcurrentValueTableReader.java:75) at org.obiba.opal.search.es.EsValuesIndexManager$Indexer.index(EsValuesIndexManager.java:97) at org.obiba.opal.search.es.EsIndexManager$EsIndexer.run(EsIndexManager.java:190) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:352) at org.obiba.opal.search.IndexSynchronizationManager$SyncConsumer.consume(IndexSynchronizationManager.java:228) at org.obiba.opal.search.IndexSynchronizationManager$SyncConsumer.run(IndexSynchronizationManager.java:214) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.lang.Thread.run(Thread.java:724)

    JIRA | 3 years ago | Etienne Morency-Bachand [X]
    java.lang.NullPointerException: null
  3. 0

    HQL Exception (org.hibernate.dialect.Dialect$3)

    Stack Overflow | 4 years ago | Hari
    java.lang.NullPointerException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error loading model properties in JPA on play 2.0.3

    Stack Overflow | 4 years ago | Chappies
    java.lang.NullPointerException: null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.obiba.magma.datasource.mongodb.converter.VariableConverter.getFieldAsString()
    2. org.obiba.magma
      AbstractValueTable$3.apply
      1. org.obiba.magma.datasource.mongodb.converter.VariableConverter.getFieldAsString(VariableConverter.java:95)[magma-datasource-mongodb-1.8-20131202.203847-81.jar:1.8-SNAPSHOT]
      2. org.obiba.magma.datasource.mongodb.converter.VariableConverter.unmarshall(VariableConverter.java:42)[magma-datasource-mongodb-1.8-20131202.203847-81.jar:1.8-SNAPSHOT]
      3. org.obiba.magma.datasource.mongodb.MongoDBVariableValueSource.getVariable(MongoDBVariableValueSource.java:54)[magma-datasource-mongodb-1.8-20131202.203847-81.jar:1.8-SNAPSHOT]
      4. org.obiba.magma.support.AbstractValueTable$3.apply(AbstractValueTable.java:135)[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT]
      5. org.obiba.magma.support.AbstractValueTable$3.apply(AbstractValueTable.java:132)[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT]
      5 frames
    3. Guava
      Iterables.find
      1. com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)[guava-15.0.jar:na]
      2. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-15.0.jar:na]
      3. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-15.0.jar:na]
      4. com.google.common.collect.AbstractIterator.next(AbstractIterator.java:153)[guava-15.0.jar:na]
      5. com.google.common.collect.Iterators.find(Iterators.java:712)[guava-15.0.jar:na]
      6. com.google.common.collect.Iterables.find(Iterables.java:643)[guava-15.0.jar:na]
      6 frames
    4. org.obiba.magma
      SecuredValueTable.getVariable
      1. org.obiba.magma.support.AbstractValueTable.getVariableValueSource(AbstractValueTable.java:132)[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT]
      2. org.obiba.magma.support.AbstractValueTable.getVariable(AbstractValueTable.java:111)[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT]
      3. org.obiba.magma.support.AbstractValueTableWrapper.getVariable(AbstractValueTableWrapper.java:72)[magma-api-1.8-20131202.203847-87.jar:1.8-SNAPSHOT]
      4. org.obiba.magma.security.SecuredValueTable.getVariable(SecuredValueTable.java:41)[magma-security-1.8-20131202.203847-87.jar:1.8-SNAPSHOT]
      4 frames
    5. org.obiba.opal
      CompareResourceImpl.compare
      1. org.obiba.opal.web.magma.CompareResourceImpl.getConflicts(CompareResourceImpl.java:224)[opal-core-ws-2.0-SNAPSHOT.jar:na]
      2. org.obiba.opal.web.magma.CompareResourceImpl.createTableCompareDto(CompareResourceImpl.java:155)[opal-core-ws-2.0-SNAPSHOT.jar:na]
      3. org.obiba.opal.web.magma.CompareResourceImpl.createTableCompareDto(CompareResourceImpl.java:131)[opal-core-ws-2.0-SNAPSHOT.jar:na]
      4. org.obiba.opal.web.magma.CompareResourceImpl.createDatasourceCompareDto(CompareResourceImpl.java:109)[opal-core-ws-2.0-SNAPSHOT.jar:na]
      5. org.obiba.opal.web.magma.CompareResourceImpl.compare(CompareResourceImpl.java:79)[opal-core-ws-2.0-SNAPSHOT.jar:na]
      5 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_25]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_25]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_25]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_25]
      4 frames
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3 frames
    8. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)[spring-tx-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3 frames
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      2 frames
    10. com.sun.proxy
      $Proxy114.compare
      1. com.sun.proxy.$Proxy114.compare(Unknown Source)[na:na]
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_25]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_25]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_25]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_25]
      4 frames
    12. RESTEasy JAX-RS Implementation
      HttpServletDispatcher.service
      1. org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137)[resteasy-jaxrs-3.0.5.Final.jar:na]
      2. org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:280)[resteasy-jaxrs-3.0.5.Final.jar:na]
      3. org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:234)[resteasy-jaxrs-3.0.5.Final.jar:na]
      4. org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:140)[resteasy-jaxrs-3.0.5.Final.jar:na]
      5. org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103)[resteasy-jaxrs-3.0.5.Final.jar:na]
      6. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)[resteasy-jaxrs-3.0.5.Final.jar:na]
      7. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)[resteasy-jaxrs-3.0.5.Final.jar:na]
      8. org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)[resteasy-jaxrs-3.0.5.Final.jar:na]
      9. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)[resteasy-jaxrs-3.0.5.Final.jar:na]
      10. org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)[resteasy-jaxrs-3.0.5.Final.jar:na]
      10 frames
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)[javax.servlet-2.5.0.v201103041518.jar:na]
      1 frame
    14. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106]
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106]
      2 frames
    15. org.obiba.opal
      AuthenticationFilter.doFilterInternal
      1. org.obiba.opal.server.httpd.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:73)[opal-httpd-2.0-SNAPSHOT.jar:na]
      1 frame
    16. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      1 frame
    17. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106]
      1 frame
    18. org.obiba.opal
      OpalVersionFilter.doFilterInternal
      1. org.obiba.opal.server.httpd.OpalVersionFilter.doFilterInternal(OpalVersionFilter.java:39)[opal-httpd-2.0-SNAPSHOT.jar:na]
      1 frame
    19. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      1 frame
    20. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106]
      3. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      4. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)[jetty-servlet-7.6.8.v20121106.jar:7.6.8.v20121106]
      5. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      7. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      8. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      9. org.eclipse.jetty.server.Server.handle(Server.java:363)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      10. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      11. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      12. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      13. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106]
      14. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[jetty-http-7.6.8.v20121106.jar:7.6.8.v20121106]
      15. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[jetty-server-7.6.8.v20121106.jar:7.6.8.v20121106]
      15 frames
    21. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106]
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[jetty-io-7.6.8.v20121106.jar:7.6.8.v20121106]
      2 frames
    22. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[jetty-util-7.6.8.v20121106.jar:7.6.8.v20121106]
      2 frames
    23. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)[na:1.7.0_25]
      1 frame