Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableViewer - Content/Label Provider - Pop-Up Error?
TableViewer - Content/Label Provider - Pop-Up Error? [message #467226] Thu, 26 January 2006 18:19 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: TableViewer - Content/Label Provider - Pop-Up Error? [message #467255 is a reply to message #467230] Fri, 27 January 2006 08:05 Go to previous messageGo to next message
Phill Perryman is currently offline Phill PerrymanFriend
Messages: 214
Registered: July 2009
Senior Member
<br><font size=2 face="sans-serif">I use the -consoleLog launch parameter
which echos the log to the console (thanks go to a previous post for this
one).</font>
Pop-Up Error in Executable Jar? [message #467291 is a reply to message #467255] Fri, 27 January 2006 20:13 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Pop-Up Error in Executable Jar? [message #467473 is a reply to message #467291] Tue, 31 January 2006 19:06 Go to previous message
Dhiresh Patel  is currently offline Dhiresh Patel Friend
Messages: 86
Registered: July 2009
Member
There is also a log file where your application is running

e.g.C:\runtime-EclipseApplication\.metadata\.log

have you looked at that?
Previous Topic:Long running wizard process
Next Topic:Obscured Widget?
Goto Forum:
  


Current Time: Tue Apr 23 11:34:12 GMT 2024

Powered by FUDForum. Page generated in 0.04900 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top