java.lang.NullPointerException

Exception #2517018

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web1

Stack trace

  • java.lang.NullPointerException at org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs.lambda$getConstantArgs$0(FunctionArgs.java:54)[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)[?:1.8.0_91] at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1683)[?:1.8.0_91] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[?:1.8.0_91] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[?:1.8.0_91] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[?:1.8.0_91] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[?:1.8.0_91] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[?:1.8.0_91] at org.graylog.plugins.pipelineprocessor.ast.functions.FunctionArgs.getConstantArgs(FunctionArgs.java:55)[?:?] at org.graylog.plugins.pipelineprocessor.ast.functions.Function.preprocessArgs(Function.java:48)[?:?] at org.graylog.plugins.pipelineprocessor.ast.expressions.FunctionExpression.<init>(FunctionExpression.java:40)[?:?] at org.graylog.plugins.pipelineprocessor.parser.PipelineRuleParser$RuleAstBuilder.exitFunctionCall(PipelineRuleParser.java:356)[?:?] at org.graylog.plugins.pipelineprocessor.parser.RuleLangParser$FunctionCallContext.exitRule(RuleLangParser.java:1323)[?:?] at org.antlr.v4.runtime.tree.ParseTreeWalker.exitRule(ParseTreeWalker.java:71)[?:?] at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:54)[?:?] at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)[?:?] at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)[?:?] at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)[?:?] at org.graylog.plugins.pipelineprocessor.parser.PipelineRuleParser.parseRule(PipelineRuleParser.java:131)[?:?] at org.graylog.plugins.pipelineprocessor.rest.RuleResource.parse(RuleResource.java:109)[?:?] at sun.reflect.GeneratedMethodAccessor282.invoke(Unknown Source)[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91] at java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)[graylog2-server-2.1.0-alpha.3-SNAPSHOT-shaded.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_91] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]

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

We couldn't find other users who have seen this exception.