Share

Heritrix: Internet Archive Web Crawler

Tracker: Feature Requests

5 [contrib] Add debugging aid for BDB RuntimeExceptionWrapper - ID: 1211217
Last Update: Comment added ( karl-ia )

If an unexpected Exception occurs in BDB code (eg.
serialization problems), a special
"RuntimeExceptionWrapper" is thrown. Unfortunately,
this hides the initial cause for the exception; hence
the Exception shown in Heritrix alerts is meaningless.

The attached patch sets the initial Exception in the
standard Java-1.4 way using initCause(), providing a
complete stacktrace dump.


Christian


Christian Kohlschütter ( ck-heritrix ) - 2005-05-30 08:46

5

Closed

None

Michael Stack

None

1.6.0

Public


Comments ( 2 )

Date: 2007-03-14 01:42
Sender: karl-ia


This issue is now discussed in the new JIRA tracker at
http://webteam.archive.org/jira/browse/HER-943 -- please add further
comments at that location.


Date: 2005-05-31 19:36
Sender: stack-sfProject Admin

Logged In: YES
user_id=924942

Applied. Closing. Below is commit (Thanks for the patch
Christian).


Applied patch from '[ 1211217 ] [contrib] Add debugging aid
for BDB
RuntimeExceptionWrapper'
Contributed by Christian Kohlschuetter. Here is comment
from Christian:

" If an unexpected Exception occurs in BDB code (eg.
serialization problems), a special
"RuntimeExceptionWrapper" is thrown. Unfortunately,
this hides the initial cause for the exception; hence
the Exception shown in Heritrix alerts is meaningless."

* src/java/org/archive/crawler/framework/ToeThread.java
Added catch for bdb exceptions.



Attached File ( 1 )

Filename Description Download
ToeThread-RuntimeExceptionWrapper.patch Patches ToeThread to report a RuntimeExceptionWrapper's cause Download

Changes ( 5 )

Field Old Value Date By
assigned_to nobody 2005-11-23 23:36 gojomo
artifact_group_id None 2005-09-23 21:08 gojomo
status_id Open 2005-05-31 19:36 stack-sf
close_date - 2005-05-31 19:36 stack-sf
File Added 136491: ToeThread-RuntimeExceptionWrapper.patch 2005-05-30 08:46 ck-heritrix