`
zc985552943
  • 浏览: 288017 次
  • 性别: Icon_minigender_1
  • 来自: 北京
博客专栏
Babe4ca6-5e6f-33aa-9078-762ee3ccfb7e
云计算--hadoop
浏览量:11560
5e98c2c1-2a82-3388-bc80-7fca0170bb12
redis解说
浏览量:26731
088014c7-4d3f-39ce-b72e-4ebe7046a134
MongoDB读书笔记
浏览量:15693
D2b74847-c860-3e26-96fe-3fa4498d6348
Maven读书笔记
浏览量:26794
688db20f-402d-3a1d-8188-d6153d6c7465
Java通信
浏览量:13451
社区版块
存档分类
最新评论

execution is not in a activity or in a transition

 
阅读更多
Exception in thread "main" org.jbpm.api.JbpmException: execution is not in a activity or in a transition
	at org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:436)
	at org.jbpm.pvm.internal.cmd.SignalCmd.execute(SignalCmd.java:61)
	at org.jbpm.pvm.internal.cmd.SignalCmd.execute(SignalCmd.java:35)
	at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
	at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:50)
	at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)
	at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)
	at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:56)
	at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43)
	at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.signalExecutionById(ExecutionServiceImpl.java:89)
	at ins.jbpm.test.TestInstance.executeInstance(TestInstance.java:38)
	at ins.jbpm.test.TestInstance.main(TestInstance.java:45)

jbpm中调用executionService.signalExecutionById(pi.getId(),"to 审核");报这个错误,查看数据库中的数据发现时乱码。然后将jbpm的xml改成了英文,不报错了。所以是乱码引起了。这个时候你可以将数据库的编码,jbpm的编码,和项目环境的编码要一致。推荐使用编码UTF-8
分享到:
评论

相关推荐

    uipath level 1 lesson 12参考答案.docx

    6. If you need to know if a UI Element is available on the screen or not, what activity should you use? 7. How can you run the process slower in order to analyze the robot’s behavior in certain ...

    Tensorflow 2.1 报错整合

    文章目录Tensorflow 2.1 报错整合RuntimeError: `loss` passed to Optimizer.compute_gradients should be a function when eager ... When eager execution is enabled, `var_list` must specify a list or dict

    Unity升级后报错Empty name is not legal1

    Unity升级后报错Empty name is not legal Posted on 2013年07月17日 by U3d / Unity3D 软件操作 /被

    2009 达内Unix学习笔记

    [] 匹配中括号里的内容[a-z][A-Z][0-9]。 ! 事件。 $ 取环境变量的值。 | 管道。把前一命令的输出作为后一命令的输入,把几个命令连接起来。 |经常跟tee连用,tee 把内容保存到文档并显示出来。 三、通用后...

    Pro WF Windows Workflow in .NET 3.5

    This book is not a primer on .NET or the C# language. To get the most out of the examples presented in this book, it is necessary to have a good working knowledge of .NET 2.0 or higher. All of the ...

    微软内部资料-SQL性能优化5

    Each index row in node pages contains an index key (or set of keys for a composite index) and a pointer to a page at the next level for which the first key value is the same as the key value in the ...

    Architecture Support for Task Out-of-Order Execution in MPSoCs

    The architecture support is composed of a hierarchical middleware with an automatic task level OoO parallel execution engine. Incorporated with a hierarchical OoO layer model, the middleware is able ...

    Vectorization vs. Compilation in Query Execution.pdf

    Vectorization vs. Compilation in Query Execution.pdf

    Using kgdb, kdb and the kernel debugger internals

    Kdb is mainly aimed at doing some analysis to aid in development or diagnosing kernel problems. You can access some symbols by name in kernel built-ins or in kernel modules if the code was built with...

    Python in a Nutshell: A Desktop Quick Reference

    Python in a Nutshell: A Desktop Quick Reference by Alex Martelli English | 7 Apr. 2017 | ASIN: B06Y4DVSBM | 774 Pages | AZW3 | 2.13 MB Useful in many roles, from design and prototyping to testing, ...

    Learning+Concurrent+Programming+in+Scala,+2nd+Edition-2017.mobi

    Or, maybe the primary purpose of parallel execution is to increase the performance? For each of these tasks, there is an abstraction that does the job: futures, reactive streams, actors, ...

    Execution of steel structures and aluminium structures

    BSI, as a member of CEN, is obliged to publish EN 1090-2:2008 as a British Standard. However, attention is drawn to the fact that during the development of this European Standard, the UK committee ...

    微软内部资料-SQL性能优化3

    For example, if T1 writes some object that is in T2’s input or output set, there is a dependency between T1 and T2. Bad Dependencies These include lost updates, dirty reads, non-repeatable reads, ...

    Python in a Nutshell: A Desktop Quick Reference 3rd Edition [PDF, 2017]

    "Python in a Nutshell: A Desktop Quick Reference, 3rd Edition" ISBN: 144939292X | 2017 | PDF | 772 pages | 6 MB Useful in many roles, from design and prototyping to testing, deployment, and ...

    JSP Simple Examples

    One of the strong features of java is that it is follows a OOPs concept, and one of the feature of OOP in java is that, we can assign a subclass object or variable to the variable of the superclass ...

    WizFlow网页编辑

    d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility ...

    hibernate-shards.jar

    d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility ...

    Clean Architecture

    You can even argue quite convincingly that there is more design activity and focus in software than in building architecture—in this sense, it’s not unreasonable to consider software architecture ...

    Universal-USB-Installer

    whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified ...

    Pro WF - Windows Workflow in .NET 4.pdf

    This book is not a primer on .NET or the C# language. To get the most out of the examples presented in this book, it is necessary to have a good working knowledge of .NET 2.0 or higher. All of the ...

Global site tag (gtag.js) - Google Analytics