XLang error when I deploy the DLL to staging server

Home Page Forums BizTalk 2004 – BizTalk 2010 XLang error when I deploy the DLL to staging server

Viewing 3 reply threads
  • Author
    Posts
    • #21706

      Hi All,

      I build the DLL of my biztalk project in .net 2003. I have the xsd file, maps in the project.

      Map consists of simple scripting functiod. I build the DLL and deployed to staging server.   From customer to my application, mapping/transformation/transaction works fine.

      When my application sends the data to Customer, I get the below Xlang error in Biztalk console (Hyper HAT).

      System.NullReferenceException: Object Reference not set to an instance of an object. at Microsoft.XLANGs.Core.Service.ApplyTransformType mapref….

      If I build the DLL form other system, (Whcih has the same configuration of mine), I do not get Xlang error.

      Do you have any idea why the DLL from my system throw this error in staging server.

      Thanks
      Kiran

       

    • #21717

      And Event Viewer showed following error. I have no clue whats going on.

      Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘HP.Image.CaseExchange.Orchestrations.CaseExchProcess(9c43873e-95ff-80fc-0e99-6e21841bf35b)’.
      The service instance will remain suspended until administratively terminated.
      InstanceId: 1be75a8c-e483-41b9-bf6e-f4e809ddba9b
      ShapeId: 6e6e8eea-e77c-4b50-9032-5b73e7e04751
      Exception thrown from: segment 1, progress 101
      Inner exception: Object reference not set to an instance of an object.
             
      Exception type: NullReferenceException
      Source: Microsoft.XLANGs.Engine
      Target Site: Void ApplyTransform(System.Type, System.Object[], System.Object[])
      Help Link:
      The following is a stack trace that identifies the location where the exception occured

         at Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
         at HP.Image.CaseExchange.Orchestrations.CaseExchProcess.segment1(StopConditions stopOn)
         at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
      Additional error information:

             

      For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

       

    • #25444

      I got the same issue, can u  please help with ur solution?

       

      Hi,

      My Biztalk application works fine in development environment  which is XP & biztalk 2009. Later when i deployed on to production windows server 08. The following issue was popped up.

      Orchestration debugger implies that orchestration is able to pick the message & is able to apply the mapping(Consutruct Shape) but its not able to reach the next send shape which is calling a wcf service on another machine.

      I tested by placing an expression shape in between mapping & wcf initiating send shape (construct shape & send shape) then it is failing at the expresson shape not able to reach the send shape again.

      i.e it is not able to reach the send shape of wcf call initiator.

      Any help will be appreciated, I am literally stuck at this point.

       

       

      xlang/s engine event log entry: Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘Hway.MARS.BizTalk.StagingL.BizTalk_Orchestration1(237a7d06-5b77-a5f5-451f-8dfae7257582)’.
      The service instance will remain suspended until administratively resumed or terminated.
      If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
      InstanceId: fdf99b66-2f5d-418e-a4d5-2be1de75e596
      Shape name: Expression_SysExcep_EventLog
      ShapeId: 05318529-ea72-4eac-ad67-2eb70b70739c
      Exception thrown from: segment 8, progress 3
      Inner exception: Object reference not set to an instance of an object.
             
      Exception type: NullReferenceException
      Source: Hway.MARS.BizTalk.StgListener
      Target Site: Microsoft.XLANGs.Core.StopConditions segment8(Microsoft.XLANGs.Core.StopConditions)
      The following is a stack trace that identifies the location where the exception occured

         at Hway.MARS.BizTalk.StagingL.BizTalk_Orchestration1.segment8(StopConditions stopOn)
         at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

      Thanks

       

    • #25450

      Hi,

      You use scripting functoid which calls external assembly? Is that correct? And after mapping your orchastration fails? With “null reference”?

      Are you sure that your map works? This error looks like your map doen’s work, and when you try to send the message – it is actually null, you get the error.

      Is that DLL in GAC? After install – did you restrat host instance?

      • #25466

        I think I figured out to have work around.

        GAC is in assembly; restart of host has already been done.
        Local testing of maps works fine and same code build from other systems also works fine. It seems that the issue on softwares installed in my machine.

        I infact build the virtual PC with WIndows XP, .net 2003, Biztalk 2004, SQL Server 2000. After all these installation in Virtual PC, I build the code. Deployed into our staging environment and it works fine without any XLANG error.

        Strange..I did not know the root cause but using virtual PC worked;

        • #25467

          Sorry..I did not logged in and poste the message. It appeared as Anonym.
          I logged in and here is the updated message.

          think I figured out to have work around.

          GAC is in assembly; restart of host has already been done.
          Local testing of maps works fine and same code build from other systems also works fine. It seems that the issue on softwares installed in my machine.

          I infact build the virtual PC with WIndows XP, .net 2003, Biztalk 2004, SQL Server 2000. After all these installation in Virtual PC, I build the code. Deployed into our staging environment and it works fine without any XLANG error.

          Strange..I did not know the root cause but using virtual PC worked; Sometimes better to have workaround rather than finding the root cause.

           

          • #25468

            It happens – sometimes some reference is not updated properly. You know, BizTalk stuff 😉

            I work sometimes at home on VPC – it works regulary, with no problems as it was real PC.

Viewing 3 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.