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 GitHub by vania-pooh
, 1 year ago
java.lang.NullPointerException
java.lang.NullPointerException: 	at java.util.ArrayList.addAll(ArrayList.java:577)	at org.meridor.perspective.sql.impl.task.strategy.IndexScanStrategy$2.(IndexScanStrategy.java:209)	at org.meridor.perspective.sql.impl.task.strategy.IndexScanStrategy.lambda$foreignKeyJoin$11(IndexScanStrategy.java:207)	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)	at org.meridor.perspective.sql.impl.task.strategy.IndexScanStrategy.foreignKeyJoin(IndexScanStrategy.java:207)	at org.meridor.perspective.sql.impl.task.strategy.IndexScanStrategy.process(IndexScanStrategy.java:56)	at org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.fetchDataFromStrategy(ParentStrategy.java:43)	at org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.fetchData(ParentStrategy.java:36)	at org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.process(ParentStrategy.java:22)	at org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.fetchData(ParentStrategy.java:34)	at org.meridor.perspective.sql.impl.task.strategy.ParentStrategy.process(ParentStrategy.java:22)	at org.meridor.perspective.sql.impl.task.DataSourceTask.processDataSource(DataSourceTask.java:63)	at org.meridor.perspective.sql.impl.task.DataSourceTask.execute(DataSourceTask.java:41)	at org.meridor.perspective.sql.impl.QueryProcessorImpl.executeTasks(QueryProcessorImpl.java:102)	at org.meridor.perspective.sql.impl.QueryProcessorImpl.processQuery(QueryProcessorImpl.java:66)	at org.meridor.perspective.sql.impl.QueryProcessorImpl.access$000(QueryProcessorImpl.java:27)	at org.meridor.perspective.sql.impl.QueryProcessorImpl$1.load(QueryProcessorImpl.java:41)	at org.meridor.perspective.sql.impl.QueryProcessorImpl$1.load(QueryProcessorImpl.java:39)	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542)	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323)	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286)	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)	at com.google.common.cache.LocalCache.get(LocalCache.java:3953)	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)	at org.meridor.perspective.sql.impl.QueryProcessorImpl.process(QueryProcessorImpl.java:50)	at org.meridor.perspective.rest.resources.QueryResource.lambda$query$0(QueryResource.java:45)	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267)	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)	at org.meridor.perspective.rest.resources.QueryResource.query(QueryResource.java:46)	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:816)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1156)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1088)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)	at org.eclipse.jetty.server.Server.handle(Server.java:517)	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)	at java.lang.Thread.run(Thread.java:745)