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

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
分享到:
评论

相关推荐

    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”。这个错误通常会在你升级Unity版本后出现,尤其是在升级到4.1.2这样的特定版本时。这个错误提示表明在编译项目...

    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 ...

    微软内部资料-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 ...

    2009 达内Unix学习笔记

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

    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...

    Mastering Lambdas- Java Programming in a Multicore World

    - **Optimization**: The Stream API automatically optimizes certain operations based on the context, such as short-circuiting the evaluation of `findFirst` or `anyMatch` when a match is found early in ...

    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, ...

    微软内部资料-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, ...

    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 ...

    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 ...

    计算机网络第六版答案

    An Internet Exchange Points (IXP) (typically in a standalone building with its own switches) is a meeting point where multiple ISPs can connect and/or peer together. An ISP earns its money by ...

    SQL Server Execution Plans Second Edition

    All this information makes the execution plan a fairly important tool in the tool belt of database administrator, database developers, report writers, developers, and pretty much anyone who writes T-...

Global site tag (gtag.js) - Google Analytics