[jBPM Users] - Re: how to get all tokens from processinstance
by saraswati.santanu
In JBPM 3.x Token of a process instance is like an iterator which is pointing to the current node of the process. So the node associated with the token is the currently active node, which is the TaskNode for your case. In JBPM 3.x "Task" is not a node.
If you need to get the current active tasks then you can use TaskManagementInstance.
| ProcessInstance processInstance= getProcessInstance();
| //get the task management instance of the process instance
| TaskMgmtInstance taskManagementInstance = processInstance.getTaskMgmtInstance();
|
| //find the unfinished tasks
| Collection taskInstances = taskManagementInstance.getUnfinishedTasks(processInstance.getRootToken());
|
You can also get a "Set" of tasks from the node obtained from the current token.
| Token rootToken = processInstance.getRootToken();
| Node node = rootToken.getNode();
| if (node instanceof TaskNode) {
| Set<Task> tasks = ((TaskNode)node).getTasks();
| }
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264439#4264439
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264439
16 years, 5 months
[jBPM Users] - jBPM-4.2 Remote API problem?
by markroy
In jBPM 4.1, using the following jbpm.cfg.xml in my simple test app worked:
<jbpm-configuration>
| <import resource="jbpm.jbossremote.cfg.xml" />
| </jbpm-configuration>
Since upgrading to 4.2, however, I now get a NPE:
java.lang.NullPointerException
| at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:177)
| at org.jbpm.pvm.internal.cfg.ProcessEngineImpl.buildProcessEngine(ProcessEngineImpl.java:170)
| at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:161)
| at org.jbpm.test.JbpmTestCase.initialize(JbpmTestCase.java:81)
| at org.jbpm.test.JbpmTestCase.setUp(JbpmTestCase.java:76)
| at gov.faa.ato.esp.ReviewProcess.setUp(ReviewProcess.java:24)
| at junit.framework.TestCase.runBare(TestCase.java:132)
| at junit.framework.TestResult$1.protect(TestResult.java:110)
| at junit.framework.TestResult.runProtected(TestResult.java:128)
| at junit.framework.TestResult.run(TestResult.java:113)
| at junit.framework.TestCase.run(TestCase.java:124)
| at junit.framework.TestSuite.runTest(TestSuite.java:232)
| at junit.framework.TestSuite.run(TestSuite.java:227)
| at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
| at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
| at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
I traced this to the fact the userCommandService is assigned null from the following:
userCommandService = (CommandService) processEngineWireContext.get(CommandService.NAME_TX_REQUIRED_COMMAND_SERVICE);
Is this a bug in 4.2, or are there some additional configuration requirements to use the remote API? (I did upgrade the server's db schema to 4.2)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264383#4264383
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264383
16 years, 5 months
[jBPM Users] - Running demo.setup.jboss Problems under MySQL
by tangrui
I'm running "ant -Ddatabase=mysql demo.setup.jboss", after install JBoss and create database schema, while starting JBoss AS, some exception occurred.
[start-jboss] 02:55:28,309 WARN [JBossManagedConnectionPool] Throwable while at
tempting to get a new connection: null
[start-jboss] org.jboss.resource.JBossResourceException: Could not create connec
tion; - nested throwable: (org.jboss.resource.JBossResourceException: Class not
found for XADataSource com.mysql.jdbc.jdbc2.optional.MysqlXADataSource; - nested
throwable: (java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.Mys
qlXADataSource from BaseClassLoader@25b3d5{VFSClassLoaderPolicy@1416b2d{name=vfs
file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-servic
e.sar/ domain=ClassLoaderDomain@8a6fc{name=DefaultDomain parentPolicy=BEFORE par
ent=org.jboss.system.NoAnnotationURLClassLoader@14c1103} roots=[MemoryContextHan
dler@31692960[path= context=vfsmemory://5c4o1k1-37hjqk-g1pb2npu-1-g1pb3g3u-11 re
al=vfsmemory://5c4o1k1-37hjqk-g1pb2npu-1-g1pb3g3u-11], FileHandler@20529339[path
=jbpm/jbpm-service.sar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/
default/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/de
ploy/jbpm/jbpm-service.sar/], DelegatingHandler@29933798[path=jbpm/jbpm-service.
sar/freemarker.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/defa
ult/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy
/jbpm/jbpm-service.sar/freemarker.jar], DelegatingHandler@15750284[path=jbpm/jbp
m-service.sar/jbpm-console-form-plugin.jar context=file:/E:/home/all/jbpm-4.1/jb
oss-5.0.0.GA/server/default/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.
GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-form-plugin.jar], De
legatingHandler(a)4113990[path=jbpm/jbpm-service.sar/jbpm-console-graphView-plugin
.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ re
al=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-ser
vice.sar/jbpm-console-graphView-plugin.jar], DelegatingHandler@21703981[path=jbp
m/jbpm-service.sar/jbpm-console-integration.jar context=file:/E:/home/all/jbpm-4
.1/jboss-5.0.0.GA/server/default/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5
.0.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-integration.jar
], DelegatingHandler(a)8584079[path=jbpm/jbpm-service.sar/jbpm-spi.jar context=fil
e:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ real=file:/E:/home
/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-sp
i.jar], DelegatingHandler(a)22123681[path=jbpm/jbpm-service.sar/juel-engine.jar co
ntext=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ real=file
:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-service.sa
r/juel-engine.jar], DelegatingHandler(a)16058616[path=jbpm/jbpm-service.sar/juel-i
mpl.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/
real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-
service.sar/juel-impl.jar], DelegatingHandler(a)18862661[path=jbpm/jbpm-service.sa
r/juel.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/depl
oy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jb
pm-service.sar/juel.jar], DelegatingHandler(a)2481330[path=jbpm/jbpm-service.sar/l
ivetribe-jsr223.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/def
ault/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deplo
y/jbpm/jbpm-service.sar/livetribe-jsr223.jar]] delegates=null exported=[, de.od
ysseus.el.tree.impl, freemarker, org.jbpm.integration.spi, org.jbpm.integration.
console.forms, freemarker.ext.dom, de.odysseus.el.tree.impl.ast, org.jbpm.integr
ation.console.graphView, META-INF.maven.org.livetribe.livetribe-jsr223, freemark
er.ext.jython, META-INF.maven.org.jbpm.jbpm4.jbpm-spi, javax.script, org.jbpm.in
tegration.util, freemarker.ext.beans, META-INF.maven.org.jbpm.jbpm4.jbpm-console
-integration, META-INF.maven.org.jbpm.jbpm4.jbpm-console-graphView-plugin, de.od
ysseus.el.tree, freemarker.debug.impl, freemarker.core, META-INF.maven.org.jbpm.
jbpm4.jbpm-console-form-plugin, freemarker.ext.servlet, freemarker.ext.util, jav
ax.el, de.odysseus.el.misc, freemarker.debug, freemarker.cache, de.odysseus.el.u
til, org.jbpm.integration.console, freemarker.ext.xml, META-INF, de.odysseus.el,
freemarker.ext.jdom, freemarker.template.utility, freemarker.ext.jsp, freemarke
r.log, freemarker.ext.rhino, META-INF.services, com.sun.script.juel, org.jbpm.in
tegration.spi.mgmt, freemarker.template, freemarker.ext.ant] <IMPORT-ALL>NON_EMP
TY}}))
[start-jboss] at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory
.getXAManagedConnection(XAManagedConnectionFactory.java:465)
[start-jboss] at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory
.createManagedConnection(XAManagedConnectionFactory.java:409)
[start-jboss] at org.jboss.resource.connectionmanager.InternalManagedConnectio
nPool.createConnectionEventListener(InternalManagedConnectionPool.java:611)
[start-jboss] at org.jboss.resource.connectionmanager.InternalManagedConnectio
nPool.getConnection(InternalManagedConnectionPool.java:257)
[start-jboss] at org.jboss.resource.connectionmanager.JBossManagedConnectionPo
ol$BasePool.getConnection(JBossManagedConnectionPool.java:644)
[start-jboss] at org.jboss.resource.connectionmanager.BaseConnectionManager2.g
etManagedConnection(BaseConnectionManager2.java:404)
[start-jboss] at org.jboss.resource.connectionmanager.TxConnectionManager.getM
anagedConnection(TxConnectionManager.java:381)
[start-jboss] at org.jboss.resource.connectionmanager.BaseConnectionManager2.a
llocateConnection(BaseConnectionManager2.java:496)
[start-jboss] at org.jboss.resource.connectionmanager.BaseConnectionManager2$C
onnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
[start-jboss] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnecti
on(WrapperDataSource.java:89)
[start-jboss] at org.hibernate.connection.DatasourceConnectionProvider.getConn
ection(DatasourceConnectionProvider.java:92)
[start-jboss] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFacto
ry.java:111)
[start-jboss] at org.hibernate.cfg.Configuration.buildSettings(Configuration.j
ava:2101)
[start-jboss] at org.hibernate.cfg.Configuration.buildSessionFactory(Configura
tion.java:1325)
[start-jboss] at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionFactory
Descriptor.construct(HibernateSessionFactoryDescriptor.java:64)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.
java:473)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.jav
a:452)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.jav
a:441)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:4
21)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:3
31)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:7
07)
[start-jboss] at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironme
nt.java:139)
[start-jboss] at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironme
nt.java:130)
[start-jboss] at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescrip
tor.construct(HibernateSessionDescriptor.java:63)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.
java:473)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.jav
a:452)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.jav
a:441)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:4
21)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:3
31)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:7
07)
[start-jboss] at org.jbpm.pvm.internal.wire.descriptor.DbSessionDescriptor.ini
tialize(DbSessionDescriptor.java:49)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.performInitialization(
WireContext.java:537)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.initialize(WireContext
.java:499)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.jav
a:453)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.jav
a:441)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:4
21)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:3
31)
[start-jboss] at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:7
07)
[start-jboss] at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironme
nt.java:139)
[start-jboss] at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironme
nt.java:130)
[start-jboss] at org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd.execute(Acqu
ireJobsCmd.java:60)
[start-jboss] at org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd.execute(Acqu
ireJobsCmd.java:41)
[start-jboss] at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(Defau
ltCommandService.java:42)
[start-jboss] at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execut
eInNewTx(JtaTransactionInterceptor.java:79)
[start-jboss] at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execut
e(JtaTransactionInterceptor.java:61)
[start-jboss] at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInter
ceptor.java:55)
[start-jboss] at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithR
etry(JtaRetryInterceptor.java:52)
[start-jboss] at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaR
etryInterceptor.java:45)
[start-jboss] at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(Envi
ronmentInterceptor.java:46)
[start-jboss] at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.acquireJob
s(DispatcherThread.java:126)
[start-jboss] at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.run(Dispat
cherThread.java:67)
[start-jboss] Caused by: org.jboss.resource.JBossResourceException: Class not fo
und for XADataSource com.mysql.jdbc.jdbc2.optional.MysqlXADataSource; - nested t
hrowable: (java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.Mysql
XADataSource from BaseClassLoader@25b3d5{VFSClassLoaderPolicy@1416b2d{name=vfsfi
le:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-service.
sar/ domain=ClassLoaderDomain@8a6fc{name=DefaultDomain parentPolicy=BEFORE paren
t=org.jboss.system.NoAnnotationURLClassLoader@14c1103} roots=[MemoryContextHandl
er@31692960[path= context=vfsmemory://5c4o1k1-37hjqk-g1pb2npu-1-g1pb3g3u-11 real
=vfsmemory://5c4o1k1-37hjqk-g1pb2npu-1-g1pb3g3u-11], FileHandler@20529339[path=j
bpm/jbpm-service.sar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/de
fault/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/depl
oy/jbpm/jbpm-service.sar/], DelegatingHandler(a)29933798[path=jbpm/jbpm-service.sa
r/freemarker.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/defaul
t/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/j
bpm/jbpm-service.sar/freemarker.jar], DelegatingHandler@15750284[path=jbpm/jbpm-
service.sar/jbpm-console-form-plugin.jar context=file:/E:/home/all/jbpm-4.1/jbos
s-5.0.0.GA/server/default/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA
/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-form-plugin.jar], Dele
gatingHandler(a)4113990[path=jbpm/jbpm-service.sar/jbpm-console-graphView-plugin.j
ar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ real
=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-servi
ce.sar/jbpm-console-graphView-plugin.jar], DelegatingHandler@21703981[path=jbpm/
jbpm-service.sar/jbpm-console-integration.jar context=file:/E:/home/all/jbpm-4.1
/jboss-5.0.0.GA/server/default/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0
.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-integration.jar],
DelegatingHandler(a)8584079[path=jbpm/jbpm-service.sar/jbpm-spi.jar context=file:
/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ real=file:/E:/home/a
ll/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-spi.
jar], DelegatingHandler(a)22123681[path=jbpm/jbpm-service.sar/juel-engine.jar cont
ext=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ real=file:/
E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-service.sar/
juel-engine.jar], DelegatingHandler(a)16058616[path=jbpm/jbpm-service.sar/juel-imp
l.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ r
eal=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-se
rvice.sar/juel-impl.jar], DelegatingHandler(a)18862661[path=jbpm/jbpm-service.sar/
juel.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy
/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm
-service.sar/juel.jar], DelegatingHandler(a)2481330[path=jbpm/jbpm-service.sar/liv
etribe-jsr223.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/defau
lt/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/
jbpm/jbpm-service.sar/livetribe-jsr223.jar]] delegates=null exported=[, de.odys
seus.el.tree.impl, freemarker, org.jbpm.integration.spi, org.jbpm.integration.co
nsole.forms, freemarker.ext.dom, de.odysseus.el.tree.impl.ast, org.jbpm.integrat
ion.console.graphView, META-INF.maven.org.livetribe.livetribe-jsr223, freemarker
.ext.jython, META-INF.maven.org.jbpm.jbpm4.jbpm-spi, javax.script, org.jbpm.inte
gration.util, freemarker.ext.beans, META-INF.maven.org.jbpm.jbpm4.jbpm-console-i
ntegration, META-INF.maven.org.jbpm.jbpm4.jbpm-console-graphView-plugin, de.odys
seus.el.tree, freemarker.debug.impl, freemarker.core, META-INF.maven.org.jbpm.jb
pm4.jbpm-console-form-plugin, freemarker.ext.servlet, freemarker.ext.util, javax
.el, de.odysseus.el.misc, freemarker.debug, freemarker.cache, de.odysseus.el.uti
l, org.jbpm.integration.console, freemarker.ext.xml, META-INF, de.odysseus.el, f
reemarker.ext.jdom, freemarker.template.utility, freemarker.ext.jsp, freemarker.
log, freemarker.ext.rhino, META-INF.services, com.sun.script.juel, org.jbpm.inte
gration.spi.mgmt, freemarker.template, freemarker.ext.ant] <IMPORT-ALL>NON_EMPTY
}})
[start-jboss] at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory
.getXADataSource(XAManagedConnectionFactory.java:582)
[start-jboss] at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory
.getXAManagedConnection(XAManagedConnectionFactory.java:449)
[start-jboss] ... 50 more
[start-jboss] Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.
optional.MysqlXADataSource from BaseClassLoader@25b3d5{VFSClassLoaderPolicy@1416
b2d{name=vfsfile:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm
/jbpm-service.sar/ domain=ClassLoaderDomain@8a6fc{name=DefaultDomain parentPolic
y=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@14c1103} roots=[Memo
ryContextHandler@31692960[path= context=vfsmemory://5c4o1k1-37hjqk-g1pb2npu-1-g1
pb3g3u-11 real=vfsmemory://5c4o1k1-37hjqk-g1pb2npu-1-g1pb3g3u-11], FileHandler@2
0529339[path=jbpm/jbpm-service.sar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.
0.GA/server/default/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/serve
r/default/deploy/jbpm/jbpm-service.sar/], DelegatingHandler@29933798[path=jbpm/j
bpm-service.sar/freemarker.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA
/server/default/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/de
fault/deploy/jbpm/jbpm-service.sar/freemarker.jar], DelegatingHandler@15750284[p
ath=jbpm/jbpm-service.sar/jbpm-console-form-plugin.jar context=file:/E:/home/all
/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ real=file:/E:/home/all/jbpm-4.1/
jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-form-plu
gin.jar], DelegatingHandler(a)4113990[path=jbpm/jbpm-service.sar/jbpm-console-grap
hView-plugin.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/defaul
t/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/j
bpm/jbpm-service.sar/jbpm-console-graphView-plugin.jar], DelegatingHandler@21703
981[path=jbpm/jbpm-service.sar/jbpm-console-integration.jar context=file:/E:/hom
e/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ real=file:/E:/home/all/jbpm
-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-service.sar/jbpm-console-int
egration.jar], DelegatingHandler(a)8584079[path=jbpm/jbpm-service.sar/jbpm-spi.jar
context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/ real=f
ile:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-service
.sar/jbpm-spi.jar], DelegatingHandler(a)22123681[path=jbpm/jbpm-service.sar/juel-e
ngine.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deplo
y/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpm/jbp
m-service.sar/juel-engine.jar], DelegatingHandler@16058616[path=jbpm/jbpm-servic
e.sar/juel-impl.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/def
ault/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/deplo
y/jbpm/jbpm-service.sar/juel-impl.jar], DelegatingHandler@18862661[path=jbpm/jbp
m-service.sar/juel.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/
default/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/default/de
ploy/jbpm/jbpm-service.sar/juel.jar], DelegatingHandler@2481330[path=jbpm/jbpm-s
ervice.sar/livetribe-jsr223.jar context=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.G
A/server/default/deploy/ real=file:/E:/home/all/jbpm-4.1/jboss-5.0.0.GA/server/d
efault/deploy/jbpm/jbpm-service.sar/livetribe-jsr223.jar]] delegates=null expor
ted=[, de.odysseus.el.tree.impl, freemarker, org.jbpm.integration.spi, org.jbpm.
integration.console.forms, freemarker.ext.dom, de.odysseus.el.tree.impl.ast, org
.jbpm.integration.console.graphView, META-INF.maven.org.livetribe.livetribe-jsr2
23, freemarker.ext.jython, META-INF.maven.org.jbpm.jbpm4.jbpm-spi, javax.script,
org.jbpm.integration.util, freemarker.ext.beans, META-INF.maven.org.jbpm.jbpm4.
jbpm-console-integration, META-INF.maven.org.jbpm.jbpm4.jbpm-console-graphView-p
lugin, de.odysseus.el.tree, freemarker.debug.impl, freemarker.core, META-INF.mav
en.org.jbpm.jbpm4.jbpm-console-form-plugin, freemarker.ext.servlet, freemarker.e
xt.util, javax.el, de.odysseus.el.misc, freemarker.debug, freemarker.cache, de.o
dysseus.el.util, org.jbpm.integration.console, freemarker.ext.xml, META-INF, de.
odysseus.el, freemarker.ext.jdom, freemarker.template.utility, freemarker.ext.js
p, freemarker.log, freemarker.ext.rhino, META-INF.services, com.sun.script.juel,
org.jbpm.integration.spi.mgmt, freemarker.template, freemarker.ext.ant] <IMPORT
-ALL>NON_EMPTY}}
[start-jboss] at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(Base
ClassLoader.java:385)
[start-jboss] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
[start-jboss] at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory
.getXADataSource(XAManagedConnectionFactory.java:544)
[start-jboss] ... 51 more
[start-jboss] 02:55:28,474 WARN [SettingsFactory] Could not obtain connection m
etadata
What is the problem, and how can I fix it? It's OK when using hsqldb with JBoss or using MySQL with Tomcat.
I'm trying jBPM 4.1 with MySQL 5.0.
thank you!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264376#4264376
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264376
16 years, 5 months
[jBPM Users] - JBPM under websphere 7
by amezzi
Hi,
I'm having a seam application with JBPM . the JBPM part is running very well under jboos 5( JBPM creats its tables in the databse) , I configured the same app to run under websphere 7 , everything runs well except JBPM that fails on server startup , my hibernate.cfg ,my jbpm.cfg as well as jbpm-jbdl.jar and jbpm`s process definition file are all under the ear root , so when websphere starts , i get the follwing exceptions:
org.jbpm.jpdl.xml.JpdlXmlReader readProcessDefinition couldn't parse process definition
org.dom4j.DocumentException: null Nested exception: null
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:58)
at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:141)
at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:180)
at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:161)
at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:311)
at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)
at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
at org.jboss.seam.Component.newInstance(Component.java:2132)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:116)
at org.jboss.seam.init.Initialization.init(Initialization.java:740)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1591)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:353)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:293)
at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:728)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:613)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1144)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:723)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2068)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:108)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:935)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Nested exception:
java.net.MalformedURLException
at java.net.URL.(URL.java:601)
at java.net.URL.(URL.java:464)
at java.net.URL.(URL.java:413)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:58)
at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:141)
at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:180)
at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:161)
at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:311)
at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)
at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
at org.jboss.seam.Component.newInstance(Component.java:2132)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:116)
at org.jboss.seam.init.Initialization.init(Initialization.java:740)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1591)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:353)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:293)
at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:728)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:613)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1144)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:723)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2068)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:108)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:935)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
[09-11-06 11:54:13:416 EST] 00000014 FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: Incident FFDC émis sur C:\IBM\SDP\runtimes\base_v7\profiles\SGCIProfile\logs\ffdc\server1_7bdb7bdb_09.11.06_11.54.12.7666288080441772851559.txt com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated 1341
[09-11-06 11:54:13:416 EST] 00000014 webapp E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E: Exception interceptée lors de l''initialisation du contexte : {0}
org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.bpm.jbpm
at org.jboss.seam.Component.newInstance(Component.java:2144)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:116)
at org.jboss.seam.init.Initialization.init(Initialization.java:740)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1591)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:353)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:293)
at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:728)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:613)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1144)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:723)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2068)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:108)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:935)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: java.lang.RuntimeException: could not deploy a process definition
at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:300)
at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
at org.jboss.seam.Component.callComponentMethod(Component.java:2249)
at org.jboss.seam.Component.callCreateMethod(Component.java:2172)
at org.jboss.seam.Component.newInstance(Component.java:2132)
... 27 more
Caused by: org.jbpm.jpdl.JpdlException: [[ERROR] couldn't parse process definition]
at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:172)
at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:180)
at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:161)
at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:311)
at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:294)
any kind of help will be apreciated
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264367#4264367
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264367
16 years, 5 months
[jBPM Users] - Re: The last stable version of JBPM
by koen.aers@jboss.com
I think I need to remove some confusion here:
All the releases that we do in the community (except for alpha and beta releases) are considered stable. We cannot rule out all bugs but they are all well tested. Over the last two years we also have build a fully automated QA matrix that allows us to run the test suite on an array of combinations of JVM's, databases, JBoss and Tomcat versions. So in this respect, the latest stable version has just been released: it is 4.2.
Now to comment on what Stelios said, the releases in the 4.x branch are not (yet) officially supported by Red Hat. They are only supported by the community. This means (among others) that there is no guarantee that particular bugfixes will be backported to a version that you might be using. But if you are lucky, the community might just do it for you or if you are willing to throw some effort against it you might just do it yourself.
I hope this is a bit of a clarification.
Cheers,
Koen
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264335#4264335
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264335
16 years, 5 months
[jBPM Users] - jBPM & BeanShell: fail with osgi classpaths
by Rasun
Good day,
Currently I'm working on a RCP project with jBPM 3. At this very moment I'm stuck while trying to execute a process. The processDefinition.xml starts executing and at a certain moment, when it reaches a part where a Script object is started, a DelegationException is thrown.
Prior to this exception, I noticed that BeanShell did not seem to be able to resolve the OSGi classpath I use where certain source/config files are located.
Debugging the code learns that the cause is located somewhere in the integrated BeanShell code (can't tell where exactly, as I don't have the source code available); it seems that BeanShell does not use proper classpaths (confirming OSGi standards), while my RCP based project does.
As far as I know, BeanShell does 'something' with the classpaths/classloaders which seemingly affects the process in a negative way.
Can anyone suggest a way to make jBPM/BeanShell understand how to use the proper classpaths or other, if the probable cause does not concern the classpaths/OSGi aspects, possibility?
Thanks for the effort! Hope that I provided enough info about the problem here, if not then just yell ;).
=== Environment ==============================
- jBPM Version: 3
- JDK: 1.6.0_17
- Configuration : Use the default jbpm.cfg.xml with jbpm.jar lib, no custom config file used.
- Libraries : using all default libraries from jBPM, no custom or changes made.
=== Stacktrace ==============================
| action threw exception: script evaluation exception
| org.jbpm.graph.def.DelegationException: script evaluation exception
| at org.jbpm.graph.action.Script.eval(Script.java:139)
| at org.jbpm.graph.action.Script.eval(Script.java:73)
| at org.jbpm.graph.action.Script.execute(Script.java:62)
| at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264)
| at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220)
| at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190)
| at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:203)
| at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174)
| at org.jbpm.graph.def.Node.leave(Node.java:382)
| at org.jbpm.graph.node.StartState.leave(StartState.java:70)
| at org.jbpm.graph.exe.Token.signal(Token.java:195)
| at org.jbpm.graph.exe.Token.signal(Token.java:140)
| at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:271)
| at nl.mindef.c2sc.titaan.uni.UNI.run(Unknown Source)
| at uni.gui.app.main.main.UniRunner.start(UniRunner.java:209)
| at uni.gui.app.main.data.rbb.RbbDevice.start(RbbDevice.java:113)
| at uni.gui.app.main.handlers.dashboard.StartProcessHandler.execute(StartProcessHandler.java:46)
| at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
| at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
| at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
| at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:253)
| at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:253)
| at uni.gui.app.main.views.DashboardView$1.widgetSelected(DashboardView.java:99)
| at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
| at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
| at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
| at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
| at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
| at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
| at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
| at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
| at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
| at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
| at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
| at uni.gui.app.base.Application.start(Application.java:27)
| at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
| at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
| at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
| at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
| Caused by: java.lang.NullPointerException: Null Pointer in Method Invocation
| at bsh.Name.invokeMethod(Unknown Source)
| at bsh.BSHMethodInvocation.eval(Unknown Source)
| at bsh.BSHPrimaryExpression.eval(Unknown Source)
| at bsh.BSHPrimaryExpression.eval(Unknown Source)
| at bsh.Interpreter.eval(Unknown Source)
| at bsh.Interpreter.eval(Unknown Source)
| at bsh.Interpreter.eval(Unknown Source)
| at org.jbpm.graph.action.Script.eval(Script.java:130)
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264287#4264287
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264287
16 years, 5 months