Topic
  • 5 replies
  • Latest Post - ‏2013-01-04T11:26:01Z by SystemAdmin
SystemAdmin
SystemAdmin
7615 Posts

Pinned topic BPM8 Nullpointer unable to save BO

‏2012-10-05T12:17:57Z |
I guess this is bug in the tool. When trying to save a business object from one of our process apps, BPM 8 Advanced throws this error in the server logs:

05/10/12 13:13:42:261 BST 0000009b wle E CWLLG2229E: An exception occurred in an EJB call. Error: null
java.lang.NullPointerException
at java.io.StringReader.<init>(StringReader.java:44)
at com.lombardisoftware.core.XMLUtilities.stringToDocument(XMLUtilities.java:317)
at com.lombardisoftware.component.coach.persistence.CoachResource.findReportDependencies(CoachResource.java:266)
at com.lombardisoftware.component.coach.persistence.CoachResource.internalFindDependencies(CoachResource.java:231)
at com.lombardisoftware.component.coach.persistence.autogen.CoachAutoGen.internalFindDependencies(CoachAutoGen.java:230)
at com.lombardisoftware.client.persistence.TWProcessItem.internalFindDependencies(TWProcessItem.java:130)
at com.lombardisoftware.client.persistence.autogen.TWProcessAutoGen.internalFindDependencies(TWProcessAutoGen.java:419)
at com.lombardisoftware.client.persistence.autogen.TWProcessAutoGen.getExternalDependencies(TWProcessAutoGen.java:339)
at com.lombardisoftware.server.ejb.persistence.versioning.MutableSnapshotContextImpl.validatePO(MutableSnapshotContextImpl.java:1532)
at com.lombardisoftware.server.ejb.persistence.versioning.MutableSnapshotContextImpl.validateAndUpdateSummary(MutableSnapshotContextImpl.java:1466)
at com.lombardisoftware.server.ejb.persistence.versioning.MutableSnapshotContextImpl.validateSnapshot(MutableSnapshotContextImpl.java:1313)
at com.lombardisoftware.server.ejb.persistence.versioning.BranchManager$2.withWriteAccess(BranchManager.java:314)
at com.lombardisoftware.server.ejb.persistence.versioning.BranchContextImpl.writeAccessWithDBLock(BranchContextImpl.java:762)
at com.lombardisoftware.server.ejb.persistence.versioning.BranchContextImpl.writeAccessInTransaction(BranchContextImpl.java:679)
at com.lombardisoftware.server.ejb.persistence.versioning.BranchContextImpl.access$1200(BranchContextImpl.java:105)
at com.lombardisoftware.server.ejb.persistence.versioning.BranchContextImpl$2.call(BranchContextImpl.java:516)
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.utility.spring.ProgrammaticTransactionSupport.executeWithLongTimeout(ProgrammaticTransactionSupport.java:198)
at com.lombardisoftware.server.ejb.persistence.versioning.BranchContextImpl.writeAccessUnderVMLock(BranchContextImpl.java:512)
at com.lombardisoftware.server.ejb.persistence.versioning.BranchContextImpl.writeAccess(BranchContextImpl.java:310)
at com.lombardisoftware.server.ejb.persistence.versioning.BranchManager.writeAccess(BranchManager.java:333)
at com.lombardisoftware.server.ejb.persistence.versioning.BranchManager.writeAccess(BranchManager.java:252)
at com.lombardisoftware.server.ejb.clientservices.ClientServicesCore.saveLibraryObjects(ClientServicesCore.java:2656)
at com.lombardisoftware.server.ejb.clientservices.ClientServicesCore.saveLibraryObjects(ClientServicesCore.java:2592)
at sun.reflect.GeneratedMethodAccessor378.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.lombardisoftware.utility.spring.TransactionInterceptor$1.call(TransactionInterceptor.java:52)
at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.executeWithNoTransaction(ProgrammaticTransactionSupport.java:548)
at com.lombardisoftware.utility.spring.ProgrammaticTransactionSupport.execute(ProgrammaticTransactionSupport.java:278)
at com.lombardisoftware.utility.spring.TransactionInterceptor.invoke(TransactionInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.lombardisoftware.utility.spring.CoreEntryInterceptor.invoke(CoreEntryInterceptor.java:44)
at com.lombardisoftware.utility.spring.PSCoreEntryInterceptor.invoke(PSCoreEntryInterceptor.java:14)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy47.saveLibraryObjects(Unknown Source)
at com.lombardisoftware.server.ejb.clientservices.ClientServicesBean$61.execute(ClientServicesBean.java:841)
at com.lombardisoftware.server.ejb.clientservices.ClientServicesBean$61.execute(ClientServicesBean.java:839)
at com.lombardisoftware.server.ejb.EjbServerUtils.handleEjbCall(EjbServerUtils.java:90)
at com.lombardisoftware.server.ejb.clientservices.ClientServicesBean.handleEjbCall(ClientServicesBean.java:49)
at com.lombardisoftware.server.ejb.clientservices.ClientServicesBean.saveLibraryObjects(ClientServicesBean.java:839)
at com.lombardisoftware.server.ejb.clientservices.EJSRemoteStatelessClientServices_6be9d082.saveLibraryObjects(Unknown Source)
at com.lombardisoftware.server.ejb.clientservices._EJSRemoteStatelessClientServices_6be9d082_Tie.saveLibraryObjects__CORBA_WStringValue__com_lombardisoftware_client_persistence_common_versioning_VersioningContext__java_util_Collection__boolean__com_lombardisoftware_utility_SerializationDetector(_EJSRemoteStatelessClientServices_6be9d082_Tie.java:1727)
at com.lombardisoftware.server.ejb.clientservices._EJSRemoteStatelessClientServices_6be9d082_Tie._invoke(_EJSRemoteStatelessClientServices_6be9d082_Tie.java:461)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:661)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:515)
at com.ibm.rmi.iiop.ORB.process(ORB.java:517)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1575)
at com.ibm.rmi.iiop.Connection.doRequestWork(Connection.java:2965)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2848)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:64)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1659)
Adding/editing/deleting new objects is not a problem. This error is thrown only when an existing object is tried to be modified.
Updated on 2013-01-04T11:26:01Z at 2013-01-04T11:26:01Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: BPM8 Nullpointer unable to save BO

    ‏2012-12-27T11:38:00Z  
    Hi,

    I have the issue when I try to create the BO in BMP v7.5. I define the name for that BO and once I click Finalize I get the null pointer.

    Did you get any solution for the error?

    Atteched you may see the error log.

    Thanks!
  • kolban
    kolban
    3322 Posts

    Re: BPM8 Nullpointer unable to save BO

    ‏2012-12-27T15:20:06Z  
    Hi,

    I have the issue when I try to create the BO in BMP v7.5. I define the name for that BO and once I click Finalize I get the null pointer.

    Did you get any solution for the error?

    Atteched you may see the error log.

    Thanks!
    Can you take me through the exact steps you performed. Think about providing a description for each step you perform so that someone like me can attempt to reproduce (ewww ... I just read what I wrote ... oh well :-)

    Neil
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: BPM8 Nullpointer unable to save BO

    ‏2012-12-28T11:24:57Z  
    • kolban
    • ‏2012-12-27T15:20:06Z
    Can you take me through the exact steps you performed. Think about providing a description for each step you perform so that someone like me can attempt to reproduce (ewww ... I just read what I wrote ... oh well :-)

    Neil
    Hi Neil,
    thanks for the quick update.

    The step that I do are quite simple. First of all we create a project to start using the IBM product and being familiar with components,...
    In order to create the BO, the steps we follow are:
    1. In the Designer Library, click the plus sign next to Data option, and select Bussines Object.
    2. Name the business object and click Finish.

    That's all, once I click finish, the error appears with the NullPointerException as I attached in my previous reply.

    However, if I try to create any service I do not experiemnt any issue.

    I'm not able to identify the error that is associated with.

    If you should give some clues I would appreciate so much. Let me know if you require futher information.

    Regards,
    David
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: BPM8 Nullpointer unable to save BO

    ‏2013-01-02T20:19:54Z  
    Hi Neil,
    thanks for the quick update.

    The step that I do are quite simple. First of all we create a project to start using the IBM product and being familiar with components,...
    In order to create the BO, the steps we follow are:
    1. In the Designer Library, click the plus sign next to Data option, and select Bussines Object.
    2. Name the business object and click Finish.

    That's all, once I click finish, the error appears with the NullPointerException as I attached in my previous reply.

    However, if I try to create any service I do not experiemnt any issue.

    I'm not able to identify the error that is associated with.

    If you should give some clues I would appreciate so much. Let me know if you require futher information.

    Regards,
    David
    Are you adding any members to the BO? Perhaps this is failing because the developer assumed the presence of at least 1 data element? I only ask becasue you did not mention creation of any members in the BO.

    Andrew Paier | Director of Special Operations | BP3 Global, Inc. www.bp-3.com
  • SystemAdmin
    SystemAdmin
    7615 Posts

    Re: BPM8 Nullpointer unable to save BO

    ‏2013-01-04T11:26:01Z  
    It appeared this is a bug in the coach service implementation.
    You are not allowed to have both heritage and new coaches in the same coach service.