Error executing attached .Net code to BPM

Does anyone give you a feedback on this. Because I have the same
probleme that you.

Thx

--- In vantage@yahoogroups.com, "cusolle" <tcusolle@...> wrote:
>
> What I am trying to do, is to make it so that I can attach a .Net
> process to a BPM. I can actually attach it to the BPM, this error
> occurs when I actually try to get the BPM to activate (calling the
> necessary Business Object Method).
>
> This is essentially the errors that I keep getting with the
> Epicor.Mfg.BO.Part:
>
>
>
> 12:45:23 PM Error 0x8 Worker(0)
> BpmThread|Worker|IController.Process() System.Exception:
> CallParser:Parse(iPos=218): Unable to cast object of
> type 'System.DBNull' to type 'System.String'.
>
> at Bpm.Marshaller.InvokeRequestParser.Parse(Byte[] baBuffer,
> Int32& iPos)
>
> at Bpm.Transport.BpmAlternativeParser.ParseSection(String sName,
> Byte[] baBuffer, Int32& iPos, Int32 iLength)
>
> at Bpm.Transport.BpmSectionParser.parseBlock(Byte[] baBuffer,
> Int32& iPos, Int32 iLength)
>
> at Bpm.Transport.BlockParser.Parse(Byte[] baBuffer, Int32& iPos)
>
> at Bpm.Transport.BpmPacketParser.Parse(IBpmPacket packet)
>
> at Bpm.Marshaller.Controller.process(IBpmPacket packet,
> IBpmPacket& respPack)
>
> at Bpm.Marshaller.Controller.Process(IBpmPacket request,
> IBpmPacket& response)
>
> 12:45:23 PM Verbose 0x8 Worker(0)
> BpmThread|Worker.execRequest() (BpmTcpIpProtocol): Sent:
> BpmPacket(Exception("CallParser:Parse(iPos=218): Unable to cast
> object of type 'System.DBNull' to type 'System.String'."))
>
> 12:45:23 PM Verbose 0x8 Worker(0)
> BpmThread|Worker.execRequest() (BpmTcpIpProtocol):
>
>
>
> I have also gotten the below error, but not as often:
>
>
>
> 2:25:39 PM Verbose 0x8 Worker(0)
> BpmThread|Worker|IController.Process() received AsyncInvokeRequest
> (ASYNC_INVOKE)
>
> 2:25:39 PM Verbose 0x8 Worker(0)
> BpmThread|Worker|IController.Process() (MessagingProtocol):
> NullReferenceException
>
> 2:25:39 PM Error 0x8 Worker(0)
> BpmThread|Worker|IController.Process()
System.NullReferenceException:
> Object reference not set to an instance of an object.
>
> at Bpm.Transport.MessagingProtocol.splitAndSend(MemoryStream
> stream, BpmMessagingState ms)
>
> at Bpm.Transport.MessagingProtocol.Send(IBpmConnectionState
State,
> MemoryStream stream)
>
> at Bpm.Transport.BpmConnection.send(IBpmPacket packet)
>
> at Bpm.Transport.BpmConnection.Send(IBpmPacket packet)
>
> at Bpm.Marshaller.AsyncInvokeCommand.Execute()
>
> at Bpm.Marshaller.Controller.process(IBpmPacket packet,
> IBpmPacket& respPack)
>
> at Bpm.Marshaller.Controller.Process(IBpmPacket request,
> IBpmPacket& response)
>
>
>
> Does anyone have any ideas?
>
What I am trying to do, is to make it so that I can attach a .Net
process to a BPM. I can actually attach it to the BPM, this error
occurs when I actually try to get the BPM to activate (calling the
necessary Business Object Method).

This is essentially the errors that I keep getting with the
Epicor.Mfg.BO.Part:



12:45:23 PM Error 0x8 Worker(0)
BpmThread|Worker|IController.Process() System.Exception:
CallParser:Parse(iPos=218): Unable to cast object of
type 'System.DBNull' to type 'System.String'.

at Bpm.Marshaller.InvokeRequestParser.Parse(Byte[] baBuffer,
Int32& iPos)

at Bpm.Transport.BpmAlternativeParser.ParseSection(String sName,
Byte[] baBuffer, Int32& iPos, Int32 iLength)

at Bpm.Transport.BpmSectionParser.parseBlock(Byte[] baBuffer,
Int32& iPos, Int32 iLength)

at Bpm.Transport.BlockParser.Parse(Byte[] baBuffer, Int32& iPos)

at Bpm.Transport.BpmPacketParser.Parse(IBpmPacket packet)

at Bpm.Marshaller.Controller.process(IBpmPacket packet,
IBpmPacket& respPack)

at Bpm.Marshaller.Controller.Process(IBpmPacket request,
IBpmPacket& response)

12:45:23 PM Verbose 0x8 Worker(0)
BpmThread|Worker.execRequest() (BpmTcpIpProtocol): Sent:
BpmPacket(Exception("CallParser:Parse(iPos=218): Unable to cast
object of type 'System.DBNull' to type 'System.String'."))

12:45:23 PM Verbose 0x8 Worker(0)
BpmThread|Worker.execRequest() (BpmTcpIpProtocol):



I have also gotten the below error, but not as often:



2:25:39 PM Verbose 0x8 Worker(0)
BpmThread|Worker|IController.Process() received AsyncInvokeRequest
(ASYNC_INVOKE)

2:25:39 PM Verbose 0x8 Worker(0)
BpmThread|Worker|IController.Process() (MessagingProtocol):
NullReferenceException

2:25:39 PM Error 0x8 Worker(0)
BpmThread|Worker|IController.Process() System.NullReferenceException:
Object reference not set to an instance of an object.

at Bpm.Transport.MessagingProtocol.splitAndSend(MemoryStream
stream, BpmMessagingState ms)

at Bpm.Transport.MessagingProtocol.Send(IBpmConnectionState State,
MemoryStream stream)

at Bpm.Transport.BpmConnection.send(IBpmPacket packet)

at Bpm.Transport.BpmConnection.Send(IBpmPacket packet)

at Bpm.Marshaller.AsyncInvokeCommand.Execute()

at Bpm.Marshaller.Controller.process(IBpmPacket packet,
IBpmPacket& respPack)

at Bpm.Marshaller.Controller.Process(IBpmPacket request,
IBpmPacket& response)



Does anyone have any ideas?