NullPointerException when scanning resources

Description

On a production server, this causes an OutOfMemoryError to occur, and my application crashes and requires a manual restart.

The logs are filled repeatedly with the trace below.

[pool-2-thread-1] ERROR org.ops4j.pax.coin.provider.scanner.internal.ResourceScannerProvider - Exception while scanning FileSystemResourceScanner{/home/runtime/configurations/services}
java.lang.NullPointerException
at org.ops4j.pax.coin.provider.scanner.filesystem.internal.FileSystemResourceScanner.scan(FileSystemResourceScanner.java:90)
at org.ops4j.pax.coin.provider.scanner.internal.ResourceScannerProvider.scan(ResourceScannerProvider.java:182)
at org.ops4j.pax.coin.provider.scanner.internal.ResourceScannerProvider.access$000(ResourceScannerProvider.java:43)
at org.ops4j.pax.coin.provider.scanner.internal.ResourceScannerProvider$1.run(ResourceScannerProvider.java:97)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Environment

None

Activity

Show:
Alin Dreghiciu
June 24, 2009, 1:46 PM

Pax Coin is on standby.

Assignee

Alin Dreghiciu

Reporter

David Leangen

Labels

None

Priority

Critical
Configure