Share

Heritrix: Internet Archive Web Crawler

Tracker: Bugs

6 CachedBdbBigMap double-close in finialize() - ID: 1169459
Last Update: Comment added ( karl-ia )

Upon starting a new job, I get around 5 NPEs in the
finalization thread, each like:

System Thread [Finalizer] (Suspended (exception
NullPointerException))
CachedBdbBigMap(CachedBdbMap).close() line: 270
CachedBdbBigMap(CachedBdbMap).finalize() line: 283
Finalizer.invokeFinalizeMethod(Object) line: not
available [native method]
Finalizer.runFinalizer() line: 83
Finalizer.access$100(Finalizer) line: 14
Finalizer$FinalizerThread.run() line: 160

I'm only seeing these because I have the debugger set
to pause on all NPEs -- they're otherwise caught and
disregarded. But ideally they wouldn't happen at all...


Gordon Mohr ( gojomo ) - 2005-03-23 21:54

6

Closed

Fixed

Gordon Mohr

None

None

Public


Comments ( 2 )

Date: 2007-03-14 00:22
Sender: karl-ia


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


Date: 2005-04-07 02:27
Sender: gojomoProject Admin

Logged In: YES
user_id=144912

Fixed. Commit comment:
Fix for [ 1169459 ] CachedBdbBigMap double-close in finialize()
* CachedBdbBigMap.java
wrap db.close in null-check


Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2005-04-07 02:30 gojomo
close_date - 2005-04-07 02:30 gojomo
assigned_to nobody 2005-04-07 02:27 gojomo
resolution_id None 2005-04-07 02:27 gojomo