PDA

View Full Version : filter of exceptions are ignered.


Dirceu Teixeira
14-Aug-2008, 05:06 PM
Hi,

I have a set defined of filter of exceptions in my eurekalog, but, these
filter aren't respected, they are captured and registered in the file "elf"
and sent for me by e-mail.

why this is happening, these exceptions should not be ignored ?.

see my settings in this image.

tks.
Dirceu Teixeira.

admin
18-Aug-2008, 02:25 PM
Hi,

this is very strange.

Do you use the last 6.0.15 version?

If it's so then can you create and send to me a little source demo able to reproduce it, please?

marc@salama.fr
23-Sep-2008, 04:10 PM
Hello,
I have the same problem with version 6.0.16.
I set a filter for einvalidoperation handler (none) and still have messages and elf
with einvalidoperation.

Thanks
MS

admin
30-Sep-2008, 05:50 PM
Hi to all,

I have make some tests on the last version and all seems to works fine.

I think to absolutely need a little source demo able to reproduce this strange issue to can help you.

Can you create and send it to me, please? :)

Dirceu Teixeira
22-Oct-2008, 08:45 PM
is possible recompile the eurekalog ?,
with can I this ?

--

[]'s
Dirceu Teixeira



"admin" <support@eurekalog.com> escreveu na mensagem
news:f125cf759b490c60109bd51e9a2724bf@nntp-gateway.com...
|
| Hi to all,
|
| I have make some tests on the last version and all seems to works fine.
|
| I think to absolutely need a little source demo able to reproduce this
strange issue to can help you.
|
| Can you create and send it to me, please? :)
|
|
|
| --
| admin
|
| Best regards...
|
| Fabio Dell'Aria.
|
| ------------------------------------------------------------------------
| admin's Profile: http://news.eurekalog.com/member.php?userid=1
| View this thread: http://news.eurekalog.com/showthread.php?t=2071
|

Dirceu Teixeira
23-Oct-2008, 05:50 PM
Hi, admin.

I believe has discovered the becouse filter of exceptions aren't respected
and for that can I confirm this, I need re-complile the Eurekalog, how do I
do.
--

[]'s
Dirceu Teixeira



"admin" <support@eurekalog.com> escreveu na mensagem
news:f125cf759b490c60109bd51e9a2724bf@nntp-gateway.com...
|
| Hi to all,
|
| I have make some tests on the last version and all seems to works fine.
|
| I think to absolutely need a little source demo able to reproduce this
strange issue to can help you.
|
| Can you create and send it to me, please? :)
|
|
|
| --
| admin
|
| Best regards...
|
| Fabio Dell'Aria.
|
| ------------------------------------------------------------------------
| admin's Profile: http://news.eurekalog.com/member.php?userid=1
| View this thread: http://news.eurekalog.com/showthread.php?t=2071
|

Dirceu Teixeira
28-Oct-2008, 01:20 PM
I thought that you were interested in solving this problem, but I think not.
--

[]'s
Dirceu Teixeira.

admin
28-Oct-2008, 01:36 PM
Hi Dirceu,

