Menu

#78 Exception when running headless

open
nobody
None
5
2006-03-10
2006-03-10
No

We run metrics nightly for three fairly large
projects (500-800 classes each) on a fairly old
Windows NT machine. After several nights of running,
the file [workspace]
\.metadata\.plugins\net.sourceforge.metrics\metricsdb.
db gets to around 500MB and we get logging like that
shown below at the end of the metrics run. Strangely,
there is no call stack shown for the exception. The
metrics.xml file only has the first few bytes in it.
Deleting the metricsdb.db file before each nightly
run seems to resolve the problem.

[eclipse.build] Building: /PRODUCT... Done.
[eclipse.build] unknown... Done.
[eclipse.build] unknown... Done.
[metrics.export] Exporting metrics to flat per Metric
XML format... ...
BUILD FAILED
D:\TradeIdeas\CruiseControl\checkout\PRODUCT\build.met
rics.xml:29: java.lang.NullPointerException
Total time: 38 minutes 28 seconds
ERROR: inUse blocks at close time
elem 0: BlockIO
(58450,false,jdbm.recman.FreeLogicalRowIdPage@1f86f93)

Java Result: 13

[note: replaced our product name with the
word "PRODUCT" above]

Discussion


Log in to post a comment.