Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.2.4][AIX] java.lang.NullPointerException after run #28

Open
pdanysz opened this issue Mar 9, 2017 · 0 comments
Open

[0.2.4][AIX] java.lang.NullPointerException after run #28

pdanysz opened this issue Mar 9, 2017 · 0 comments

Comments

@pdanysz
Copy link

pdanysz commented Mar 9, 2017

Hi again,

Now I have problem as topic says.
When I run LSF the Exception is thrown, but I don't know why, no trace, no debug available.

Here are my run:

[aixlab /gitlab/logstash-forwarder-java-0.2.4]# java -jar logstash-forwarder-java-0.2.4.jar -trace -sincedb sincedb.json  -config config.json --debug
2017-03-09 15:36:51,692 DEBUG FileWatcher - Loading saved states
java.lang.NullPointerException
        at info.fetter.logstashforwarder.Event.<init>(Event.java:37)
        at info.fetter.logstashforwarder.Forwarder.main(Forwarder.java:83)

Config:

{
  "network": {
    "servers": [ "logserver:5044" ]
  },

  "files": [
    {
      "paths": [
        "/var/log/sudo.log"
      ]
    }
  ]
}

I manualy create sincedb.json because it won's created at start as you said in my last issue.

[{
   "directory": "/var/log",
   "fileName": "sudo.log",
   "signature": 10,
   "signatureLength": 2,
   "pointer": 1
}]

Can you advice about this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant