shekhar g [
https://community.jboss.org/people/shekhargod] created the discussion
"jBPM: Could not start transaction when clicked on "Group Tasks"
menu"
To view the discussion, visit:
https://community.jboss.org/message/754296#754296
--------------------------------------------------------------
Hi,
I get following exception in the log when clicked on "Group Tasks" sub-menu
under "Tasks" menu on jbpm-console. Any help in resolving this issue will be
appreciated.
INFO [stdout] (Thread-21) Hibernate: select user0_.id as id8_0_ from OrganizationalEntity
user0_ where user0_.id=? and user0_.DTYPE='User'
12:14:31,193 ERROR [stderr] (http--127.0.0.1-8080-3)
java.lang.RuntimeException: Command QueryTasksOwnedWithParticularStatus *faild due to
Could not start transaction*.. Please contact task server administrator.
12:14:31,193 ERROR [stderr] (http--127.0.0.1-8080-3) at
org.jbpm.task.service.TaskServerHandler.messageReceived(
12:14:31,193 ERROR [stderr] (http--127.0.0.1-8080-3) at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(
BaseHornetQTaskServer.java:85)
12:14:31,193 ERROR [stderr] (http--127.0.0.1-8080-3) at java.lang.Thread.run(Unknown
Source)
12:14:31,203 ERROR [stderr] (Thread-21)
java.lang.RuntimeException: Could not start transaction.
12:14:31,203 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.persistence.TaskPersistenceManager.queryWithParametersInTransaction(
TaskPersistenceManager.java:278)
12:14:31,203 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.persistence.TaskPersistenceManager.queryWithParametersInTransaction(
TaskPersistenceManager.java:285)
12:14:31,204 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.TaskServiceSession.getTasksAssignedAsPotentialOwnerByStatusByGroup(
TaskServiceSession.java:1040)
12:14:31,204 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.TaskServerHandler.messageReceived(
TaskServerHandler.java:356)
12:14:31,204 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(
HornetQTaskServerHandler.java:44)
12:14:31,204 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(
BaseHornetQTaskServer.java:85)
12:14:31,204 ERROR [stderr] (Thread-21) at java.lang.Thread.run(Unknown Source)
12:14:31,204 ERROR [stderr] (Thread-21) Caused by:
java.lang.NullPointerException
12:14:31,204 ERROR [stderr] (Thread-21) at
org.drools.persistence.jta.JtaTransactionManager.getStatus(
JtaTransactionManager.java:205)
12:14:31,204 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.persistence.TaskJTATransactionManager.getStatus(
TaskJTATransactionManager.java:63)
12:14:31,204 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.persistence.TaskJTATransactionManager.begin(
TaskJTATransactionManager.java:36)
12:14:31,205 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.persistence.TaskPersistenceManager.beginTransaction(
TaskPersistenceManager.java:87)
12:14:31,205 ERROR [stderr] (Thread-21) at
org.jbpm.task.service.persistence.TaskPersistenceManager.queryWithParametersInTransaction(
TaskPersistenceManager.java:260)
12:14:31,205 ERROR [stderr] (Thread-21) ... 6 more
12:14:31,207 ERROR [stderr] (Thread-35) Exception in thread "Thread-35"
java.lang.RuntimeException: Client Exception with class class
org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 5445
12:14:31,207 ERROR [stderr] (Thread-35) at
org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(
HornetQTaskClientConnector.java:134)
12:14:31,207 ERROR [stderr] (Thread-35) at java.lang.Thread.run(Unknown Source)
12:14:31,207 ERROR [stderr] (Thread-35) Caused by:
java.lang.NullPointerException
12:14:31,207 ERROR [stderr] (Thread-35) at
org.jbpm.task.service.TaskClientHandler.messageReceived(
TaskClientHandler.java:62)
12:14:31,207 ERROR [stderr] (Thread-35) at
org.jbpm.task.service.hornetq.HornetQTaskClientHandler.messageReceived(
HornetQTaskClientHandler.java:56)
12:14:31,208 ERROR [stderr] (Thread-35) at
org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(
HornetQTaskClientConnector.java:120)
12:14:31,208 ERROR [stderr] (Thread-35) ... 1 more
12:14:31,850 INFO [stdout] (http--127.0.0.1-8080-7) INFO 17-08 12:14:31,849 (
DemoAuthenticator.java:authenticate:65) Demo login for user (admin) succeeded.
TaskServerHandler.java:665)
12:14:31,193 ERROR [stderr] (http--127.0.0.1-8080-3) at
org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(
HornetQTaskServerHandler.java:44)
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/754296#754296]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]