Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
CJ0X_Paul_Reed
CJ0X_Paul_Reed
40 Posts
ACCEPTED ANSWER

Pinned topic Property entityClass in class * is not declared

‏2012-12-06T19:47:01Z |
I am seeing this error when trying to deploy a process app, which then fails. The message references a data object that is part of the application, but there has never been a property called "entityClass", and none of my code references it, so I am assuming this is some internal thing BPM is using to manage data objects. The full error is shown below, any idea what causes this?

12/6/12 10:07:22:103 AKST 000003d7 wle E CWLLG2015E: An unexpected runtime exception occurred. See exception for more details. Error: com.lombardisoftware.core.TeamWorksException: Property entityClass in class CaseInfo is not declared. It must be declared to be used..
com.lombardisoftware.core.TeamWorksRuntimeException: com.lombardisoftware.core.TeamWorksException: Property entityClass in class CaseInfo is not declared. It must be declared to be used.
at com.lombardisoftware.core.TeamWorksRuntimeException.asTeamWorksRuntimeException(TeamWorksRuntimeException.java:65)
at com.lombardisoftware.core.TWObject.getPropertyValue(TWObject.java:563)
at com.lombardisoftware.core.script.js.TWObjectScriptable.get(TWObjectScriptable.java:272)
at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1617)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1437)
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1423)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3027)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3070)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
at com.lombardisoftware.core.script.js.JSScript.exec(JSScript.java:60)
at com.lombardisoftware.core.script.js.JavaScriptRunner$2.execute(JavaScriptRunner.java:257)
at com.lombardisoftware.core.script.js.PreparedScope.executeWithScope(PreparedScope.java:205)
at com.lombardisoftware.core.script.js.JavaScriptRunner.execute(JavaScriptRunner.java:255)
at com.lombardisoftware.core.script.js.JavaScriptRunner.evalExpression(JavaScriptRunner.java:372)
at com.lombardisoftware.core.script.js.JavaScriptRunner.evalExpressionSilently(JavaScriptRunner.java:365)
at com.lombardisoftware.bpd.runtime.engine.BPDExecutionTreeNode.evaluateExpression(BPDExecutionTreeNode.java:678)
at com.lombardisoftware.bpd.runtime.engine.BPDExecutionTreeNode.evaluateExpressionSilently(BPDExecutionTreeNode.java:655)
at com.lombardisoftware.bpd.runtime.engine.AbstractWorkerContext.evaluateExpressionSilently(AbstractWorkerContext.java:47)
at com.lombardisoftware.bpd.runtime.engine.FlowObjectExecutionTreeNode.addAutoTrackedValues(FlowObjectExecutionTreeNode.java:1019)
at com.lombardisoftware.bpd.runtime.engine.FlowObjectExecutionTreeNode.trackData(FlowObjectExecutionTreeNode.java:873)
at com.lombardisoftware.bpd.runtime.engine.FlowObjectExecutionTreeNode.doWork(FlowObjectExecutionTreeNode.java:351)
at com.lombardisoftware.bpd.runtime.engine.BPDEngine.executeTreeNode(BPDEngine.java:280)
at com.lombardisoftware.bpd.runtime.engine.BPDEngine.resume(BPDEngine.java:142)
at com.lombardisoftware.bpd.runtime.engine.message.BPDMessageRecievedNotification.applyToEngine(BPDMessageRecievedNotification.java:71)
at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractNotificationBpdTask.doWithLock(AbstractNotificationBpdTask.java:54)
at com.lombardisoftware.bpd.runtime.engine.quartz.DbNotificationBpdTask.doWithLock(DbNotificationBpdTask.java:47)
at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask$1.doExecuteDuringLock(AbstractBpdTask.java:92)
at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask$1.doExecuteDuringLock(AbstractBpdTask.java:82)
at com.lombardisoftware.bpd.runtime.engine.util.LockBPDInstanceCommand$1.doInTransaction(LockBPDInstanceCommand.java:62)
at com.lombardisoftware.server.core.TXCommand$2.call(TXCommand.java:79)
at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.executeInExistingTransaction(ProgrammaticTransactionSupport.java:556)
at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.execute(ProgrammaticTransactionSupport.java:286)
at com.lombardisoftware.server.core.TXCommand.executeInDeadlockRetryLoop(TXCommand.java:77)
at com.lombardisoftware.bpd.runtime.engine.util.LockBPDInstanceCommand.execute(LockBPDInstanceCommand.java:74)
at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask$2.doInTransaction(AbstractBpdTask.java:105)
at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask$2.doInTransaction(AbstractBpdTask.java:101)
at com.lombardisoftware.server.core.TXCommand$1.call(TXCommand.java:71)
at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport$1.doInTransaction(ProgrammaticTransactionSupport.java:392)
at org.springframework.transaction.jta.WebSphereUowTransactionManager$UOWActionAdapter.run(WebSphereUowTransactionManager.java:306)
at com.ibm.ws.uow.EmbeddableUOWManagerImpl.runUnderNewUOW(EmbeddableUOWManagerImpl.java:786)
at com.ibm.ws.uow.EmbeddableUOWManagerImpl.runUnderUOW(EmbeddableUOWManagerImpl.java:365)
at org.springframework.transaction.jta.WebSphereUowTransactionManager.execute(WebSphereUowTransactionManager.java:252)
at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.executeInNewTransaction(ProgrammaticTransactionSupport.java:387)
at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.execute(ProgrammaticTransactionSupport.java:257)
at com.lombardisoftware.server.core.TXCommand.execute(TXCommand.java:69)
at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask.execute(AbstractBpdTask.java:101)
at com.lombardisoftware.bpd.runtime.engine.quartz.AbstractBpdTask.execute(AbstractBpdTask.java:59)
at com.lombardisoftware.server.scheduler.Engine.execute(Engine.java:746)
at com.lombardisoftware.server.scheduler.Engine.access$300(Engine.java:72)
at com.lombardisoftware.server.scheduler.Engine$1.run(Engine.java:468)
at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$2$1.run(WebsphereDelegateHelper.java:78)
at java.security.AccessController.doPrivileged(AccessController.java:288)
at javax.security.auth.Subject.doAs(Subject.java:573)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:195)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:152)
at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper.doAs(WebsphereDelegateHelper.java:150)
at com.lombardisoftware.client.delegate.common.WebsphereDelegateHelper$2.run(WebsphereDelegateHelper.java:74)
at com.lombardisoftware.server.scheduler.Utils$EJBThreadRootRunnable.executeRunnable(Utils.java:113)
at com.lombardisoftware.server.scheduler.ThreadPool$Worker.run(ThreadPool.java:130)
at java.lang.Thread.run(Thread.java:769)
Caused by: com.lombardisoftware.core.TeamWorksException: Property entityClass in class CaseInfo is not declared. It must be declared to be used.
at com.lombardisoftware.core.TWObject.assertPropertyExists(TWObject.java:722)
at com.lombardisoftware.core.TWObject.checkPropertyName(TWObject.java:710)
at com.lombardisoftware.core.TWObject.getPropertyValue(TWObject.java:560)
... 61 more