archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jieryn <jie...@gmail.com>
Subject Archiva 2.2.0 Bad Performance; NPE
Date Thu, 18 Feb 2016 17:47:04 GMT
Apache Archiva 2.2.0, Java OpenJDK 1.7.0_95, deployed via Archiva's wrapper.

Recently I've seen a huge performance degradation, and am seeing lots
of messages in the log like:

2016-02-18 12:44:26,003 [Thread-48] ERROR
org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor
[] - Error executing task
java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
~[?:1.7.0_95]
        at java.util.concurrent.FutureTask.get(FutureTask.java:188)
~[?:1.7.0_95]
        at org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:160)
~[spring-taskqueue-2.1.jar:?]
        at org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:128)
[spring-taskqueue-2.1.jar:?]
Caused by: java.lang.NullPointerException
        at org.apache.maven.index.context.DefaultIndexingContext.acquireIndexSearcher(DefaultIndexingContext.java:498)
~[indexer-core-5.1.1.jar:5.1.1]
        at org.apache.maven.index.DefaultSearchEngine.searchFlat(DefaultSearchEngine.java:135)
~[indexer-core-5.1.1.jar:5.1.1]
        at org.apache.maven.index.DefaultSearchEngine.searchFlatPaged(DefaultSearchEngine.java:93)
~[indexer-core-5.1.1.jar:5.1.1]
        at org.apache.maven.index.DefaultSearchEngine.forceSearchFlatPaged(DefaultSearchEngine.java:83)
~[indexer-core-5.1.1.jar:5.1.1]
        at org.apache.maven.index.DefaultIndexer.searchFlat(DefaultIndexer.java:144)
~[indexer-core-5.1.1.jar:5.1.1]
        at org.apache.maven.index.DefaultNexusIndexer.searchFlat(DefaultNexusIndexer.java:373)
~[indexer-core-5.1.1.jar:5.1.1]
        at org.apache.archiva.scheduler.indexing.ArchivaIndexingTaskExecutor.executeTask(ArchivaIndexingTaskExecutor.java:193)
~[archiva-scheduler-indexing-2.2.0.jar:?]
        at org.apache.archiva.redback.components.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:117)
~[spring-taskqueue-2.1.jar:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
~[?:1.7.0_95]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
~[?:1.7.0_95]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
~[?:1.7.0_95]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
~[?:1.7.0_95]
        at java.lang.Thread.run(Thread.java:745) ~[?:1.7.0_95]

No configuration changes, just bad performance. Any ideas?

Mime
View raw message