TableViewer - Content/Label Provider - Pop-Up Error? [message #467226] |
Thu, 26 January 2006 18:19 |
Eclipse User |
|
|
|
Originally posted by: d.buckley.epcsolutions.com
When posting information to a TableViewer, I sometimes get a pop-up error
"An Error has occured. Please see the log for more information" or
something very similar. I am unable to find this log file, or permanently
repeat the error. It does not go to the console error-log. The pop-up
error is not something that we've programmed in, so I believe it is coming
from SWT. The information does not get shown on the associated Table, but
I believe the Table has the information, as getting the .getItemCount()
returns the number of items that should be posted.
I usually do not get this pop-up when running in Eclipse, but when in a
stand-alone setup.
Any idea where the log information is going?
I've seen similar pop-ups when the Content/Label Provider is not setup
correctly, but they will always occur in Eclipse when this is the case.
|
|
|
Re: TableViewer - Content/Label Provider - Pop-Up Error? [message #467230 is a reply to message #467226] |
Thu, 26 January 2006 18:31 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
The log file is in your workspace/.metadata/.log file. Note the leading
"." to the file/directory names.
Daniel Buckley wrote:
> When posting information to a TableViewer, I sometimes get a pop-up
> error "An Error has occured. Please see the log for more information"
> or something very similar. I am unable to find this log file, or
> permanently repeat the error. It does not go to the console error-log.
> The pop-up error is not something that we've programmed in, so I believe
> it is coming from SWT. The information does not get shown on the
> associated Table, but I believe the Table has the information, as
> getting the .getItemCount() returns the number of items that should be
> posted.
>
> I usually do not get this pop-up when running in Eclipse, but when in a
> stand-alone setup.
>
> Any idea where the log information is going?
> I've seen similar pop-ups when the Content/Label Provider is not setup
> correctly, but they will always occur in Eclipse when this is the case.
>
>
>
>
--
Thanks,
Rich Kulp
|
|
|
|
Pop-Up Error in Executable Jar? [message #467291 is a reply to message #467255] |
Fri, 27 January 2006 20:13 |
Eclipse User |
|
|
|
Originally posted by: d.buckley.epcsolutions.com
I was able to find the log file. I believe I had found this log file
before, but hadn't looked at it in a while.
This problem occurs when I run this program from an executable jar file,
so the log file structure does not exist. It still says that there has
been an error, and to examine the log file. From a standalone situation,
where would this error log then be placed?
My main issue is that I can't repeat it when I want to, and it only shows
up when I don't want it to. I'm sure it's something in the code, but I
can't figure out what it is yet, and woudl love to have the log file. A
try-catch block around this code section does not return any runtime
exceptions.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04900 seconds