java.lang.NullPointerException

GitHub | henrikjohansen | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.graylog.plugins.pipelineprocessor.ast.functions.Function.preprocessArgs()
  2. org.graylog.plugins
    RuleLangParser$FunctionCallContext.exitRule
    1. org.graylog.plugins.pipelineprocessor.ast.functions.Function.preprocessArgs(Function.java:55)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    2. org.graylog.plugins.pipelineprocessor.ast.expressions.FunctionExpression.<init>(FunctionExpression.java:40)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    3. org.graylog.plugins.pipelineprocessor.parser.PipelineRuleParser$RuleAstBuilder.exitFunctionCall(PipelineRuleParser.java:356)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    4. org.graylog.plugins.pipelineprocessor.parser.RuleLangParser$FunctionCallContext.exitRule(RuleLangParser.java:1323)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    4 frames
  3. ANTLR 4 Runtime
    ParseTreeWalker.walk
    1. org.antlr.v4.runtime.tree.ParseTreeWalker.exitRule(ParseTreeWalker.java:71)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    2. org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:54)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    3. org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    4. org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    5. org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    5 frames
  4. org.graylog.plugins
    RuleResource.createFromParser
    1. org.graylog.plugins.pipelineprocessor.parser.PipelineRuleParser.parseRule(PipelineRuleParser.java:131)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    2. org.graylog.plugins.pipelineprocessor.rest.RuleResource.createFromParser(RuleResource.java:84)[graylog-plugin-pipeline-processor-1.0.0-beta.2.jar:?]
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91]
    4 frames
  6. jersey-core-server
    ServerRuntime$2.run
    1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[graylog.jar:?]
    2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[graylog.jar:?]
    3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[graylog.jar:?]
    4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[graylog.jar:?]
    5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[graylog.jar:?]
    6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[graylog.jar:?]
    7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[graylog.jar:?]
    8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[graylog.jar:?]
    9. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[graylog.jar:?]
    9 frames
  7. Jersey Core
    RequestScope.runInScope
    1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[graylog.jar:?]
    2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[graylog.jar:?]
    3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)[graylog.jar:?]
    4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)[graylog.jar:?]
    5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)[graylog.jar:?]
    6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[graylog.jar:?]
    6 frames
  8. jersey-core-server
    ApplicationHandler.handle
    1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[graylog.jar:?]
    2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[graylog.jar:?]
    2 frames
  9. jersey-container-grizzly2-http
    GrizzlyHttpContainer.service
    1. org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)[graylog.jar:?]
    1 frame
  10. Grizzly Server
    HttpHandler$1.run
    1. org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)[graylog.jar:?]
    1 frame
  11. Metrics Core
    InstrumentedExecutorService$InstrumentedRunnable.run
    1. com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)[graylog.jar:?]
    1 frame
  12. 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