java.lang.NullPointerException

GitHub | lennartkoopmann | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

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