why do you thin this? :(

I'm sorry for my answer delay but we are working on some big news! ;)

To recompile EurekaLog see here:
http://www.eurekalog.com/docs/recompile.html

Dirceu Teixeira
29-Oct-2008, 11:30 AM
Hi, Admin.

Thanks for information recompiling for the EurekaLog, and I apologize for
being harsh in my words, but was because we're having several problems with
this failure of the filter exception that we found in version 6.0.14 and
continues until now in version 6.0.17, but we are trying to help him,
searching for where the problem might be, we have a slight suspicion and we
want to confirm it before reporting for to you.

--

[]'s
Dirceu Teixeira



"admin" <support@eurekalog.com> escreveu na mensagem
news:318c05de500b4849eda411c9c4ef4d49@nntp-gateway.com...
|
| Hi Dirceu,
|
| why do you thin this? :(
|
| I'm sorry for my answer delay but we are working on some bug news! ;)
|
| To recompile EurekaLog see here:
| http://www.eurekalog.com/docs/recompile.html
|
|
|
| --
| admin
|
| Best regards...
|
| Fabio Dell'Aria.
|
| ------------------------------------------------------------------------
| admin's Profile: http://news.eurekalog.com/member.php?userid=1
| View this thread: http://news.eurekalog.com/showthread.php?t=2071
|

admin
31-Oct-2008, 05:55 PM
Hi,

OK, I'm waiting for your feedback! ;)

Dirceu Teixeira
03-Nov-2008, 10:55 AM
I'm still studying the code of EurekaLog, but at first I thought that the
problem was on the list of items in the combobox filter exceptions.

He does not have the exceptions that I need, EurekaLog filters only those
exceptions that are on this list, the exceptions that are outside this list
are not filtered, the exceptions that I showed in my first post are
exceptions exist in INDY and other components.

--

[]'s
Dirceu Teixeira



"admin" <support@eurekalog.com> escreveu na mensagem
news:e3338e15ed2159865319b5330748650f@nntp-gateway.com...
|
| Hi,
|
| OK, I'm waiting for your feedback! ;)
|
|
|
| --
| admin
|
| Best regards...
|
| Fabio Dell'Aria.
|
| ------------------------------------------------------------------------
| admin's Profile: http://news.eurekalog.com/member.php?userid=1
| View this thread: http://news.eurekalog.com/showthread.php?t=2071
|

admin
05-Nov-2008, 09:51 AM
Hi Dirceu,

but you can add your custom exceptions in the exception field.

Dirceu Teixeira
14-Nov-2008, 02:35 PM
Hi Admin,

"but you can add your custom exceptions in the exception field."
How do I do this, remember that in my first post, I had already the filter
of exceptions configurated.

but, for lack of time and deadline to deliver our product, I look up to
because the EurekaLog not respect the filters of exceptions that have been
identified.

then returned my EurekaLog to version 6.0.12, and also noticed that the same
is true in this version, the filters of exceptions are not respected, but in
this case the e-mail is not being sent I will continue to use this version
until the problem is finally resolved.

--

[]'s
Dirceu Teixeira



"admin" <support@eurekalog.com> escreveu na mensagem
news:8999ff9352069fd86328b3c793096145@nntp-gateway.com...
|
| Hi Dirceu,
|
| but you can add your custom exceptions in the exception field.
|
|
|
| --
| admin
|
| Best regards...
|
| Fabio Dell'Aria.
|
| ------------------------------------------------------------------------
| admin's Profile: http://news.eurekalog.com/member.php?userid=1
| View this thread: http://news.eurekalog.com/showthread.php?t=2071
|

admin
25-Nov-2008, 09:52 AM
Hi Dirceu,

I continue to cannot reproduce your issue.

But I can try to tell you some suggestion.

Is possible some of your custom exception are defined as


TMyException = Exception;


instead of


TMyException = Class(Exception);

Dirceu Teixeira
25-Nov-2008, 12:26 PM
Hi, Admin.

Let me try to explain what we understand.
when we tested the filter exception, using only exceptions exist in the
combobox "ExceptionClassEdit"

All worked perfectly, but when we created a filter entering a class of
exception that is not on that list, the EurekaLog simply ignores the filter
created by us.

see below, the list of classes of exceptions that we need filter, this is
the same list in this image from my first message on this topic.

ESocketConnectionError,
EOleSysError,
ESocketError,
EInvalidGridOperation,
EIdTerminateThreadTimeout,
EIdClosedSocket,
EIdConnClosedGracefully,
EEurekaSocketError.

As you can see, are exceptions that do not appear on the list of items to
filter the EurekaLog exceptions, "ExceptionClassEdit."
--

[]'s
Dirceu Teixeira



"admin" <support@eurekalog.com> escreveu na mensagem
news:adb261362eb543077094075aa9254b68@nntp-gateway.com...
|
| Hi Dirceu,
|
| I continue to cannot reproduce your issue.
|
| But I can try to tell you some suggestion.
|
| Is possible some of your custom exception are defined as
|
|
| Code:
| ---------
|
| TMyException = Exception;
|
| ---------
| instead of
|
|
| Code:
| ---------
|
| TMyException = Class(Exception);
|
| ---------
|
|
|
|
| --
| admin
|
| Best regards...
|
| Fabio Dell'Aria.
|
| ------------------------------------------------------------------------
| admin's Profile: http://news.eurekalog.com/member.php?userid=1
| View this thread: http://news.eurekalog.com/showthread.php?t=2071
|

admin
26-Nov-2008, 09:47 AM
Hi Dirceu,

excuse me if I continue to ask you a little source demo, but I cannot reproduce this issue on my PC.

I have just tried to recreate your filters but all seems to works fine.

I want really solve this long issue to you but I need to can reproduce it.

Can you help me sending a little demo, please?

Dirceu Teixeira
15-Dec-2008, 05:58 PM
Hello Admin.

Sorry, but the mistake was mine, I was with the "catch handled exceptions" checked, but after clear this option, the error does not happen anymore.


Good party and happy new year.

--

[]'s
Dirceu Teixeira



"admin" <support@eurekalog.com> escreveu na mensagem news:274829dc78e81f14a90b9c7cef0edb06@nntp-gateway.com...
|
| Hi,
|
| OK, I'm waiting for your feedback! ;)
|
|
|
| --
| admin
|
| Best regards...
|
| Fabio Dell'Aria.
|
| ------------------------------------------------------------------------
| admin's Profile: http://news.eurekalog.com/member.php?userid=1
| View this thread: http://news.eurekalog.com/showthread.php?t=2071
|

admin
15-Dec-2008, 06:02 PM
Hi Dirceu,

OK no problem.

Merry Xmas and happy new year to you and family too! :)

piotr.rezmer@ens.net.pl
30-Jan-2010, 12:10 PM
Hello,

I'm trying to avoid logging EidConnClosedGracefully exception. Here's the exception in ELF file:

Exception:
-----------------------------------------------------
2.1 Date : Sat, 30 Jan 2010 12:54:50 +0100
2.2 Address : 006899BB
2.3 Module Name : CTIServer.exe
2.4 Module Version: 1.8.21.233
2.5 Type : EIdConnClosedGracefully
2.6 Message : Connection Closed Gracefully.
2.7 ID : 0BC2
2.8 Count : 1
2.9 Status : New
2.10 Note :

Here's filter configuration:
http://img43.imageshack.us/img43/6251/elfilters.png
Here's options tab:
http://img687.imageshack.us/img687/3237/eloptions.png

Why the exception is logged in the file?

mikeho
01-Feb-2010, 01:39 AM
You have it listed twice in the filters. Get rid of the first one.

Alex
01-Feb-2010, 06:27 AM
Hi,

mikeho is correct: you have two different filters for EIdConnClosedGracefully, which are in conflict with each other.

Remove one of them.

piotr.rezmer@ens.net.pl
01-Feb-2010, 12:17 PM
Hi,

Before sending my post, I tested application with only one filter for Eurekalog; the exception was logged in file anyway.

Alex
01-Feb-2010, 12:37 PM
Hi,

Can you send us a demo to illustrate this issue?

piotr.rezmer@ens.net.pl
12-Feb-2010, 01:24 PM
Hi,

It seems that I misunderstood the filter concept. I made a small test program, when I create exception filter is used (for example: I can see modified message). But it looks like it's not possible to avoid storing filtered exception in ELF file.
Am I right? If yes, wouldn't you consider adding another option to avoid storing exception in ELF file?

Alex
12-Feb-2010, 03:46 PM
Hi,

You can block different actions by using ExceptionActionNotify event: http://eurekalog.com/docs/exceptionactionnotifyhowto.html

But it looks like it's not possible to avoid storing filtered exception in ELF file.
That is not true. If you set handler to RTL - exception will not be logged (actually, EurekaLog will not be activated for this exception at all).

piotr.rezmer@ens.net.pl
12-Feb-2010, 04:04 PM
That is not true. If you set handler to RTL - exception will not be logged (actually, EurekaLog will not be activated for this exception at all).
You're right. Setting the handler to RTL or even None, will hide the exception.

I think, it would be good to emphasize in documentation, that adding exception filter with RTL handler will hide the exception. I couldn't figure it out explicitly from chm file :)

Alex
13-Feb-2010, 04:22 PM
Hi,

Thanks for the feedback.

"RTL" means that exception will be handled by RTL, which actually like EurekaLog wasn't installed. I.e. all exceptions are handled by Application.HandleException.
Since standart exception handling in Delphi's applications never write any log - it's quite logical, that setting handler to RTL will not produce log either. Apart from missed log this also have other implications: no call stack and no extended error dialog, no event handlers calling, etc, etc.
In other words: by setting handler to RTL you can expect the usual "old-school behaviour". Nothing more, nothing less.

The same logic applies to None handler - it's like exception is ignored even by Application.HandleException.