cancel
Showing results for 
Search instead for 
Did you mean: 

Listner exception

bweiss
Champ in-the-making
Champ in-the-making
I need some help comprehending a frequent error in our log file. We are running Community 3.3.0 on Ubuntu 9.04.

The error below has shown up more and more frequently in our log files and begins before the server has even completed starting. We are running a script which attempts to thumbnail files added to a particular directory. AFAIK the thumbnails seem to be getting created properly but I am not sure where else to look to find out what is going wrong or what I may not have configured properly.

16:26:36,527 ERROR [org.alfresco.repo.transaction.AlfrescoTransactionSupport] After completion (committed) listener exception: 
   listener: org.alfresco.repo.action.ActionTransactionListener@fc42cfa2
java.lang.NullPointerException
   at org.alfresco.repo.action.CreateThumbnailActionFilter.compare(CreateThumbnailActionFilter.java:47)
   at org.alfresco.repo.action.CreateThumbnailActionFilter.compare(CreateThumbnailActionFilter.java:30)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl.executeAction(AsynchronousActionExecutionQueueImpl.java:277)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl.executeAction(AsynchronousActionExecutionQueueImpl.java:219)
   at org.alfresco.repo.action.ActionServiceImpl.queueAction(ActionServiceImpl.java:555)
   at org.alfresco.repo.action.ActionServiceImpl.postCommit(ActionServiceImpl.java:542)
   at org.alfresco.repo.action.ActionTransactionListener.afterCommit(ActionTransactionListener.java:77)
   at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.afterCompletion(AlfrescoTransactionSupport.java:808)
   at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:168)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:996)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:971)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:799)
   at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
   at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:394)
   at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:472)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:343)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:228)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:499)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:502)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
   at java.lang.Thread.run(Thread.java:619)
3 REPLIES 3

bweiss
Champ in-the-making
Champ in-the-making
For anyone else having this same issue, I discovered that if the rule triggering the thumbnail script is not set to run in the background, the error goes away.  Not sure why but it has solved the problem.

lgoldblatt
Champ in-the-making
Champ in-the-making
We're actually having an identical issue in 3.4c.
You said you changed the rule triggering the thumbnail script to not run in the background.
We dont have any rules at ALL on the folders affected - is this a rule that's predefined in Alfresco Share?

Can you tell me what change you made?
Thanks!!!

sharifu
Confirmed Champ
Confirmed Champ
i am having this issue after i run a replication job manually.


15:18:51,859 User:sharifu ERROR [repo.transaction.AlfrescoTransactionSupport] After completion (committed) listener exception:
   listener: org.alfresco.repo.action.ActionTransactionListener@719efca5
java.lang.NullPointerException


any suggestions?