Error Explained : ‘java.lang.NullPointerException’
3 January, 2013
If you have been using Yellowfin for quite some time, it's most likely you have encounted a NullPointer exception error (see below), or at least heard of one before.
So why are these the most common errors, and should you be worried?

Firstly it's important to understand, you may see some of these errors in your log files, though no errors on your actual screen, and things seem to function normally, %99 of the time, these can be ignored.
The error itself simply means, a null value has been passed to the application, and it was not expected, or cannot be handled.
You could think of it like going to a butchers and handing him a book to pay for your meat. He wouldn't be too happy, and would most likely throw it back at you.
Or if you're lucky, he might display an error and simply ask you to leave and come back in again.
Most of the time these errors are not critical, and do not cause any big issues, in particular if you see these errors in the log files only (and nothing on the actual screen).
As you can imagine, every client has their own item, created against their own database, in their own environment, so sometimes we get things we are not sure what to do with, though since we don't use them in the actual report, it won't affect anything.
If it's not critical the report will actually load correctly, and the error will be displayed in the log only, you wouldn't even know about the error without looking in the logs.
However, there are cases when this error will be displayed along with a paragraph of text (a stack trace) which usually means you have found a defect. It will usually log you out also and ask if you would like to email the error across to support.
In this case it's recommended you email this across (or simply copy & paste) with the additional information;
- Does this only occur on a specific view/report/dashboard etc?
- What this item working prior to a modification/update ? If so, what changes were made?
- Get the following log files (Yellowfin.log , JDBC.log, catalina.out, stdout/stderr logs) located under YellowfinappserverLOGS
Send all info to [color="#2C36EA">support@yellowfin.bi[/color] so your issue can be investigated and we can work towards a resolution.
Regards,
Yellowfin Support