Closed jacubillo closed 9 years ago
this sounds like a timeout issue, where the resulting object isn't checked for being non-null.
should be a transient problem, but it would be good to inspect the code for this pattern.
I found out the issue was solved by adding the hostname to /etc/hosts. Im not sure why but that allowed me to use Graylog normaly. Anyways, thnkz for;the help! Regards,
juan On Jul 3, 2014 3:46 AM, "Kay Roepke" notifications@github.com wrote:
this sounds like a timeout issue, where the resulting object isn't checked for being non-null.
should be a transient problem, but it would be good to inspect the code for this pattern.
— Reply to this email directly or view it on GitHub https://github.com/Graylog2/graylog2-web-interface/issues/820#issuecomment-47886797 .
This really would need placeholder objects, but unfortunately the following code kind of expects actual objects, that have things like correct timezones and various strings filled out. The resulting pages would be basically useless.
Rather I would like to display a "timeout occurred" page, instead of having half-correct information on the page. Basically whenver an API request ran into a timeout we would display that page. Needs a little discussion.
As the user posting this issue was able to solve the problem on its own and we are looking for a more "general" solution to things like this, I am moving this back to 0.21.1 for now.
This issue has fixed ? Could you Please share the solutions i have added in /etc/hosts but still its not working ..
Trying a best-effort fall-back right now to prevent the NullPointerException. We're probably going to replace the REST client implementation in the foreseeable future with a more robust implementation.
Freshly installed Graylog. When trying to open /system/inputs this error is received: "Oops, an error occured This exception has been logged with id 6ijohkiac. "
/var/log/graylog2-web.log show this:
Is this a graylog2-web bug? or a Java issue that may be solved?