<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
JBPM 4.3 - org.jbpm.api.JbpmException: couldn't acquire block of ids
</h3>
<span style="margin-bottom: 10px;">
reply from <a href="http://community.jboss.org/people/campa">Stefano Campanini</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/539133#539133">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Here.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>org.jbpm.api.JbpmException: couldn't acquire block of ids<br/>    at org.jbpm.pvm.internal.id.DatabaseDbidGenerator.getNextId(DatabaseDbidGenerator.java:65)<br/>    at org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:56)<br/>    at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)<br/>    at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)<br/>    at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)<br/>    at org.jbpm.pvm.internal.tx.SpringCommandCallback.doInTransaction(SpringCommandCallback.java:45)<br/>    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)<br/>    at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:55)<br/>    at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)<br/>    at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)<br/>    at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)<br/>    at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:91)<br/>    at net.tinvention.wf.jbpm.JbpmProcessBean.initialize(JbpmProcessBean.java:83)<br/>    at net.tinvention.wf.jbpm.JbpmProcessBean$$FastClassByCGLIB$$180e3dad.invoke(<generated>)<br/>    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)<br/>    at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:692)<br/>    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)<br/>    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)<br/>    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)<br/>    at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:625)<br/>    at net.tinvention.wf.jbpm.JbpmProcessBean$$EnhancerByCGLIB$$62627048.initialize(<generated>)<br/>    at net.emaze.sms.wf.jbpm.HelloWorldSirJBPMTest.testFindExecutionById(HelloWorldSirJBPMTest.java:30)<br/>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>    at java.lang.reflect.Method.invoke(Method.java:597)<br/>    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)<br/>    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)<br/>    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)<br/>    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)<br/>    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)<br/>    at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)<br/>    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)<br/>    at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)<br/>    at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)<br/>    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)<br/>    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)<br/>    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)<br/>    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)<br/>    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)<br/>    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)<br/>    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)<br/>    at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)<br/>    at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)<br/>    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)<br/>    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)<br/>    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)<br/>    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)<br/>    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)<br/>    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)<br/>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br/>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>    at java.lang.reflect.Method.invoke(Method.java:597)<br/>    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)<br/>    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)<br/>Caused by: java.lang.NullPointerException<br/>    at org.jbpm.pvm.internal.id.AcquireDbidBlockCmd.execute(AcquireDbidBlockCmd.java:29)<br/>    at org.jbpm.pvm.internal.id.AcquireDbidBlockCmd.execute(AcquireDbidBlockCmd.java:10)<br/>    at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)<br/>    at org.jbpm.pvm.internal.tx.SpringCommandCallback.doInTransaction(SpringCommandCallback.java:45)<br/>    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)<br/>    at org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:55)<br/>    at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53)<br/>    at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40)<br/>    at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)<br/>    at org.jbpm.pvm.internal.id.DatabaseDbidGenerator.acquireDbidBlock(DatabaseDbidGenerator.java:76)<br/>    at org.jbpm.pvm.internal.id.DatabaseDbidGenerator.getNextId(DatabaseDbidGenerator.java:63)<br/>    ... 55 more</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/539133#539133">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>